Skip to content

Commit 1a685e2

Browse files
Praveenkumar Idlezcano
authored andcommitted
dt-bindings: thermal: tsens: Add ipq5332, ipq5424 compatible
The IPQ5332 and IPQ5424 use TSENS v2.3.3 IP with combined interrupt. RPM is not available in these SoCs, hence adding new compatible to have the sensor enablement and calibration function. Also add nvmem-cell-names. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Praveenkumar I <[email protected]> Signed-off-by: Manikanta Mylavarapu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent 229f3fe commit 1a685e2

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Documentation/devicetree/bindings/thermal/qcom-tsens.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ properties:
7575

7676
- description: v2 of TSENS with combined interrupt
7777
enum:
78+
- qcom,ipq5332-tsens
79+
- qcom,ipq5424-tsens
7880
- qcom,ipq8074-tsens
7981

8082
- description: v2 of TSENS with combined interrupt
@@ -212,6 +214,18 @@ properties:
212214
- const: s9_p2_backup
213215
- const: s10_p1_backup
214216
- const: s10_p2_backup
217+
- minItems: 8
218+
items:
219+
- const: mode
220+
- const: base0
221+
- const: base1
222+
- pattern: '^tsens_sens[0-9]+_off$'
223+
- pattern: '^tsens_sens[0-9]+_off$'
224+
- pattern: '^tsens_sens[0-9]+_off$'
225+
- pattern: '^tsens_sens[0-9]+_off$'
226+
- pattern: '^tsens_sens[0-9]+_off$'
227+
- pattern: '^tsens_sens[0-9]+_off$'
228+
- pattern: '^tsens_sens[0-9]+_off$'
215229

216230
"#qcom,sensors":
217231
description:
@@ -271,6 +285,8 @@ allOf:
271285
compatible:
272286
contains:
273287
enum:
288+
- qcom,ipq5332-tsens
289+
- qcom,ipq5424-tsens
274290
- qcom,ipq8074-tsens
275291
then:
276292
properties:
@@ -286,6 +302,8 @@ allOf:
286302
compatible:
287303
contains:
288304
enum:
305+
- qcom,ipq5332-tsens
306+
- qcom,ipq5424-tsens
289307
- qcom,ipq8074-tsens
290308
- qcom,tsens-v0_1
291309
- qcom,tsens-v1

0 commit comments

Comments
 (0)