OMAPDSS: hdmi_wp: Add function for getting audio dma address

The audio dma port is found in the hdmi_wp physical address space.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
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 pdev pointer for audio_pdev in HDMI DRV data

This is used to store omap-hdmi-audio pdev for unregistering it.

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

The platform device should only be registered from OMAPDSS HDMI
driver. The platform driver registers and unregisters all ASoC
components needed for OMAP HDMI audio.

The hdmi audio driver implements cpu-dai component using the callbacks
provided by OMAPDSS and registers the component under DSS HDMI
device. Omap-pcm is registered for platform component also under DSS
HDMI device. Dummy codec is used as as codec component. The hdmi audio
driver implements also the card and registers it under its own
platform device.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
OMAPDSS: Kconfig: Remove HDMI audio booleans from Kconfig

The booleans are not used anymore. Just select SND_OMAP_SOC_HDMI_AUDIO
to enable OMAP HDMI audio support.

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>
OMAPDSS: hdmi.h: Add members to hdmi drvdata for audio implementation

Adds display_enabled flag and audio_abort_cb callback to struct hdmi.

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

Removes the OMAP4 HDMI audio callbacks for the old external DAI driver.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
OMAPDSS: hdmi4: Register ASoC platform device for omap hdmi audio

Implements callbacks for OMAP HDMI audio platform driver and registers
it in probe function. Unregistering is done in remove function.

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

Removes the OMAP5 HDMI audio callbacks for the old external DAI driver.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
OMAPDSS: hdmi5: Register ASoC platform device for omap hdmi audio

Implements callbacks for OMAP HDMI audio platform driver and registers
it in probe function. Unregistering is done in remove function.

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>
Acked-by: Peter Ujfalusi <peter.ujfalusi@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>
OMAPDSS: hdmi5: Change hdmi_wp idlemode to to no_idle for audio playback

Signed-off-by: Jyri Sarha <jsarha@ti.com>
ARM: omap2plus_defconfig: Build DRM with DSS HDMI support for OMAP4 in kernel

This patch is here only as an example on how to enable HDMI video and
audio for Panda board. After the late DSS changes it is not possible
to get HDMI audio working without DRM.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
ARM: omap2plus_defconfig: Enable OMAP HDMI audio support

This patch is here only as an example on how to enable HDMI audio for
OMAP family SoCs. Adds CONFIG_SND_OMAP_SOC_HDMI_AUDIO=m.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
ARM: omap2plus_defconfig: Enable OMAP5 HDMI support

This patch is here only as an example on how to enable HDMI video (and
audio if SND_OMAP_SOC_HDMI_AUDIO is selected) for OMAP5 uEVM. Adds
CONFIG_GPIO_PCA953X=y and CONFIG_OMAP5_DSS_HDMI=y.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
omap2plus_defconfig: Enable USB ethernet at boot

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