OMAPDSS: hdmi: Add header file for means to store audio data to HDMI drvdata

The header file defines a header part to HDMI drvdata struct and inlined
functions to get and set audio data pointer in that struct.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
OMAPDSS: hdmi: Make hdmi_mode_has_audio() more user friedly

Signed-off-by: Jyri Sarha <jsarha@ti.com>
ASoC: omap-hdmi-audio: Add OMAP HDMI audio support library

The library exports omap_hdmi_audio_register() and
omap_hdmi_audio_unregister() functions. With the functions OMAPDSS HDMI
implementation registers and unregisters all ASoC components needed
for OMAP HDMI audio.

The library implements cpu-dai component using the callbacks provided
by OMAPDSS. Omap-pcm is registered for platform component, dummy
hdmi-audio-codec is registered for codec component, and
asoc-simple-card is registered for machine driver.

Work around missing devm_kstrdup for 3.14LTS.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
OMAPDSS: Kconfig: Implement options for OMAP4 and OMAP5 HDMI audio support

Selecting OMAP4_DSS_HDMI_AUDIO or OMAP5_DSS_HDMI_AUDIO option causes
OMAP2_DSS to select SND_OMAP_SOC_HDMI_AUDIO and SND_OMAP_SOC.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
OMAPDSS: hdmi4: Register HDMI audio with omap_hdmi_audio_register()

Implements callbacks for OMAP HDMI audio library and registers
HDMI audio support with omap_hdmi_audio_register()-call.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
OMAPDSS: hdmi5: Register HDMI audio with omap_hdmi_audio_register()

Implements callbacks for OMAP HDMI audio library and registers
HDMI audio support with omap_hdmi_audio_register()-call.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
ASoC: omap: Remove obsolete HDMI audio code and Kconfig options

Removes omap-hdmi DAI driver, omap-hdmi-card driver, the related
Kconfig options, and Makefile entries. The HDMI DAI drivers has been
integrated directly to OMAP4+ HDMI drivers and simple-card driver is
used instead of omap-hdmi-card driver.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
OMAPDSS: hdmi4: Remove callbacks for an external ASoC DAI driver

Removes the OMAP4 HDMI audio callbacks for an external audio driver and
the old external DAI driver does not work anymore after this patch.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
OMAPDSS: hdmi5: Remove callbacks for an external ASoC DAI driver

Removes the OMAP5 HDMI audio callbacks for an external audio driver and
the old external DAI driver does not work anymore after this patch.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
OMAPDSS: Remove all references to obsolete HDMI audio callbacks

In new model these callbacks are obsolete since the ASoC component
drivers are integrated into the HDMI drivers and no callbacks are
needed anymore.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
am437x-gp-evm-hdmi.dts: Name HDMI audio device as HDMI

Signed-off-by: Jyri Sarha <jsarha@ti.com>
am43x-epos-evm-hdmi.dts: Fix audio definitions and name HDMI audio device

Adds missing dt-bindings/sound/sii9022-audio.h include, a label and
audio card as "HDMI".

Signed-off-by: Jyri Sarha <jsarha@ti.com>
OMAPDSS: sii9022-audio: Add .sig_bits = 24 snd_soc_dai_driver struct.

HDMI supports samples only upto 24bit even if you can push 32 bits
over I2S.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
ASoC: codecs/hdmi: Add .sig_bits = 24 snd_soc_dai_driver struct.

HDMI supports samples only upto 24 bit even if you can push 32 bits
over I2S.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
am437x-gp-evm-hdmi.dts: SQUASH

Signed-off-by: Jyri Sarha <jsarha@ti.com>
am43x-epos-evm-hdmi.dts: SQUASH

Signed-off-by: Jyri Sarha <jsarha@ti.com>