Re: [RFC PATCH 01/10] dt-bindings: thermal: tsens: support per-sensor calibration cells

Krzysztof Kozlowski
2022-09-11T13:37:27Z

On 10/09/2022 14:46, Dmitry Baryshkov wrote:
> Allow specifing the exact calibration mode and calibration data as nvmem
> cells, rather than specifying just a single calibration data blob.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
> .../bindings/thermal/qcom-tsens.yaml | 64 ++++++++++++++++---
> 1 file changed, 54 insertions(+), 10 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> index 038d81338fcf..b813f6f19c1d 100644
> --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> @@ -77,18 +77,62 @@ properties:
> - const: critical
>
> nvmem-cells:
> - minItems: 1
> - maxItems: 2
> - description:
> - Reference to an nvmem node for the calibration data
> + oneOf:
> + - minItems: 1
> + maxItems: 2
> + description:
> + Reference to an nvmem node for the calibration data
> + - minItems: 5
> + maxItems: 35
> + description: |
> + Reference to an nvmem cells for the calibration mode, two calibration

s/an nvmem/nvmem/

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof