ARM: dts: amlogic: meson8b: fix reference to unknown/untested PWM clock
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 20 Apr 2025 16:47:59 +0000 (18:47 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 22 Apr 2025 07:00:19 +0000 (09:00 +0200)
Device-tree expects absent clocks to be specified as <0> (instead of
using <>). This fixes using the FCLK4/FCLK3 clocks as they are now
seen at their correct index (while before they were recognized, but at
the correct index - resulting in the hardware using a different clock
than what the kernel sees).

Fixes: dbf921861985 ("ARM: dts: amlogic: meson8b: switch to the new PWM controller binding")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250420164801.330505-3-martin.blumenstingl@googlemail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm/boot/dts/amlogic/meson8b.dtsi

index 0876611ce26a8c33489a0a031ec302d0569767f1..fdb0abe23a0c8ba71eb2d931aa9582fe11ad7b62 100644 (file)
                compatible = "amlogic,meson8b-pwm-v2", "amlogic,meson8-pwm-v2";
                reg = <0x86c0 0x10>;
                clocks = <&xtal>,
-                        <>, /* unknown/untested, the datasheet calls it "Video PLL" */
+                        <0>, /* unknown/untested, the datasheet calls it "Video PLL" */
                         <&clkc CLKID_FCLK_DIV4>,
                         <&clkc CLKID_FCLK_DIV3>;
                #pwm-cells = <3>;
 &pwm_ab {
        compatible = "amlogic,meson8b-pwm-v2", "amlogic,meson8-pwm-v2";
        clocks = <&xtal>,
-                <>, /* unknown/untested, the datasheet calls it "Video PLL" */
+                <0>, /* unknown/untested, the datasheet calls it "Video PLL" */
                 <&clkc CLKID_FCLK_DIV4>,
                 <&clkc CLKID_FCLK_DIV3>;
 };
 &pwm_cd {
        compatible = "amlogic,meson8b-pwm-v2", "amlogic,meson8-pwm-v2";
        clocks = <&xtal>,
-                <>, /* unknown/untested, the datasheet calls it "Video PLL" */
+                <0>, /* unknown/untested, the datasheet calls it "Video PLL" */
                 <&clkc CLKID_FCLK_DIV4>,
                 <&clkc CLKID_FCLK_DIV3>;
 };