[PATCH 3/5] arm64: dts: rk3399-pinephone-pro: Add magnetometer sensor support
Rudraksha Gupta via B4 Relay
devnull+guptarud.gmail.com at kernel.org
Sat Sep 20 23:41:05 PDT 2025
From: Ondrej Jirman <megi at xff.cz>
Pinephone Pro uses AF8133J.
Signed-off-by: Ondrej Jirman <megi at xff.cz>
Signed-off-by: Rudraksha Gupta <guptarud at gmail.com>
---
arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
index da7ce905152269436410b959be937e07c23772b2..8ff64004b0a6e3b472077516ab360c29852d7c9f 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts
@@ -554,6 +554,16 @@ mpu6500 at 68 {
};
};
+&i2c4 {
+ af8133j: compass at 1c {
+ compatible = "voltafield,af8133j";
+ reg = <0x1c>;
+ reset-gpios = <&gpio1 RK_PA1 GPIO_ACTIVE_LOW>;
+ avdd-supply = <&vcc_3v0>;
+ dvdd-supply = <&vcc_1v8>;
+ };
+};
+
&io_domains {
bt656-supply = <&vcc1v8_dvp>;
audio-supply = <&vcca1v8_codec>;
--
2.51.0
More information about the linux-arm-kernel
mailing list