mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
Merge "ARM: dts: msm: Add IPD HW related configurations for anorak"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
7a038590c0
18
bindings/iio/ipd.txt
Normal file
18
bindings/iio/ipd.txt
Normal 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";
|
||||
};
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user