[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230904115816.1237684-4-s.hauer@pengutronix.de>
Date: Mon, 4 Sep 2023 13:58:16 +0200
From: Sascha Hauer <s.hauer@...gutronix.de>
To: linux-rockchip@...ts.infradead.org
Cc: Heiko Stuebner <heiko@...ech.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-gpio@...r.kernel.org,
kernel@...gutronix.de,
Quentin Schulz <quentin.schulz@...obroma-systems.com>,
Michael Riesch <michael.riesch@...fvision.net>,
Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>
Subject: [PATCH 3/3] arm64: dts: rockchip: rock-3a: add io domain properties
Tell the pinctrl driver that it shall wait for the io domain driver
before configuring pins. Also add exceptions for the pins needed to
access the PMIC.
Signed-off-by: Sascha Hauer <s.hauer@...gutronix.de>
---
arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
index e05ab11981f55..9d709afc101af 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts
@@ -300,6 +300,14 @@ &hdmi_sound {
status = "okay";
};
+&i2c0_xfer {
+ rockchip,io-domain-boot-on;
+};
+
+&i2s1m0_mclk {
+ rockchip,io-domain-boot-on;
+};
+
&i2c0 {
status = "okay";
@@ -615,6 +623,8 @@ &pcie3x2 {
};
&pinctrl {
+ rockchip,io-domains = <&pmu_io_domains>;
+
cam {
vcc_cam_en: vcc_cam_en {
rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
@@ -659,6 +669,7 @@ pmic {
pmic_int: pmic_int {
rockchip,pins =
<0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
+ rockchip,io-domain-boot-on;
};
};
--
2.39.2
Powered by blists - more mailing lists