diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-11-14 17:07:04 +0800 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2018-12-06 00:54:12 +0100 |
commit | 6be57bd2badfc05892f266076c6321c4a9c2431d (patch) | |
tree | 9c8766da14675f1639492f7bf24cbbd5e02288e6 /Documentation/devicetree/bindings/power/supply | |
parent | 872bcf83ec0ae266ebf3359061fc77a53b2ac5d7 (diff) |
dt-bindings: power: supply: Add nvmem properties to calibrate FGU
Add nvmem properties to calibrate FGU from eFuse controller.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'Documentation/devicetree/bindings/power/supply')
-rw-r--r-- | Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt index 98a24004131f..fc35ac577401 100644 --- a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt +++ b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt @@ -11,6 +11,8 @@ Required properties: - battery-detect-gpios: GPIO for battery detection. - io-channels: Specify the IIO ADC channel to get temperature. - io-channel-names: Should be "bat-temp". +- nvmem-cells: A phandle to the calibration cells provided by eFuse device. +- nvmem-cell-names: Should be "fgu_calib". - monitored-battery: Phandle of battery characteristics devicetree node. See Documentation/devicetree/bindings/power/supply/battery.txt @@ -47,6 +49,8 @@ Example: battery-detect-gpios = <&pmic_eic 9 GPIO_ACTIVE_HIGH>; io-channels = <&pmic_adc 5>; io-channel-names = "bat-temp"; + nvmem-cells = <&fgu_calib>; + nvmem-cell-names = "fgu_calib"; monitored-battery = <&bat>; }; }; |