Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tim Harvey and committed by
Lee Jones
ad738ddd b92735f4

+3 -2
+3 -2
Documentation/devicetree/bindings/mfd/gateworks-gsc.yaml
··· 79 79 description: | 80 80 conversion mode: 81 81 0 - temperature, in C*10 82 - 1 - pre-scaled voltage value 82 + 1 - pre-scaled 24-bit voltage value 83 83 2 - scaled voltage based on an optional resistor divider 84 84 and optional offset 85 + 3 - pre-scaled 16-bit voltage value 85 86 $ref: /schemas/types.yaml#/definitions/uint32 86 - enum: [0, 1, 2] 87 + enum: [0, 1, 2, 3] 87 88 88 89 gw,voltage-divider-ohms: 89 90 description: Values of resistors for divider on raw ADC input