summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@foss.st.com>2021-10-14 15:12:23 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-10-20 14:43:54 +0100
commit6cd4ed8eb89348fa5cf0b87bb420fe39531c9b59 (patch)
tree8260dd47a8622ed9bf52e27a37a832bfa7e60686 /Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
parent664b9879f56ef97d2ac98ec66e846814669b7e4a (diff)
dt-bindings: iio: stm32-adc: add nvmem support for vrefint internal channel
Add support of nvmem. This allows to retrieve calibration data from OTP for vrefint internal channel. Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20211014131228.4692-3-olivier.moysan@foss.st.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml')
-rw-r--r--Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
index 2083e1723970..ec0450d111a9 100644
--- a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
@@ -301,6 +301,14 @@ patternProperties:
$ref: /schemas/types.yaml#/definitions/uint32-array
deprecated: true
+ nvmem-cells:
+ items:
+ - description: Phandle to the calibration vrefint data provided by otp
+
+ nvmem-cell-names:
+ items:
+ - const: vrefint
+
patternProperties:
"^channel@([0-9]|1[0-9])$":
type: object