[alsa-devel] [PATCH] ASoC: fsl-asoc-card: add wm8960 support

Nicolin Chen nicoleotsuka at gmail.com
Fri Aug 14 05:58:06 CEST 2015


On Fri, Aug 14, 2015 at 10:21:18AM +0800, Zidan Wang wrote:

> > And there is a crucial problem I can imagine:
> >   Is it okay to set this bit while setting SD1_CLK PAD as one
> >   of other functions rather than SAI MCLK? -- Customers might
> >   keep your code as they also use SAI2 while using SD1_CLK PAD
> >   as a GPIO input.

> I just add a gpr node in device tree, if customer want to use SD1_CLK
> PAD as a GPIO input, remove the gpr node.

My question was whether setting this bit would cause a hardware
damage -- Customers might not notice your gpr node in the Device
Tree at all, not to mention the possibility of an accidental wrong
configurations.

And another reason I asked that is to find out if we can set these
bits anyway in the SoC level driver of imx6ul when this bit would
not cause anything dangerous and when there's no extra clock MUX
for the SAI MCLK between internal CCM and external clock source.

Nicolin


More information about the Alsa-devel mailing list