drm/i915: setup bridge for HDMI LPE audio driver
authorJerome Anand <jerome.anand@intel.com>
Tue, 24 Jan 2017 22:57:49 +0000 (04:27 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 25 Jan 2017 13:21:47 +0000 (14:21 +0100)
commiteef57324d926f0d8c7a40069e7d26e0cb0651b47
tree54615ed9cef9d7eeb4be6c42733bf926189236ef
parent7a308bb3016f57e5be11a677d15b821536419d36
drm/i915: setup bridge for HDMI LPE audio driver

Enable support for HDMI LPE audio mode on Baytrail and
Cherrytrail when HDaudio controller is not detected

Setup minimum required resources during i915_driver_load:
1. Create a platform device to share MMIO/IRQ resources
2. Make the platform device child of i915 device for runtime PM.
3. Create IRQ chip to forward HDMI LPE audio irqs.

HDMI LPE audio driver (a standalone sound driver) probes the
LPE audio device and creates a new sound card.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Jerome Anand <jerome.anand@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/gpu/i915.rst
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_audio.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_lpe_audio.c [new file with mode: 0644]
include/drm/intel_lpe_audio.h [new file with mode: 0644]