mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "ARM: dts: qcom: Add support to read ibat_external_range from nvmem for yupik"
This commit is contained in:
commit
727a28b825
2 changed files with 21 additions and 0 deletions
|
|
@ -41,6 +41,20 @@ Optional Parameters:
|
|||
current monitoring(CCM) hardware for battery current
|
||||
monitor.
|
||||
|
||||
- nvmem-cells:
|
||||
Value type: <phandle>
|
||||
Definition: phandle pointing to a nvmem-cells node representing the
|
||||
sdam registers that has information of ibat scaling range
|
||||
factor.When defined, the bcl driver will use it to
|
||||
scale ibat current greater than default supported range.
|
||||
|
||||
- nvmem-cell-names:
|
||||
Value type: <string>
|
||||
Definition: Specifies the given nvmem cell name as defined in
|
||||
sdam node.
|
||||
Documentation/devicetree/bindings/nvmem/nvmem.txt and also
|
||||
example below.
|
||||
|
||||
Example:
|
||||
bcl@4200 {
|
||||
compatible = "qcom,bcl-v5";
|
||||
|
|
@ -51,4 +65,6 @@ Example:
|
|||
"bcl-lvl1";
|
||||
qcom,pmic7-threshold;
|
||||
qcom,ibat-ccm-hw-support;
|
||||
nvmem-cells = <&adc_scaling>;
|
||||
nvmem-cell-names = "adc_scaling";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -8,6 +8,11 @@
|
|||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
&pm7250b_bcl {
|
||||
nvmem-cells = <&adc_scaling>;
|
||||
nvmem-cell-names = "adc_scaling";
|
||||
};
|
||||
|
||||
&thermal_zones {
|
||||
socd {
|
||||
cooling-maps {
|
||||
|
|
|
|||
Loading…
Reference in a new issue