mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:04:24 +00:00
dt-bindings: thermal: Add AOP pmic sensor driver bindings
Add bindings for the qti aop pmic sensor driver. Change-Id: I58ff96b66517d82fe1f5cfda01932fdac2b56157
This commit is contained in:
62
bindings/thermal/qti-aop-pmic-sensor.txt
Normal file
62
bindings/thermal/qti-aop-pmic-sensor.txt
Normal file
@@ -0,0 +1,62 @@
|
||||
===================================================================
|
||||
QTI AOP pmic sensor driver
|
||||
===================================================================
|
||||
|
||||
QTI AOP pmic sensor driver will be used to give external data of pmic rails like temperature, voltage, etc.
|
||||
This driver reads the required external data from MSGRAM which is updated by
|
||||
communicating to RPMH via QMP.
|
||||
|
||||
Properties:
|
||||
- compatible:
|
||||
Usage: required
|
||||
Value type: <string>
|
||||
Definition: must be "qcom,aop-pmic-sensor"
|
||||
|
||||
QTI AOP pmic sensor driver properties:
|
||||
-qcom,dbu-id:
|
||||
Usage: required
|
||||
Value type: <Integer>
|
||||
Definition: Unique ID for a particular pmic.
|
||||
|
||||
-qcom,type:
|
||||
Usage: required
|
||||
Value type: <Integer>
|
||||
Definition: It will be 1 and 0. 1 is identifier for voltage and 0 is for temperature.
|
||||
|
||||
Example:
|
||||
aop_pmic_sensor: aop-pmic-sensor@c3f03d8 {
|
||||
compatible = "qcom,aop-pmic-sensor";
|
||||
reg = <0x0c3f03d8 0x28>;
|
||||
mboxes = <&qmp_aop 0>;
|
||||
#thermal-sensor-cells = <1>;
|
||||
|
||||
mss-temp {
|
||||
qcom,dbu-id = <1>;
|
||||
qcom,type = <0>;
|
||||
};
|
||||
|
||||
mx-temp {
|
||||
qcom,dbu-id = <2>;
|
||||
qcom,type = <0>;
|
||||
};
|
||||
|
||||
cx-temp {
|
||||
qcom,dbu-id = <3>;
|
||||
qcom,type = <0>;
|
||||
};
|
||||
|
||||
mss-volt {
|
||||
qcom,dbu-id = <1>;
|
||||
qcom,type = <1>;
|
||||
};
|
||||
|
||||
mx-volt {
|
||||
qcom,dbu-id = <2>;
|
||||
qcom,type = <1>;
|
||||
};
|
||||
|
||||
cx-volt {
|
||||
qcom,dbu-id = <3>;
|
||||
qcom,type = <1>;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user