mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
dt-bindings: thermal: Add a property to account BCL threshold bit shift
Newer BCL hardware doesn't have the threshold registers bit shifted compared to the ADC measurement register. Add a new flag qcom,pmic7-threshold, which needs to be added for these new targets so that the software driver will account for the bit shifting in the threshold calculation. Change-Id: I6bc33f14a2717e060c9d32d199df10cc269ca6f1
This commit is contained in:
parent
e0e90a0342
commit
ba262f666c
1 changed files with 7 additions and 0 deletions
|
|
@ -30,6 +30,12 @@ Required Parameters:
|
|||
"bcl-lvl1",
|
||||
"bcl-lvl2",
|
||||
|
||||
Optional Parameters:
|
||||
- qcom,pmic7-threshold:
|
||||
Value type: <bool>
|
||||
Definition: When this flag is defined, the BCL driver will account for
|
||||
no bit shift in the threshold registers.
|
||||
|
||||
Example:
|
||||
bcl@4200 {
|
||||
compatible = "qcom,bcl-v5";
|
||||
|
|
@ -38,4 +44,5 @@ Example:
|
|||
<0x2 0x42 0x1 IRQ_TYPE_NONE>;
|
||||
interrupt-names = "bcl-lvl0",
|
||||
"bcl-lvl1";
|
||||
qcom,pmic7-threshold;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue