devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/4] Add support for es8388 and hdmi audio on the rock2
@ 2017-01-31 14:55 Romain Perier
  2017-01-31 14:55 ` [PATCH v7 1/4] ASoC: es8328: Add support for slave mode Romain Perier
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Romain Perier @ 2017-01-31 14:55 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	alsa-devel, Heiko Stuebner
  Cc: Mark Rutland, devicetree, Pawel Moll, Ian Campbell,
	linux-rockchip, Sjoerd Simons, Rob Herring, Kumar Gala,
	Romain Perier

This set of patches adds a machine driver for rk3288-based boards that have
the built-in HDMI audio and a generic analog output. It also adds slave mode
to the es8328 driver that currently only supported the master mode. Then, it
adds the required DT definitions to link rockchip-i2s to the es8388 analog
output and to hdmi audio.

This work is based on the initial work that was done by Sjoerd Simons
<sjoerd.simons@collabora.co.uk> with some improvements, changes and more
commits.

Changes in v7:
 - Added patch 2/4
 - No longer select ES8328_I2C for RK3288_HDMI_ANALOG
 - Fixed DT regulator names in the DT for the Rock2
 - Splitted pins for the headphone in the DT for the Rock2
Changes in v6:
 - Fixed bad error handling for gpio in rk3288_analog_hdmi.c
 - Removed message duplication in rk_hw_params(), in rk3288_analog_hdmi.c
 - Removed patch 1/4 (from the previous series), as it has been merged
Changes in v5:
 - Fixed coding style issue in patch 2/4 (the switch case).
 - Moved the code for the master mode and the slave mode into the switch case for patch 2/4
 - Fixed error handling for patch 3/4
Changes in v4:
 - Add support for multi codecs in the asoc machine driver, so the driver
   matches the hw architecture (analog and hdmi audio are connected on
   the same i2s line)
 - Renamed the driver to rk3288-hdmi-analog.c and changed its
   documentation
 - Add built-in support for hdmi audio in this driver
 - Add support for the property 'rockchip,routing'

Changes in v3:
 - Cosmetic changes in rockchip_es8388.c
 - Added missing email to MODULE_AUTHOR in rockchip_es8388.c
Changes in v2:
 - Fixed wrong use of the data structure i2c_device_id
 - Fixed wrong dependencies for SND_SOC_ROCKCHIP_ES8388

Romain Perier (4):
  ASoC: es8328: Add support for slave mode
  ASoC: Allow to select ES8328_I2C and ES8328_SPI directly
  ASoC: rockchip: Add machine driver for RK3288 boards that use
    analog/HDMI
  arm: dts: Add support for ES8388 to the Radxa Rock 2

 .../bindings/sound/rockchip,rk3288-hdmi-analog.txt |  36 +++
 arch/arm/boot/dts/rk3288-rock2-som.dtsi            |   2 +-
 arch/arm/boot/dts/rk3288-rock2-square.dts          |  42 +++
 sound/soc/codecs/Kconfig                           |   8 +-
 sound/soc/codecs/es8328.c                          |  20 +-
 sound/soc/rockchip/Kconfig                         |   9 +
 sound/soc/rockchip/Makefile                        |   2 +
 sound/soc/rockchip/rk3288_hdmi_analog.c            | 299 +++++++++++++++++++++
 8 files changed, 407 insertions(+), 11 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/rockchip,rk3288-hdmi-analog.txt
 create mode 100644 sound/soc/rockchip/rk3288_hdmi_analog.c

-- 
2.9.3

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-02-04 12:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-31 14:55 [PATCH v7 0/4] Add support for es8388 and hdmi audio on the rock2 Romain Perier
2017-01-31 14:55 ` [PATCH v7 1/4] ASoC: es8328: Add support for slave mode Romain Perier
2017-01-31 14:55 ` [PATCH v7 2/4] ASoC: Allow to select ES8328_I2C and ES8328_SPI directly Romain Perier
2017-01-31 18:28   ` kbuild test robot
2017-01-31 14:55 ` [PATCH v7 3/4] ASoC: rockchip: Add machine driver for RK3288 boards that use analog/HDMI Romain Perier
     [not found]   ` <20170131145526.26808-4-romain.perier-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2017-02-04 12:18     ` Applied "ASoC: rockchip: Add machine driver for RK3288 boards that use analog/HDMI" to the asoc tree Mark Brown
2017-01-31 14:55 ` [PATCH v7 4/4] arm: dts: Add support for ES8388 to the Radxa Rock 2 Romain Perier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).