All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lubomir Rintel <lkundrak@v3.sk>
To: soc@kernel.org
Cc: Olof Johansson <olof@lixom.net>, Arnd Bergmann <arnd@arndb.de>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>,
	Daniel Mack <daniel@zonque.org>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Robert Jarzmik <robert.jarzmik@free.fr>,
	linux-kernel@vger.kernel.org, Lubomir Rintel <lkundrak@v3.sk>,
	Andrew Lunn <andrew@lunn.ch>
Subject: [PATCH 07/15] ARM: dts: pxa*: Fix up encoding of the /rtc interrupts property
Date: Sun, 19 Apr 2020 19:11:49 +0200	[thread overview]
Message-ID: <20200419171157.672999-8-lkundrak@v3.sk> (raw)
In-Reply-To: <20200419171157.672999-1-lkundrak@v3.sk>

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>
---
 arch/arm/boot/dts/pxa168.dtsi | 2 +-
 arch/arm/boot/dts/pxa910.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/pxa168.dtsi b/arch/arm/boot/dts/pxa168.dtsi
index 550cd372d7c9f..4fe7735c7c588 100644
--- a/arch/arm/boot/dts/pxa168.dtsi
+++ b/arch/arm/boot/dts/pxa168.dtsi
@@ -143,7 +143,7 @@ twsi2: i2c@d4025000 {
 			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>;
diff --git a/arch/arm/boot/dts/pxa910.dtsi b/arch/arm/boot/dts/pxa910.dtsi
index f59f593acff40..352a393578103 100644
--- a/arch/arm/boot/dts/pxa910.dtsi
+++ b/arch/arm/boot/dts/pxa910.dtsi
@@ -155,7 +155,7 @@ twsi2: i2c@d4037000 {
 			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>;
-- 
2.26.0


  parent reply	other threads:[~2020-04-19 17:12 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-19 17:11 [PATCH 00/15] ARM: dts: Marvell SoC Device Tree updates (for 5.8) Lubomir Rintel
2020-04-19 17:11 ` [PATCH 01/15] ARM: dts: kirkwood: Fix interrupt controller node name Lubomir Rintel
2020-04-19 17:11 ` [PATCH 02/15] ARM: dts: dove: " Lubomir Rintel
2020-04-19 17:11 ` [PATCH 03/15] ARM: dts: pxa168: Add missing address/size cells to i2c nodes Lubomir Rintel
2020-04-19 17:11 ` [PATCH 04/15] ARM: dts: pxa168: Fix the gpio interrupt cell number Lubomir Rintel
2020-04-19 17:11 ` [PATCH 05/15] ARM: dts: pxa3xx: Fix up encoding of the /gpio interrupts property Lubomir Rintel
2020-04-19 17:11 ` [PATCH 06/15] ARM: dts: pxa910: Fix the gpio interrupt cell number Lubomir Rintel
2020-04-19 17:11 ` Lubomir Rintel [this message]
2020-04-19 17:11 ` [PATCH 08/15] ARM: dts: mmp*: Fix up encoding of the /rtc interrupts property Lubomir Rintel
2020-04-19 17:11 ` [PATCH 09/15] ARM: dts: mmp3: Fix L2 cache controller node name Lubomir Rintel
2020-04-19 17:11 ` [PATCH 10/15] ARM: dts: mmp3: Fix USB & USB PHY node names Lubomir Rintel
2020-04-19 17:11 ` [PATCH 11/15] ARM: dts: berlin*: Fix up the SDHCI " Lubomir Rintel
2020-04-19 17:11 ` [PATCH 12/15] ARM: dts: mmp3: Add the fifth SD HCI Lubomir Rintel
2020-04-19 17:11 ` [PATCH 13/15] ARM: dts: mmp3: Drop usb-nop-xceiv from HSIC phy Lubomir Rintel
2020-04-19 17:11 ` [PATCH 14/15] ARM: dts: mmp3: Use the MMP3 compatible string for /clocks Lubomir Rintel
2020-04-19 17:11 ` [PATCH 15/15] ARM: dts: mmp3-dell-ariel: Fix the SPI devices Lubomir Rintel
2020-04-20 15:35 ` [PATCH 00/15] ARM: dts: Marvell SoC Device Tree updates (for 5.8) Arnd Bergmann
2020-04-20 15:35   ` Arnd Bergmann
2020-04-23 22:29   ` Lubomir Rintel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200419171157.672999-8-lkundrak@v3.sk \
    --to=lkundrak@v3.sk \
    --cc=andrew@lunn.ch \
    --cc=arnd@arndb.de \
    --cc=daniel@zonque.org \
    --cc=haojian.zhuang@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=robert.jarzmik@free.fr \
    --cc=soc@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.