On Tue, Sep 20, 2016 at 2:41 PM, Maxime Ripard maxime.ripard@free-electrons.com wrote:
On Tue, Sep 20, 2016 at 08:41:02AM +0800, Chen-Yu Tsai wrote:
Turns out I hadn't even added the file to git, so it's still there!
http://wens.tw/sun6i-a31s-codec-analog.c
Looks like I finished the register definitions, but only copied the widgets/controls from my A31 driver, and haven't fixed them up yet.
Also, my use of SOC_DAPM_DOUBLE requires some work to the DAPM code to support updates to two registers, rather than two fields in one register, which I already implemented. This is, and the driver, are on my TODO list.
Let me know how you would like to proceed, so we don't end up doing double the work.
We'll probably have something ready by next week. Maybe we can just send the patches and start from there?
OK! Hopefully I'll have some time next week to get some work done on mine. I'll take a look at the 3 SoCs and compare the analog controls over the weekend, and see if we can't reuse them, at least between A23/A33.
ChenYu