OMAPDSS: hdmi: Make hdmi structure public

Unify the private anonymous struct in hdmi4.c and hdmi5.c, name it as
struct omap_hdmi, and make it public in hdmi.h.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
OMAPDSS: hdmi: Add exported functions for storing HDMI audio data

Implements omapdss_hdmi_get_audio_data() and omapdss_hdmi_set_audio_data()
for storing HDMI audio data in OMAPDSS HDMI drvdata.

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>