Re: [PATCH v1 04/10] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)
Hi Jacopo, On Wed, Nov 15, 2017 at 11:55 AM, Jacopo Mondiwrote: > Add Capture Engine Unit (CEU) node to device tree. > > Signed-off-by: Jacopo Mondi Thanks for your patch! > --- a/arch/arm/boot/dts/r7s72100.dtsi > +++ b/arch/arm/boot/dts/r7s72100.dtsi > @@ -136,8 +136,8 @@ > compatible = "renesas,r7s72100-mstp-clocks", > "renesas,cpg-mstp-clocks"; > reg = <0xfcfe042c 4>; > clocks = <_clk>; You forgot to add an entry to clocks. The parent clock of the CEU module clock is b_clk. > - clock-indices = ; > - clock-output-names = "rtc"; > + clock-indices = ; > + clock-output-names = "rtc", "ceu"; Usually we follow the order from , so CEU should come before RTC. > @@ -666,4 +666,12 @@ > power-domains = <_clocks>; > status = "disabled"; > }; > + > + ceu: ceu@e821 { > + reg = <0xe821 0x209c>; > + compatible = "renesas,renesas-ceu"; > + interrupts = ; > + power-domains = <_clocks>; if you describe the device to be part of the CPG clock domain, you should provide a clocks property: clocks = <_clks R7S72100_CLK_CEU>; > + status = "disabled"; > + }; > }; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@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
Re: [PATCH v1 04/10] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)
On Wed, Nov 15, 2017 at 11:55:57AM +0100, Jacopo Mondi wrote: > Add Capture Engine Unit (CEU) node to device tree. Other patches in this series (which are not for my tree) appear to warrant updating. Accordingly I am marking this patch as "Changes Requested" and am expecting it to be reposted at some point.
[PATCH v1 04/10] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)
Add Capture Engine Unit (CEU) node to device tree. Signed-off-by: Jacopo Mondi--- arch/arm/boot/dts/r7s72100.dtsi | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi index 4ed12a4..683d459 100644 --- a/arch/arm/boot/dts/r7s72100.dtsi +++ b/arch/arm/boot/dts/r7s72100.dtsi @@ -136,8 +136,8 @@ compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks"; reg = <0xfcfe042c 4>; clocks = <_clk>; - clock-indices = ; - clock-output-names = "rtc"; + clock-indices = ; + clock-output-names = "rtc", "ceu"; }; mstp7_clks: mstp7_clks@fcfe0430 { @@ -666,4 +666,12 @@ power-domains = <_clocks>; status = "disabled"; }; + + ceu: ceu@e821 { + reg = <0xe821 0x209c>; + compatible = "renesas,renesas-ceu"; + interrupts = ; + power-domains = <_clocks>; + status = "disabled"; + }; }; -- 2.7.4