From: Lubomir Rintel <lkundrak@v3.sk> To: Olof Johansson <olof@lixom.net> Cc: Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Pavel Machek <pavel@ucw.cz>, Lubomir Rintel <lkundrak@v3.sk> Subject: [PATCH v2 2/6] ARM: dts: mmp2: fix the SPI nodes Date: Fri, 2 Aug 2019 12:33:22 +0200 [thread overview] Message-ID: <20190802103326.531250-3-lkundrak@v3.sk> (raw) In-Reply-To: <20190802103326.531250-1-lkundrak@v3.sk> The SPI bus has a single address cell and not size cells. Also, dtc thinks the SPI nodes are preferrably called "spi" and it is right to think so. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> --- arch/arm/boot/dts/mmp2.dtsi | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi index 50b6c38b39cc3..e64639ce57a91 100644 --- a/arch/arm/boot/dts/mmp2.dtsi +++ b/arch/arm/boot/dts/mmp2.dtsi @@ -346,35 +346,43 @@ status = "disabled"; }; - ssp1: ssp@d4035000 { + ssp1: spi@d4035000 { compatible = "marvell,mmp2-ssp"; reg = <0xd4035000 0x1000>; clocks = <&soc_clocks MMP2_CLK_SSP0>; interrupts = <0>; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; - ssp2: ssp@d4036000 { + ssp2: spi@d4036000 { compatible = "marvell,mmp2-ssp"; reg = <0xd4036000 0x1000>; clocks = <&soc_clocks MMP2_CLK_SSP1>; interrupts = <1>; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; - ssp3: ssp@d4037000 { + ssp3: spi@d4037000 { compatible = "marvell,mmp2-ssp"; reg = <0xd4037000 0x1000>; clocks = <&soc_clocks MMP2_CLK_SSP2>; interrupts = <20>; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; - ssp4: ssp@d4039000 { + ssp4: spi@d4039000 { compatible = "marvell,mmp2-ssp"; reg = <0xd4039000 0x1000>; clocks = <&soc_clocks MMP2_CLK_SSP3>; interrupts = <21>; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; }; -- 2.21.0
WARNING: multiple messages have this Message-ID (diff)
From: Lubomir Rintel <lkundrak@v3.sk> To: Olof Johansson <olof@lixom.net> Cc: Mark Rutland <mark.rutland@arm.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel <lkundrak@v3.sk>, Rob Herring <robh+dt@kernel.org>, Pavel Machek <pavel@ucw.cz>, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/6] ARM: dts: mmp2: fix the SPI nodes Date: Fri, 2 Aug 2019 12:33:22 +0200 [thread overview] Message-ID: <20190802103326.531250-3-lkundrak@v3.sk> (raw) In-Reply-To: <20190802103326.531250-1-lkundrak@v3.sk> The SPI bus has a single address cell and not size cells. Also, dtc thinks the SPI nodes are preferrably called "spi" and it is right to think so. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> --- arch/arm/boot/dts/mmp2.dtsi | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi index 50b6c38b39cc3..e64639ce57a91 100644 --- a/arch/arm/boot/dts/mmp2.dtsi +++ b/arch/arm/boot/dts/mmp2.dtsi @@ -346,35 +346,43 @@ status = "disabled"; }; - ssp1: ssp@d4035000 { + ssp1: spi@d4035000 { compatible = "marvell,mmp2-ssp"; reg = <0xd4035000 0x1000>; clocks = <&soc_clocks MMP2_CLK_SSP0>; interrupts = <0>; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; - ssp2: ssp@d4036000 { + ssp2: spi@d4036000 { compatible = "marvell,mmp2-ssp"; reg = <0xd4036000 0x1000>; clocks = <&soc_clocks MMP2_CLK_SSP1>; interrupts = <1>; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; - ssp3: ssp@d4037000 { + ssp3: spi@d4037000 { compatible = "marvell,mmp2-ssp"; reg = <0xd4037000 0x1000>; clocks = <&soc_clocks MMP2_CLK_SSP2>; interrupts = <20>; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; - ssp4: ssp@d4039000 { + ssp4: spi@d4039000 { compatible = "marvell,mmp2-ssp"; reg = <0xd4039000 0x1000>; clocks = <&soc_clocks MMP2_CLK_SSP3>; interrupts = <21>; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; }; -- 2.21.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-08-02 10:34 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-08-02 10:33 [PATCH v2 0/6] ARM: dts: mmp2: devicetree updates Lubomir Rintel 2019-08-02 10:33 ` Lubomir Rintel 2019-08-02 10:33 ` Lubomir Rintel 2019-08-02 10:33 ` [PATCH v2 1/6] ARM: dts: mmp2: trivial whitespace fix Lubomir Rintel 2019-08-02 10:33 ` Lubomir Rintel 2019-08-02 10:33 ` Lubomir Rintel 2019-08-02 10:33 ` Lubomir Rintel [this message] 2019-08-02 10:33 ` [PATCH v2 2/6] ARM: dts: mmp2: fix the SPI nodes Lubomir Rintel 2019-08-02 10:33 ` [PATCH v2 3/6] ARM: dts: mmp2: rename the USB PHY node Lubomir Rintel 2019-08-02 10:33 ` Lubomir Rintel 2019-08-02 10:33 ` Lubomir Rintel 2019-08-02 10:33 ` [PATCH v2 4/6] ARM: dts: mmp2: add camera interfaces Lubomir Rintel 2019-08-02 10:33 ` Lubomir Rintel 2019-08-02 10:33 ` [PATCH v2 5/6] ARM: dts: mmp2: specify reg-shift for the UARTs Lubomir Rintel 2019-08-02 10:33 ` Lubomir Rintel 2019-08-02 10:33 ` [PATCH v2 6/6] ARM: dts: mmp2: add OLPC XO 1.75 machine Lubomir Rintel 2019-08-02 10:33 ` Lubomir Rintel 2019-08-03 8:58 ` Pavel Machek 2019-08-03 8:58 ` Pavel Machek 2019-08-05 9:56 ` Lubomir Rintel 2019-08-05 9:56 ` Lubomir Rintel 2019-08-03 8:59 ` [PATCH v2 0/6] ARM: dts: mmp2: devicetree updates Pavel Machek 2019-08-03 8:59 ` Pavel Machek
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=20190802103326.531250-3-lkundrak@v3.sk \ --to=lkundrak@v3.sk \ --cc=devicetree@vger.kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mark.rutland@arm.com \ --cc=olof@lixom.net \ --cc=pavel@ucw.cz \ --cc=robh+dt@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: linkBe 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.