Message ID | 20220805085716.5635-3-yu.tu@amlogic.com |
---|---|
State | New |
Headers | show |
Series | Add S4 SoC PLL and Peripheral clock controller | expand |
On Fri 05 Aug 2022 at 17:39, Yu Tu <yu.tu@amlogic.com> wrote: > Hi Krzysztof, > Thank you for your reply. > > On 2022/8/5 17:16, Krzysztof Kozlowski wrote: >> [ EXTERNAL EMAIL ] >> On 05/08/2022 10:57, Yu Tu wrote: >>> Added information about the S4 SOC PLL Clock controller in DT. >>> >>> Signed-off-by: Yu Tu <yu.tu@amlogic.com> >>> --- >>> arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 8 ++++++++ >>> 1 file changed, 8 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi >>> index ff213618a598..a816b1f7694b 100644 >>> --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi >>> +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi >>> @@ -92,6 +92,14 @@ apb4: apb4@fe000000 { >>> #size-cells = <2>; >>> ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>; >>> + clkc_pll: pll-clock-controller@8000 { >> Node names should be generic - clock-controller. >> https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation >> > I will change to clkc_pll: clock-controller@8000, in next version. Same comment applies to the binding doc. Also it would be nice to split this in two series. Bindings and drivers in one, arm64 dt in the other. These changes goes in through different trees. >> Best regards, >> Krzysztof >> .
On Mon 15 Aug 2022 at 14:17, Yu Tu <yu.tu@amlogic.com> wrote: > Hi Jeromeļ¼ > > On 2022/8/10 21:32, Jerome Brunet wrote: >> [ EXTERNAL EMAIL ] >> On Fri 05 Aug 2022 at 17:39, Yu Tu <yu.tu@amlogic.com> wrote: >> >>> Hi Krzysztof, >>> Thank you for your reply. >>> >>> On 2022/8/5 17:16, Krzysztof Kozlowski wrote: >>>> [ EXTERNAL EMAIL ] >>>> On 05/08/2022 10:57, Yu Tu wrote: >>>>> Added information about the S4 SOC PLL Clock controller in DT. >>>>> >>>>> Signed-off-by: Yu Tu <yu.tu@amlogic.com> >>>>> --- >>>>> arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 8 ++++++++ >>>>> 1 file changed, 8 insertions(+) >>>>> >>>>> diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi >>>>> index ff213618a598..a816b1f7694b 100644 >>>>> --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi >>>>> +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi >>>>> @@ -92,6 +92,14 @@ apb4: apb4@fe000000 { >>>>> #size-cells = <2>; >>>>> ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>; >>>>> + clkc_pll: pll-clock-controller@8000 { >>>> Node names should be generic - clock-controller. >>>> https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation >>>> >>> I will change to clkc_pll: clock-controller@8000, in next version. >> Same comment applies to the binding doc. > OKay. >> Also it would be nice to split this in two series. >> Bindings and drivers in one, arm64 dt in the other. These changes goes >> in through different trees. > At present, Bindings, DTS and drivers are three series. Do you mean to put > Bindings and drivers together? If so, checkpatch.pl will report a warning. Yes because patches are not in yet so there is a good reason to ignore the warning. Warning will never show up on the actual tree if the patches are correctly ordered. > >> >>>> Best regards, >>>> Krzysztof >>>> . >> .
diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi index ff213618a598..a816b1f7694b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi @@ -92,6 +92,14 @@ apb4: apb4@fe000000 { #size-cells = <2>; ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>; + clkc_pll: pll-clock-controller@8000 { + compatible = "amlogic,s4-pll-clkc"; + reg = <0x0 0x8000 0x0 0x348>; + clocks = <&xtal>; + clock-names = "xtal"; + #clock-cells = <1>; + }; + periphs_pinctrl: pinctrl@4000 { compatible = "amlogic,meson-s4-periphs-pinctrl"; #address-cells = <2>;
Added information about the S4 SOC PLL Clock controller in DT. Signed-off-by: Yu Tu <yu.tu@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)