Skip to contentSkip to conversation

arm64: dts: rockchip: Enable I2C2 on UNIHIKER M10 V1.2

PATCH New Miotsuki Mizuno 1 participant 1 message Oct 10

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: Enable I2C2 on UNIHIKER M10 V1.2

The onboard resistive touchscreen controller is connected to I2C2. Enable the controller at the tested 400 kHz bus frequency. Its GPIO2_A2 and GPIO2_A3 pinmux is provided by rk3308.dtsi.

Keep the bus enablement separate from the touchscreen device node so it can be reviewed without depending on the pending NS2009 binding and driver. The controller-only configuration was booted on M10 V1.2 with no NS2009 device instantiated.

---
 arch/arm64/boot/dts/rockchip/rk3308-unihiker-m10-v1.2.dts | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/rockchip/rk3308-unihiker-m10-v1.2.dts +5 -0
index 270ea970c95a..0c03f118378a 100644
@@ -131,6 +131,11 @@ &emmc {
 	status = "okay";
 };
 
+&i2c2 {
+	clock-frequency = <400000>;
+	status = "okay";
+};
+
 &io_domains {
 	vccio0-supply = <&vcc_io>;
 	vccio1-supply = <&vcc_io>;

base-commit: ae965b9856f033145e292b0c29082a26bcc45efd

Signature · 1 line
2.56.0