[alsa-devel] [PATCH 00/10] ASoC: sta32x: Add device tree binding

Thomas Niederprüm niederp at physik.uni-kl.de
Thu Jan 22 00:01:52 CET 2015


This patchset is the result of comparing the sta32x driver with the sta350
driver with the goal to make the sta32x driver device tree capable. In the
merging process the coding style of the sta350 driver was adopted since it
seemed more up to date. I did my best to break up the changes in logical
chunks. Additionally some small fixes were added.

The comparison with the sta350 lead to the following changes:
- Switch to direct usage of the regmap API
- Use the kernel gpio framework to control the reset pin of the sta32x
- adopt calculation of mlck divider and extrapolation ratio from sta350
- add device tree bindings
- Change the Codecs DAI name to be coherent with the sta350 driver

Moreover some minor fixes were added:
- Add the status register
- Fix bit shift value for the IDE bit in the CONFF register
- Add description for the driver and I2C dependency in Kconfig


Thomas Niederprüm (10):
  ASoC: sta32x: Convert to direct regmap API usage.
  ASoC: sta32x: make sta32x a gpio consumer for the reset GPIO
  ASoC: sta32x: use DECLARE_TLV_DB_RANGE macro.
  ASoC: sta32x: add status register.
  ASoC: sta32x: move code to calculate mclk divider and extrapolation
    ratio to sta32x_hw_params()
  ASoC: sta32x: add device tree binding.
  ASoC: sta32x: use dev_dbg() for debug output.
  ASoC: sta32x: minor Kconfig update.
  ASoC: sta32x: correct bit shift value for IDE register.
  ASoC: sta32x: change dai name to be in line with the sta350 driver.

 .../devicetree/bindings/sound/st,sta32x.txt        |  92 ++++
 include/sound/sta32x.h                             |  18 +-
 sound/soc/codecs/Kconfig                           |   4 +-
 sound/soc/codecs/sta32x.c                          | 537 +++++++++++++--------
 sound/soc/codecs/sta32x.h                          |   4 +-
 5 files changed, 450 insertions(+), 205 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/st,sta32x.txt

-- 
2.1.1



More information about the Alsa-devel mailing list