[alsa-devel] [PATCH] ASoC: wm8960: Add shared_lrclk and capless to device tree

Fabio Estevam festevam at gmail.com
Wed Nov 19 13:59:51 CET 2014


On Wed, Nov 19, 2014 at 10:36 AM, Zidan Wang <b50113 at freescale.com> wrote:
> wm8960 codec has a wm8960_data struct which has two fields shared_lrclk and capless.
> The wm8960_data is get from platform_data and it is reasonable to set it from device
> tree when platform_data is null.
> And when shared_lrclk is set, LRCM will be enabled. But the following software reset
> in wm8960_probe will reset it to the default state. So LRCM operation should after
> software reset.
>
> Signed-off-by: Zidan Wang <b50113 at freescale.com>
> ---
>  sound/soc/codecs/wm8960.c | 49 ++++++++++++++++++++++++++++++-----------------

I think you could a add
Documentation/devicetree/bindings/sound/wm8960.txt in a separate patch
and document these properties there.


More information about the Alsa-devel mailing list