Commit acd31b9f authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Daniel Lezcano

dt-bindings: thermal: tsens: add per-sensor cells for msm8974

The msm8974 platform uses two sets of calibration data, add a special
case to handle both of them.
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230101194034.831222-4-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 4f4292bf
...@@ -91,6 +91,11 @@ properties: ...@@ -91,6 +91,11 @@ properties:
description: | description: |
Reference to nvmem cells for the calibration mode, two calibration Reference to nvmem cells for the calibration mode, two calibration
bases and two cells per each sensor bases and two cells per each sensor
# special case for msm8974 / apq8084
- maxItems: 51
description: |
Reference to nvmem cells for the calibration mode, two calibration
bases and two cells per each sensor, main and backup copies, plus use_backup cell
nvmem-cell-names: nvmem-cell-names:
oneOf: oneOf:
...@@ -137,6 +142,59 @@ properties: ...@@ -137,6 +142,59 @@ properties:
- pattern: '^s[0-9]+_p2$' - pattern: '^s[0-9]+_p2$'
- pattern: '^s[0-9]+_p1$' - pattern: '^s[0-9]+_p1$'
- pattern: '^s[0-9]+_p2$' - pattern: '^s[0-9]+_p2$'
# special case for msm8974 / apq8084
- items:
- const: mode
- const: base1
- const: base2
- const: use_backup
- const: mode_backup
- const: base1_backup
- const: base2_backup
- const: s0_p1
- const: s0_p2
- const: s1_p1
- const: s1_p2
- const: s2_p1
- const: s2_p2
- const: s3_p1
- const: s3_p2
- const: s4_p1
- const: s4_p2
- const: s5_p1
- const: s5_p2
- const: s6_p1
- const: s6_p2
- const: s7_p1
- const: s7_p2
- const: s8_p1
- const: s8_p2
- const: s9_p1
- const: s9_p2
- const: s10_p1
- const: s10_p2
- const: s0_p1_backup
- const: s0_p2_backup
- const: s1_p1_backup
- const: s1_p2_backup
- const: s2_p1_backup
- const: s2_p2_backup
- const: s3_p1_backup
- const: s3_p2_backup
- const: s4_p1_backup
- const: s4_p2_backup
- const: s5_p1_backup
- const: s5_p2_backup
- const: s6_p1_backup
- const: s6_p2_backup
- const: s7_p1_backup
- const: s7_p2_backup
- const: s8_p1_backup
- const: s8_p2_backup
- const: s9_p1_backup
- const: s9_p2_backup
- const: s10_p1_backup
- const: s10_p2_backup
"#qcom,sensors": "#qcom,sensors":
description: description:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment