diff mbox

[1/2] ASoC: dt-bindings: rockchip-i2s: add an optional property "i2s_clk_out"

Message ID 1417571396-31324-1-git-send-email-jay.xu@rock-chips.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jianqun Xu Dec. 3, 2014, 1:49 a.m. UTC
Add an property "i2s_clk_out", which enables to output clock to outside
of rockchip SoCs. Let's make it optional since not each board needs it.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
---
 Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Doug Anderson Dec. 3, 2014, 5:20 a.m. UTC | #1
Jianqun,

On Tue, Dec 2, 2014 at 5:49 PM, Jianqun Xu <jay.xu@rock-chips.com> wrote:
> Add an property "i2s_clk_out", which enables to output clock to outside
> of rockchip SoCs. Let's make it optional since not each board needs it.
>
> Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
> Reviewed-by: Doug Anderson <dianders@chromium.org>
> ---
>  Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

For the record, I think this is version 4 of the patch and there have
been no changes from version 2.

Mark: IMHO this is in a good shape to land, but I know it's a pretty
busy time right now...
Doug Anderson Dec. 3, 2014, 5:24 a.m. UTC | #2
Hi,

On Tue, Dec 2, 2014 at 9:20 PM, Doug Anderson <dianders@chromium.org> wrote:
> Jianqun,
>
> On Tue, Dec 2, 2014 at 5:49 PM, Jianqun Xu <jay.xu@rock-chips.com> wrote:
>> Add an property "i2s_clk_out", which enables to output clock to outside
>> of rockchip SoCs. Let's make it optional since not each board needs it.
>>
>> Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
>> Reviewed-by: Doug Anderson <dianders@chromium.org>
>> ---
>>  Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 8 ++++++--
>>  1 file changed, 6 insertions(+), 2 deletions(-)
>
> For the record, I think this is version 4 of the patch and there have
> been no changes from version 2.
>
> Mark: IMHO this is in a good shape to land, but I know it's a pretty
> busy time right now...

Argh, Mark wasn't on the TO list for your patch (or even the CC list)!
 I think you _will_ need to resend for that.  You probably want to
include all the people from the previous version...

-Doug
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
index 9b82c20..c8f5ac0 100644
--- a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
+++ b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
@@ -22,6 +22,10 @@  Required properties:
    - "i2s_hclk": clock for I2S BUS
    - "i2s_clk" : clock for I2S controller
 
+Optional property:
+- "i2s_clk_out" : clock output to outside of chip, usally as master clock for audio
+	codec chip
+
 Example for rk3288 I2S controller:
 
 i2s@ff890000 {
@@ -32,6 +36,6 @@  i2s@ff890000 {
 	#size-cells = <0>;
 	dmas = <&pdma1 0>, <&pdma1 1>;
 	dma-names = "tx", "rx";
-	clock-names = "i2s_hclk", "i2s_clk";
-	clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>;
+	clock-names = "i2s_hclk", "i2s_clk", "i2s_clk_out";
+	clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>, <&cru SCLK_I2S0_CLKOUT>;
 };