]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sm7325-nothing-spacewar: Enable camera EEPROMs
authorDanila Tikhonov <danila@jiaxyga.com>
Mon, 3 Feb 2025 11:14:29 +0000 (14:14 +0300)
committerBjorn Andersson <andersson@kernel.org>
Wed, 26 Feb 2025 02:57:48 +0000 (20:57 -0600)
Configure the EEPROMs which are found on the different camera sensors on
this device.

The pull-up regulator for these I2C busses is vreg_cam_vio_1p8, the same
supply that powers VCC of all the EEPROMs.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Link: https://lore.kernel.org/r/20250203111429.22062-5-danila@jiaxyga.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm7325-nothing-spacewar.dts

index 4f964e5d34da9ab77c16b794f1d964ca7b6cadf5..0c89f7726865b0a0c46a5fdeaf40fa078dba263b 100644 (file)
 };
 
 &cci0_i2c0 {
-       /* sony,imx471 (Front) */
+       /* D-PHY sony,imx471 (Front) @ 0x1a */
+
+       camf_p24c64f: eeprom@52 {
+               compatible = "puya,p24c64f",
+                            "atmel,24c64";
+               reg = <0x52>;
+               vcc-supply = <&vreg_cam_vio_1p8>;
+               read-only;
+       };
 };
 
 &cci1 {
 };
 
 &cci1_i2c0 {
-       /* samsung,s5kjn1 (Rear-aux UW) */
+       /* actuator (For Ultra Wide sensor) @ 0xc */
+       /* D-PHY samsung,s5kjn1 (Ultra Wide) @ 0x2d */
+
+       camu_gt24p128e: eeprom@51 {
+               compatible = "giantec,gt24p128e",
+                            "atmel,24c128";
+               reg = <0x51>;
+               vcc-supply = <&vreg_cam_vio_1p8>;
+               read-only;
+       };
 };
 
 &cci1_i2c1 {
-       /* sony,imx766 (Rear Wide) */
+       /* actuator (For Wide sensor) @ 0xc */
+       /* C-PHY sony,imx766 (Wide) @ 0x10 */
+
+       camw_gt24p128e: eeprom@50 {
+               compatible = "giantec,gt24p128e",
+                            "atmel,24c128";
+               reg = <0x50>;
+               vcc-supply = <&vreg_cam_vio_1p8>;
+               read-only;
+       };
 };
 
 &gcc {