Message ID | 20181025072349.15173-4-jiada_wang@mentor.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Simon Horman |
Headers | show |
Series | Add AVB Counter Clock | expand |
Hi Jiada, On Thu, Oct 25, 2018 at 9:24 AM <jiada_wang@mentor.com> wrote: > From: Jiada Wang <jiada_wang@mentor.com> > > Add avb counter clock node to R-Car ULCB boards > > Signed-off-by: Jiada Wang <jiada_wang@mentor.com> Thanks for your patch! > --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi > +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi > @@ -32,6 +32,12 @@ > clock-frequency = <12288000>; > }; > > + clk_avb: avb-clock@ec5a011c { > + compatible = "renesas,clk-avb"; > + reg = <0 0xec5a011c 0 0x24>; > + #clock-cells = <1>; > + }; > + > hdmi0-out { > compatible = "hdmi-connector"; > type = "a"; Why would this belong in the board .dtsi, not in the SoC .dtsi? (same for salvator-common.dtsi) How is this intended to be used by the AVB? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Hi Geert Thanks for your comment On 2018/10/26 5:22, Geert Uytterhoeven wrote: > Hi Jiada, > > On Thu, Oct 25, 2018 at 9:24 AM <jiada_wang@mentor.com> wrote: >> From: Jiada Wang <jiada_wang@mentor.com> >> >> Add avb counter clock node to R-Car ULCB boards >> >> Signed-off-by: Jiada Wang <jiada_wang@mentor.com> > Thanks for your patch! > >> --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi >> +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi >> @@ -32,6 +32,12 @@ >> clock-frequency = <12288000>; >> }; >> >> + clk_avb: avb-clock@ec5a011c { >> + compatible = "renesas,clk-avb"; >> + reg = <0 0xec5a011c 0 0x24>; >> + #clock-cells = <1>; >> + }; >> + >> hdmi0-out { >> compatible = "hdmi-connector"; >> type = "a"; > Why would this belong in the board .dtsi, not in the SoC .dtsi? > (same for salvator-common.dtsi) right, it belongs to Soc .dtsi, I will move it to each Soc .dtsi > How is this intended to be used by the AVB? R-Car audio can use AVB clock to support continuous clock rate, with out AVB clock, currently only limited rates are supports by R-Car audio Thanks, Jiada > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds
diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi index 89daca7356df..698f933d4cec 100644 --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi @@ -32,6 +32,12 @@ clock-frequency = <12288000>; }; + clk_avb: avb-clock@ec5a011c { + compatible = "renesas,clk-avb"; + reg = <0 0xec5a011c 0 0x24>; + #clock-cells = <1>; + }; + hdmi0-out { compatible = "hdmi-connector"; type = "a";