summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2020-06-09 17:57:19 +0300
committerLee Jones <lee.jones@linaro.org>2020-06-18 13:23:16 +0300
commitad738ddd506b68679faf79277280b75522dd84e7 (patch)
treeb39ac6009330b599273cf673f06de5cda98b0959 /Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
parentb92735f45f99c9bdcf93ce822fab56231e64a904 (diff)
downloadlinux-ad738ddd506b68679faf79277280b75522dd84e7.tar.xz
dt-bindings: mfd: gateworks-gsc: Add 16bit pre-scaled voltage mode
Add a 16-bit pre-scaled voltage mode to ADC and clarify that existing pre-scaled mode is 24bit. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml')
-rw-r--r--Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml b/Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
index 487a8445722e..ceec33f6aba1 100644
--- a/Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
+++ b/Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
@@ -79,11 +79,12 @@ properties:
description: |
conversion mode:
0 - temperature, in C*10
- 1 - pre-scaled voltage value
+ 1 - pre-scaled 24-bit voltage value
2 - scaled voltage based on an optional resistor divider
and optional offset
+ 3 - pre-scaled 16-bit voltage value
$ref: /schemas/types.yaml#/definitions/uint32
- enum: [0, 1, 2]
+ enum: [0, 1, 2, 3]
gw,voltage-divider-ohms:
description: Values of resistors for divider on raw ADC input