mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
53c515befe
This patch adds support to Audio for both adv7511 and adv7533 bridge chips. This patch was originally from [1] by Lars-Peter Clausen <lars@metafoo.de> and was adapted by Archit Taneja <architt@codeaurora.org> and Srinivas Kandagatla <srinivas.kandagatla@linaro.org>. Then I heavily reworked it to use the hdmi-codec driver. And also folded in some audio packet initialization done by Andy Green <andy.green@linaro.org>. So credit to them, but blame to me. [1] https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/drivers/gpu/drm/i2c/adv7511_audio.c Cc: David Airlie <airlied@linux.ie> Cc: Archit Taneja <architt@codeaurora.org> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Wolfram Sang <wsa+renesas@sang-engineering.com> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: "Ville Syrjälä" <ville.syrjala@linux.intel.com> Cc: Boris Brezillon <boris.brezillon@free-electrons.com> Cc: Andy Green <andy@warmcat.com> Cc: Dave Long <dave.long@linaro.org> Cc: Guodong Xu <guodong.xu@linaro.org> Cc: Zhangfei Gao <zhangfei.gao@linaro.org> Cc: Mark Brown <broonie@kernel.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Jose Abreu <joabreu@synopsys.com> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Cc: dri-devel@lists.freedesktop.org Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Archit Taneja <architt@codeaurora.org> Link: http://patchwork.freedesktop.org/patch/msgid/1480382552-28219-2-git-send-email-john.stultz@linaro.org
24 lines
603 B
Plaintext
24 lines
603 B
Plaintext
config DRM_I2C_ADV7511
|
|
tristate "AV7511 encoder"
|
|
depends on OF
|
|
select DRM_KMS_HELPER
|
|
select REGMAP_I2C
|
|
help
|
|
Support for the Analog Device ADV7511(W) and ADV7513 HDMI encoders.
|
|
|
|
config DRM_I2C_ADV7511_AUDIO
|
|
bool "ADV7511 HDMI Audio driver"
|
|
depends on DRM_I2C_ADV7511 && SND_SOC
|
|
select SND_SOC_HDMI_CODEC
|
|
help
|
|
Support the ADV7511 HDMI Audio interface. This is used in
|
|
conjunction with the AV7511 HDMI driver.
|
|
|
|
config DRM_I2C_ADV7533
|
|
bool "ADV7533 encoder"
|
|
depends on DRM_I2C_ADV7511
|
|
select DRM_MIPI_DSI
|
|
default y
|
|
help
|
|
Support for the Analog Devices ADV7533 DSI to HDMI encoder.
|