[alsa-devel] [PATCH 0/4] ASoC: adau17x1: Minor fixes and DT support
Andreas Irestål
andreas.irestal at axis.com
Tue Feb 2 15:31:46 CET 2016
This set of patches fixes some minor typos and adds DT support for the
adau17x1 codec drivers. I've only been able to test the 1761 part on
real hardware since I don't have any adau1781 hardware at the moment.
Currently, quite a lot of options are provided through the platform_data
struct, so it made sense parsing the DT and create a platform_data struct
from these parameters not to break anything. I've peeked at a few other
drivers and the TI tlv320aic31xx driver works this way as well.
Andreas Irestål (4):
ASoC: adau17x1: Fix incorrect BCLK ratio definitions
ASoc: adau17x1: Correct typos in file headers
ASoC: adau17x1: Add basic DT support for adau17x1
ASoC: adau17x1: Add option to provide platform data via DT
.../devicetree/bindings/sound/adi,adau17x1.txt | 54 +++++++++
include/dt-bindings/sound/adau17x1.h | 14 +++
include/linux/platform_data/adau17x1.h | 2 +-
sound/soc/codecs/adau1761-i2c.c | 14 ++-
sound/soc/codecs/adau1761-spi.c | 14 ++-
sound/soc/codecs/adau1761.c | 133 ++++++++++++++++++++-
sound/soc/codecs/adau1781-i2c.c | 10 ++
sound/soc/codecs/adau1781-spi.c | 10 ++
sound/soc/codecs/adau1781.c | 59 ++++++++-
sound/soc/codecs/adau17x1.h | 6 +-
10 files changed, 308 insertions(+), 8 deletions(-)
create mode 100644 Documentation/devicetree/bindings/sound/adi,adau17x1.txt
create mode 100644 include/dt-bindings/sound/adau17x1.h
--
2.1.4
More information about the Alsa-devel
mailing list