[PATCH V3 5/6] arm64: dts: meson: add S4 Soc Peripheral clock controller in DT
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Fri Aug 5 02:16:35 PDT 2022
On 05/08/2022 10:57, Yu Tu wrote:
> Added information about the S4 SOC Peripheral Clock controller in DT.
>
> Signed-off-by: Yu Tu <yu.tu at amlogic.com>
> ---
> arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 26 +++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
> index a816b1f7694b..71be1dda15a2 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
> @@ -6,6 +6,8 @@
> #include <dt-bindings/interrupt-controller/irq.h>
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> #include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/clock/amlogic,s4-pll-clkc.h>
> +#include <dt-bindings/clock/amlogic,s4-clkc.h>
>
> / {
> cpus {
> @@ -100,6 +102,30 @@ clkc_pll: pll-clock-controller at 8000 {
> #clock-cells = <1>;
> };
>
> + clkc_periphs: periphs-clock-controller {
Node names should be generic, so "clock-controller"
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
You miss here unit address. Test your DTS with dtbs check and with
regular compile with W=1.
Best regards,
Krzysztof
More information about the linux-amlogic
mailing list