All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Wahren <stefan.wahren@i2se.com>
To: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>
Cc: linux-imx@nxp.com, Marek Vasut <marex@denx.de>,
	Alexander Stein <alexander.stein@ew.tq-group.com>,
	linux-crypto@vger.kernel.org, linux-pm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Stefan Wahren <stefan.wahren@i2se.com>,
	Jacky Bai <ping.bai@nxp.com>
Subject: [PATCH 6/6] ARM: dts: imx6ul: Add clock and PGC node to GDC
Date: Sun,  5 Mar 2023 23:59:00 +0100	[thread overview]
Message-ID: <20230305225901.7119-7-stefan.wahren@i2se.com> (raw)
In-Reply-To: <20230305225901.7119-1-stefan.wahren@i2se.com>

According to fsl,imx-gpc.yaml the General Power Control requires
a ipg clock and a Power Gating Control node. So add them to fix
the dtbs_check warnings on i.MX6UL boards:

gpc@20dc000: 'clocks' is a required property
gpc@20dc000: 'clock-names' is a required property
gpc@20dc000: 'pgc' is a required property

Suggested-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
 arch/arm/boot/dts/imx6ul.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index 412baa848837..fd6c064fa032 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -720,6 +720,18 @@ gpc: gpc@20dc000 {
 				#interrupt-cells = <3>;
 				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
 				interrupt-parent = <&intc>;
+				clocks = <&clks IMX6UL_CLK_IPG>;
+				clock-names = "ipg";
+
+				pgc {
+						#address-cells = <1>;
+						#size-cells = <0>;
+
+						power-domain@0 {
+							reg = <0>;
+							#power-domain-cells = <0>;
+						};
+				};
 			};
 
 			iomuxc: pinctrl@20e0000 {
-- 
2.34.1


WARNING: multiple messages have this Message-ID (diff)
From: Stefan Wahren <stefan.wahren@i2se.com>
To: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>
Cc: linux-imx@nxp.com, Marek Vasut <marex@denx.de>,
	Alexander Stein <alexander.stein@ew.tq-group.com>,
	linux-crypto@vger.kernel.org, linux-pm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Stefan Wahren <stefan.wahren@i2se.com>,
	Jacky Bai <ping.bai@nxp.com>
Subject: [PATCH 6/6] ARM: dts: imx6ul: Add clock and PGC node to GDC
Date: Sun,  5 Mar 2023 23:59:00 +0100	[thread overview]
Message-ID: <20230305225901.7119-7-stefan.wahren@i2se.com> (raw)
In-Reply-To: <20230305225901.7119-1-stefan.wahren@i2se.com>

According to fsl,imx-gpc.yaml the General Power Control requires
a ipg clock and a Power Gating Control node. So add them to fix
the dtbs_check warnings on i.MX6UL boards:

gpc@20dc000: 'clocks' is a required property
gpc@20dc000: 'clock-names' is a required property
gpc@20dc000: 'pgc' is a required property

Suggested-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
 arch/arm/boot/dts/imx6ul.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index 412baa848837..fd6c064fa032 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -720,6 +720,18 @@ gpc: gpc@20dc000 {
 				#interrupt-cells = <3>;
 				interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
 				interrupt-parent = <&intc>;
+				clocks = <&clks IMX6UL_CLK_IPG>;
+				clock-names = "ipg";
+
+				pgc {
+						#address-cells = <1>;
+						#size-cells = <0>;
+
+						power-domain@0 {
+							reg = <0>;
+							#power-domain-cells = <0>;
+						};
+				};
 			};
 
 			iomuxc: pinctrl@20e0000 {
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2023-03-05 23:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-05 22:58 [PATCH 0/6] ARM: dts: imx6ull: Fix dtbs_check warnings Stefan Wahren
2023-03-05 22:58 ` Stefan Wahren
2023-03-05 22:58 ` [PATCH 1/6] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible Stefan Wahren
2023-03-05 22:58   ` Stefan Wahren
2023-03-06  6:36   ` Krzysztof Kozlowski
2023-03-06  6:36     ` Krzysztof Kozlowski
2023-03-05 22:58 ` [PATCH 2/6] dt-bindings: imx-thermal: add imx6sll and imx6ul compatible Stefan Wahren
2023-03-05 22:58   ` Stefan Wahren
2023-03-06  6:37   ` Krzysztof Kozlowski
2023-03-06  6:37     ` Krzysztof Kozlowski
2023-03-05 22:58 ` [PATCH 3/6] dt-bindings: imxgpt: add " Stefan Wahren
2023-03-05 22:58   ` Stefan Wahren
2023-03-06  6:39   ` Krzysztof Kozlowski
2023-03-06  6:39     ` Krzysztof Kozlowski
2023-03-05 22:58 ` [PATCH 4/6] ARM: dts: imx6ul: Fix second GPT compatible Stefan Wahren
2023-03-05 22:58   ` Stefan Wahren
2023-03-06  6:40   ` Krzysztof Kozlowski
2023-03-06  6:40     ` Krzysztof Kozlowski
2023-03-05 22:58 ` [PATCH 5/6] ARM: dts: imx: Adjust dma-apbh node name Stefan Wahren
2023-03-05 22:58   ` Stefan Wahren
2023-03-05 22:59 ` Stefan Wahren [this message]
2023-03-05 22:59   ` [PATCH 6/6] ARM: dts: imx6ul: Add clock and PGC node to GDC Stefan Wahren
2023-03-06  1:56   ` Fabio Estevam
2023-03-06  1:56     ` Fabio Estevam

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=20230305225901.7119-7-stefan.wahren@i2se.com \
    --to=stefan.wahren@i2se.com \
    --cc=alexander.stein@ew.tq-group.com \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=marex@denx.de \
    --cc=ping.bai@nxp.com \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@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.