35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From eb96bdd50b7dcf6af01fcc4b162cfcb1b9d4f681 Mon Sep 17 00:00:00 2001
|
|
From: Icenowy Zheng <icenowy@aosc.io>
|
|
Date: Tue, 10 Sep 2019 12:02:23 +0800
|
|
Subject: [PATCH 357/478] dt-bindings: axp20x-adc: allow to use TS pin as GPADC
|
|
|
|
The AXP series PMICs allow to use the TS pin as GPADC rather than the
|
|
battery temperature sensor.
|
|
|
|
Add the property to enable this mode.
|
|
|
|
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
|
|
---
|
|
.../devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml b/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml
|
|
index e759a5da708d..81e23a699e21 100644
|
|
--- a/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml
|
|
+++ b/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml
|
|
@@ -58,6 +58,11 @@ properties:
|
|
"#io-channel-cells":
|
|
const: 1
|
|
|
|
+ x-powers,ts-as-gpadc:
|
|
+ description: |
|
|
+ Boolean. Defines whether the TS pin should be used
|
|
+ as GPADC rather than battery temperature sensor pin.
|
|
+
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
--
|
|
2.35.3
|
|
|