]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: pxa*: Fix up encoding of the /rtc interrupts property
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 19 Apr 2020 17:11:49 +0000 (19:11 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 21 May 2020 21:31:44 +0000 (23:31 +0200)
This way the device tree validator learns that each cell of the property
constitutes a separate item. Otherwise it gets unnecessairly upset:

  pxa168-aspenite.dt.yaml: rtc@d4010000: interrupts: [[5, 6]] is too short
  pxa910-dkb.dt.yaml: rtc@d4010000: interrupts: [[5, 6]] is too short

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/pxa168.dtsi
arch/arm/boot/dts/pxa910.dtsi

index 550cd372d7c9f8855df648067d647e0603d91363..4fe7735c7c588a7616be36ec1d00e0822bd50e14 100644 (file)
                        rtc: rtc@d4010000 {
                                compatible = "mrvl,mmp-rtc";
                                reg = <0xd4010000 0x1000>;
-                               interrupts = <5 6>;
+                               interrupts = <5>, <6>;
                                interrupt-names = "rtc 1Hz", "rtc alarm";
                                clocks = <&soc_clocks PXA168_CLK_RTC>;
                                resets = <&soc_clocks PXA168_CLK_RTC>;
index f59f593acff40142d41ab2fdaa84362c388c4ec9..352a3935781037da2477abd22ed5555616484b1b 100644 (file)
                        rtc: rtc@d4010000 {
                                compatible = "mrvl,mmp-rtc";
                                reg = <0xd4010000 0x1000>;
-                               interrupts = <5 6>;
+                               interrupts = <5>, <6>;
                                interrupt-names = "rtc 1Hz", "rtc alarm";
                                clocks = <&soc_clocks PXA910_CLK_RTC>;
                                resets = <&soc_clocks PXA910_CLK_RTC>;