lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250705123548.44624-1-biju.das.jz@bp.renesas.com>
Date: Sat,  5 Jul 2025 13:35:38 +0100
From: Biju Das <biju.das.jz@...renesas.com>
To: Geert Uytterhoeven <geert+renesas@...der.be>,
	Magnus Damm <magnus.damm@...il.com>,
	Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk+dt@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>
Cc: Biju Das <biju.das.jz@...renesas.com>,
	John Madieu <john.madieu.xa@...renesas.com>,
	Wolfram Sang <wsa+renesas@...g-engineering.com>,
	linux-renesas-soc@...r.kernel.org,
	devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@...renesas.com>,
	Biju Das <biju.das.au@...il.com>
Subject: [PATCH] arm64: dts: renesas: rzg3e-smarc-som: Fix I2C bus for PMIC control

As per the hardware manual, RIIC8 is located in PD_AWO domain and we must
use that bus for PMIC control. Currently wrong i2c bus (i2c2) is used for
the PMIC control and the system is not entering into suspend mode because
of this.

Fixes: f7a98e256ee30 ("arm64: dts: renesas: rzg3e-smarc-som: Add I2C2 device pincontrol")
Fixes: 5ecd5a8261d00 ("arm64: dts: renesas: rzg3e-smarc-som: Add RAA215300 pmic support")
Fixes: f62bb41740462 ("arm64: dts: renesas: rzg3e-smarc-som: Reduce I2C2 clock frequency")
Signed-off-by: Biju Das <biju.das.jz@...renesas.com>
---
 arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi
index 7faa44510d98..52eda41a6102 100644
--- a/arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi
+++ b/arch/arm64/boot/dts/renesas/rzg3e-smarc-som.dtsi
@@ -28,7 +28,7 @@ / {
 	aliases {
 		ethernet0 = &eth0;
 		ethernet1 = &eth1;
-		i2c2 = &i2c2;
+		i2c8 = &i2c8;
 		mmc0 = &sdhi0;
 		mmc2 = &sdhi2;
 	};
@@ -102,8 +102,8 @@ &gpu {
 	mali-supply = <&reg_vdd0p8v_others>;
 };
 
-&i2c2 {
-	pinctrl-0 = <&i2c2_pins>;
+&i2c8 {
+	pinctrl-0 = <&i2c8_pins>;
 	pinctrl-names = "default";
 	clock-frequency = <400000>;
 	status = "okay";
@@ -214,9 +214,9 @@ ctrl {
 		};
 	};
 
-	i2c2_pins: i2c {
-		pinmux = <RZG3E_PORT_PINMUX(3, 4, 1)>, /* SCL2 */
-			 <RZG3E_PORT_PINMUX(3, 5, 1)>; /* SDA2 */
+	i2c8_pins: i2c8 {
+		pinmux = <RZG3E_PORT_PINMUX(3, 4, 4)>, /* SCL8 */
+			 <RZG3E_PORT_PINMUX(3, 5, 4)>; /* SDA8 */
 	};
 
 	rtc_irq_pin: rtc-irq {
-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ