From: Krzysztof Kozlowski <krzk@kernel.org>
To: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: linux-pwm@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
devicetree@vger.kernel.org,
"Sylwester Nawrocki" <snawrocki@kernel.org>,
"Pankaj Dubey" <pankaj.dubey@samsung.com>,
"Bartlomiej Zolnierkiewicz" <b.zolnierkie@samsung.com>,
linux-kernel@vger.kernel.org, "Rob Herring" <robh+dt@kernel.org>,
"Chanwoo Choi" <cw00.choi@samsung.com>,
"Thierry Reding" <thierry.reding@gmail.com>,
"Kukjin Kim" <kgene@kernel.org>,
"Alim Akhtar" <alim.akhtar@samsung.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Lee Jones" <lee.jones@linaro.org>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 5/8] ARM: dts: exynos: Remove DMA controller bus node name to fix dtschema warnings
Date: Sun, 5 Jul 2020 20:13:11 +0200 [thread overview]
Message-ID: <20200705181311.GA3611@kozik-lap> (raw)
In-Reply-To: <11b9adcf-251f-81ad-2559-9d96c0a3ad78@samsung.com>
On Thu, Jul 02, 2020 at 10:34:14PM +0200, Marek Szyprowski wrote:
> On 02.07.2020 17:51, Krzysztof Kozlowski wrote:
> > There is no need to keep DMA controller nodes under AMBA bus node.
> > Remove the "amba" node to fix dtschema warnings like:
> >
> > amba: $nodename:0: 'amba' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
> >
> > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> >
> > ---
> >
> > Changes since v1:
> > 1. Remove the bus, as suggested by Marek
> > ---
> > arch/arm/boot/dts/exynos3250.dtsi | 47 +++----
> > arch/arm/boot/dts/exynos4.dtsi | 70 +++++-----
> > .../boot/dts/exynos4210-universal_c210.dts | 2 +-
> > arch/arm/boot/dts/exynos5250.dtsi | 92 ++++++-------
> > arch/arm/boot/dts/exynos5410.dtsi | 46 +++----
> > arch/arm/boot/dts/exynos5420.dtsi | 130 ++++++++----------
> > 6 files changed, 174 insertions(+), 213 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi
> > index 044e5da64a76..d3fb45a56527 100644
> > --- a/arch/arm/boot/dts/exynos3250.dtsi
> > +++ b/arch/arm/boot/dts/exynos3250.dtsi
> > @@ -418,33 +418,26 @@
> > status = "disabled";
> > };
> >
> > - amba {
> > - compatible = "simple-bus";
> > - #address-cells = <1>;
> > - #size-cells = <1>;
> > - ranges;
> > -
> > - pdma0: pdma@12680000 {
> > - compatible = "arm,pl330", "arm,primecell";
> > - reg = <0x12680000 0x1000>;
> > - interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
> > - clocks = <&cmu CLK_PDMA0>;
> > - clock-names = "apb_pclk";
> > - #dma-cells = <1>;
> > - #dma-channels = <8>;
> > - #dma-requests = <32>;
> > - };
> > -
> > - pdma1: pdma@12690000 {
> > - compatible = "arm,pl330", "arm,primecell";
> > - reg = <0x12690000 0x1000>;
> > - interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
> > - clocks = <&cmu CLK_PDMA1>;
> > - clock-names = "apb_pclk";
> > - #dma-cells = <1>;
> > - #dma-channels = <8>;
> > - #dma-requests = <32>;
> > - };
> > + pdma0: pdma@12680000 {
> > + compatible = "arm,pl330", "arm,primecell";
> > + reg = <0x12680000 0x1000>;
> > + interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&cmu CLK_PDMA0>;
> > + clock-names = "apb_pclk";
> > + #dma-cells = <1>;
> > + #dma-channels = <8>;
> > + #dma-requests = <32>;
> > + };
> > +
> > + pdma1: pdma@12690000 {
> > + compatible = "arm,pl330", "arm,primecell";
> > + reg = <0x12690000 0x1000>;
> > + interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&cmu CLK_PDMA1>;
> > + clock-names = "apb_pclk";
> > + #dma-cells = <1>;
> > + #dma-channels = <8>;
> > + #dma-requests = <32>;
> > };
> >
> > adc: adc@126c0000 {
> > diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi
> > index d2779a790ce3..a1e54449f33f 100644
> > --- a/arch/arm/boot/dts/exynos4.dtsi
> > +++ b/arch/arm/boot/dts/exynos4.dtsi
> > @@ -669,45 +669,37 @@
> > status = "disabled";
> > };
> >
> > - amba: amba {
> > - #address-cells = <1>;
> > - #size-cells = <1>;
> > - compatible = "simple-bus";
> > - interrupt-parent = <&gic>;
> > - ranges;
> > -
> > - pdma0: pdma@12680000 {
> > - compatible = "arm,pl330", "arm,primecell";
> > - reg = <0x12680000 0x1000>;
> > - interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
> > - clocks = <&clock CLK_PDMA0>;
> > - clock-names = "apb_pclk";
> > - #dma-cells = <1>;
> > - #dma-channels = <8>;
> > - #dma-requests = <32>;
> > - };
> > -
> > - pdma1: pdma@12690000 {
> > - compatible = "arm,pl330", "arm,primecell";
> > - reg = <0x12690000 0x1000>;
> > - interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
> > - clocks = <&clock CLK_PDMA1>;
> > - clock-names = "apb_pclk";
> > - #dma-cells = <1>;
> > - #dma-channels = <8>;
> > - #dma-requests = <32>;
> > - };
> > -
> > - mdma1: mdma@12850000 {
> > - compatible = "arm,pl330", "arm,primecell";
> > - reg = <0x12850000 0x1000>;
> > - interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
> > - clocks = <&clock CLK_MDMA>;
> > - clock-names = "apb_pclk";
> > - #dma-cells = <1>;
> > - #dma-channels = <8>;
> > - #dma-requests = <1>;
> > - };
> > + pdma0: pdma@12680000 {
> > + compatible = "arm,pl330", "arm,primecell";
> > + reg = <0x12680000 0x1000>;
> > + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&clock CLK_PDMA0>;
> > + clock-names = "apb_pclk";
> > + #dma-cells = <1>;
> > + #dma-channels = <8>;
> > + #dma-requests = <32>;
> > + };
> > +
> > + pdma1: pdma@12690000 {
> > + compatible = "arm,pl330", "arm,primecell";
> > + reg = <0x12690000 0x1000>;
> > + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&clock CLK_PDMA1>;
> > + clock-names = "apb_pclk";
> > + #dma-cells = <1>;
> > + #dma-channels = <8>;
> > + #dma-requests = <32>;
> > + };
> > +
> > + mdma1: mdma@12850000 {
> > + compatible = "arm,pl330", "arm,primecell";
> > + reg = <0x12850000 0x1000>;
> > + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
> > + clocks = <&clock CLK_MDMA>;
> > + clock-names = "apb_pclk";
> > + #dma-cells = <1>;
> > + #dma-channels = <8>;
> > + #dma-requests = <1>;
> > };
> >
> > fimd: fimd@11c00000 {
> > diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts
> > index 02fde1a75ebd..e07aa3aa93bd 100644
> > --- a/arch/arm/boot/dts/exynos4210-universal_c210.dts
> > +++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts
> > @@ -181,7 +181,7 @@
> > };
> > };
> >
> > -&amba {
> > +&soc {
>
>
> What about the alphabetical order of the labels here?
Yes, I'll keep them ordered. Thanks.
Best regards,
Krzysztof
_______________________________________________
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:[~2020-07-05 18:14 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-02 15:51 [PATCH v2 1/8] dt-bindings: pwm: samsung: Do not require interrupts on Exynos SoCs Krzysztof Kozlowski
2020-07-02 15:51 ` [PATCH v2 2/8] arm64: dts: exynos: Describe PWM interrupts on Exynos7 Krzysztof Kozlowski
2020-07-03 17:10 ` Alim Akhtar
2020-07-03 18:01 ` Krzysztof Kozlowski
2020-07-02 15:51 ` [PATCH v2 3/8] arm64: dts: exynos: Remove generic arm, armv8-pmuv3 compatible Krzysztof Kozlowski
2020-07-03 17:17 ` [PATCH v2 3/8] arm64: dts: exynos: Remove generic arm,armv8-pmuv3 compatible Alim Akhtar
2020-07-03 18:01 ` Krzysztof Kozlowski
2020-07-02 15:51 ` [PATCH v2 4/8] arm64: dts: exynos: Remove DMA controller bus node name to fix dtschema warnings Krzysztof Kozlowski
2020-07-03 17:23 ` Alim Akhtar
2020-07-07 6:44 ` Krzysztof Kozlowski
2020-07-02 15:51 ` [PATCH v2 5/8] ARM: " Krzysztof Kozlowski
2020-07-02 20:34 ` Marek Szyprowski
2020-07-05 18:13 ` Krzysztof Kozlowski [this message]
2020-07-02 15:51 ` [PATCH v2 6/8] ARM: dts: exynos: Define fixed regulators in root node for consistency in Origen Krzysztof Kozlowski
2020-07-02 15:51 ` [PATCH v2 7/8] ARM: dts: exynos: Define fixed regulators in root node for consistency in Arndale Krzysztof Kozlowski
2020-07-02 15:51 ` [PATCH v2 8/8] ARM: dts: exynos: Define fixed regulators in root node for consistency in SMDK5420 Krzysztof Kozlowski
2020-07-06 9:41 ` [PATCH v2 1/8] dt-bindings: pwm: samsung: Do not require interrupts on Exynos SoCs Uwe Kleine-König
2020-07-07 18:50 ` Krzysztof Kozlowski
2020-07-14 2:46 ` Rob Herring
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=20200705181311.GA3611@kozik-lap \
--to=krzk@kernel.org \
--cc=alim.akhtar@samsung.com \
--cc=b.zolnierkie@samsung.com \
--cc=cw00.choi@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=kgene@kernel.org \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=pankaj.dubey@samsung.com \
--cc=robh+dt@kernel.org \
--cc=snawrocki@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).