Message ID | 1453970618-4383-7-git-send-email-wxt@rock-chips.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Jan 28, 2016 at 04:43:35PM +0800, Caesar Wang wrote: > This patch add the mclk property for the CODEC driver, > since sometime the CODEC driver needs the clock enabled. s/add/adds/ s/sometime/sometimes/ > The system clock of ALC5616 can be selected from MCLK, > That's also make as the codec master clock provider, That also makes the codec the master clock provider. > > Signed-off-by: Caesar Wang <wxt@rock-chips.com> > > --- > > Changes in v4: > - Add this patch included in kylin series patches. > > Documentation/devicetree/bindings/sound/rt5616.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/rt5616.txt b/Documentation/devicetree/bindings/sound/rt5616.txt > index efc48c6..e410858 100644 > --- a/Documentation/devicetree/bindings/sound/rt5616.txt > +++ b/Documentation/devicetree/bindings/sound/rt5616.txt > @@ -8,6 +8,12 @@ Required properties: > > - reg : The I2C address of the device. > > +Optional properties: > + > +- clocks: The phandle of the master clock to the CODEC. > + > +- clock-names: Should be "mclk". > + > Pins on the device (for linking into audio routes) for RT5616: > > * IN1P > -- > 1.9.1 >
? 2016?01?30? 00:28, Rob Herring ??: > On Thu, Jan 28, 2016 at 04:43:35PM +0800, Caesar Wang wrote: >> This patch add the mclk property for the CODEC driver, >> since sometime the CODEC driver needs the clock enabled. > s/add/adds/ > > s/sometime/sometimes/ Done, thanks for pointing out that. >> The system clock of ALC5616 can be selected from MCLK, >> That's also make as the codec master clock provider, > That also makes the codec the master clock provider. > Ditto. >> Signed-off-by: Caesar Wang <wxt@rock-chips.com> >> >> --- >> >> Changes in v4: >> - Add this patch included in kylin series patches. >> >> Documentation/devicetree/bindings/sound/rt5616.txt | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/sound/rt5616.txt b/Documentation/devicetree/bindings/sound/rt5616.txt >> index efc48c6..e410858 100644 >> --- a/Documentation/devicetree/bindings/sound/rt5616.txt >> +++ b/Documentation/devicetree/bindings/sound/rt5616.txt >> @@ -8,6 +8,12 @@ Required properties: >> >> - reg : The I2C address of the device. >> >> +Optional properties: >> + >> +- clocks: The phandle of the master clock to the CODEC. >> + >> +- clock-names: Should be "mclk". >> + >> Pins on the device (for linking into audio routes) for RT5616: >> >> * IN1P >> -- >> 1.9.1 >> > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip
diff --git a/Documentation/devicetree/bindings/sound/rt5616.txt b/Documentation/devicetree/bindings/sound/rt5616.txt index efc48c6..e410858 100644 --- a/Documentation/devicetree/bindings/sound/rt5616.txt +++ b/Documentation/devicetree/bindings/sound/rt5616.txt @@ -8,6 +8,12 @@ Required properties: - reg : The I2C address of the device. +Optional properties: + +- clocks: The phandle of the master clock to the CODEC. + +- clock-names: Should be "mclk". + Pins on the device (for linking into audio routes) for RT5616: * IN1P
This patch add the mclk property for the CODEC driver, since sometime the CODEC driver needs the clock enabled. The system clock of ALC5616 can be selected from MCLK, That's also make as the codec master clock provider, Signed-off-by: Caesar Wang <wxt@rock-chips.com> --- Changes in v4: - Add this patch included in kylin series patches. Documentation/devicetree/bindings/sound/rt5616.txt | 6 ++++++ 1 file changed, 6 insertions(+)