Merge "ARM: dts: msm: Add IPD HW related configurations for anorak"

This commit is contained in:
qctecmdr
2023-04-20 22:18:18 -07:00
committed by Gerrit - the friendly Code Review server
2 changed files with 30 additions and 0 deletions

18
bindings/iio/ipd.txt Normal file
View File

@@ -0,0 +1,18 @@
Qualcomm Technologies, Inc. Inter-Pupillary Device(IPD) adjuster Device Tree Bindings
Required properties:
- compatible:
* "qcom,ipd"
- reg : the I2C address of the MAG sensor
- io-channels : Phandle for ADC Channel potentiometer
- io-channel-names : IO-Channel name
Example:
k09973: k09973@10 {
compatible = "qcom,ipd";
reg = <0x10>;
io-channels = <&pmk8550_vadc PMXR2230_ADC5_GEN3_AMUX_THM5_100K_PU>;
io-channel-names = "ipd";
};

View File

@@ -605,3 +605,15 @@
periph-d44-supply = <&L5N>;
periph-d46-supply = <&L7N>;
};
&qupv3_se2_i2c {
k09973: k09973@10 {
compatible = "qcom,ipd";
reg = <0x10>;
#io-channel-cells = <1>;
io-channel-ranges;
io-channels = <&pmk8550_vadc PMXR2230_ADC5_GEN3_AMUX_THM5_100K_PU>;
io-channel-names = "ipd";
};
};