aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Moysan <[email protected]>2021-10-14 15:12:23 +0200
committerJonathan Cameron <[email protected]>2021-10-20 14:43:54 +0100
commit6cd4ed8eb89348fa5cf0b87bb420fe39531c9b59 (patch)
tree8260dd47a8622ed9bf52e27a37a832bfa7e60686
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 <[email protected]> Reviewed-by: Fabrice Gasnier <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
-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