22 Jan
2015
22 Jan
'15
3:05 p.m.
On 01/22/2015 12:01 AM, Thomas Niederprüm wrote:
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
Good stuff.
Do you think we can actually merge the the two drivers into one. They seem to be 90% line-by-line identical.
Thanks, - Lars