ALSA: core: Add module param array to exclude card slots from automatic assignment

Via slots_reserved module param array one can specify which card slots
should not be considered when assigning card slots automatically.
These reserved slots can only be taken if a card driver specifically
requests the slot via snd_card_create().

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
ASoC: core: Pass card index through dt alias

Pass a card id hint through the device-tree alias in order to
provide preferred card order othen than probe() order.

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
ASoC: simple-card: Pass a card id hint for non-dt case

The card id hint for the DT case is covered by ASoC core, so
id hint for the non-DT case has to be explicitly handled by
the simple card driver.

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
ASoC: omap-hdmi-audio: Use HDMI HW IP alias for the card

The HDMI sound uses a simple card created programatically, so
the preferred card id cannot be passed through an alias via DT.
The card id hint is taken from the HDMI HW IP's alias instead,
which does have a DT entry.

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
ARM: DTS: dra7-evm: Add aliases for sound cards

The McASP-based sound card is the primary card in the system
so the preferred card id for it is 0. The HDMI was being probed
earlier and was getting assigned the index 0.

Add aliases for the sound cards:
0 - analog audio via McASP <-> tlv320aic3106
1 - HDMI audio

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
ARM: DTS: dra72-evm: Add aliases for sound cards

The McASP-based sound card is the primary card in the system
so the preferred card id for it is 0. The HDMI was being probed
earlier and was getting assigned the index 0.

Add aliases for the sound cards:
0 - analog audio via McASP <-> tlv320aic3106
1 - HDMI audio

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
ARM: dts: DRA7: Fix a McASP3 property name typo

Fix a typo in the "interrupt-names" property.

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
ARM: dts: dra7-evm-lcd10: Set audio codec i2c address

The i2c address of the 10" LCD panel is 0x18 in the bus 1.
This causes a conflict with the audio codec.

In the DRA7 EVM Rev. G, the address of the audio codec can
be changed to 0x19 via a DIP switch (SW8).

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Merge branch 'audio-display-ti-linux-3.14.y' of git://git.ti.com/~darrene/ti-linux-kernel/audio-display-linux-feature-tree into ti-linux-3.14.y

TI-Feature: audio-display
TI-Tree: git://git.ti.com/~darrene/ti-linux-kernel/audio-display-linux-feature-tree.git
TI-Branch: audio-display-ti-linux-3.14.y

* 'audio-display-ti-linux-3.14.y' of git://git.ti.com/~darrene/ti-linux-kernel/audio-display-linux-feature-tree:
  ARM: dts: dra7-evm-lcd10: Set audio codec i2c address
  ARM: dts: DRA7: Fix a McASP3 property name typo
  ARM: DTS: dra72-evm: Add aliases for sound cards
  ARM: DTS: dra7-evm: Add aliases for sound cards
  ASoC: omap-hdmi-audio: Use HDMI HW IP alias for the card
  ASoC: simple-card: Pass a card id hint for non-dt case
  ASoC: core: Pass card index through dt alias
  ALSA: core: Add module param array to exclude card slots from automatic assignment

Signed-off-by: Dan Murphy <DMurphy@ti.com>