Skip to content

Commit a060278

Browse files
stephan-ghdlezcano
authored andcommitted
dt-bindings: thermal: qcom-tsens: Drop redundant compatibles
Since the SoC compatibles must be followed by the IP version compatible (e.g. compatible = "qcom,msm8916-tsens", "qcom,tsens-v0_1";) it is redundant to list all the SoC compatibles again in the if statement. It will already match the IP-version compatible. The list has already become inconsistent since for example "qcom,msm8939-tsens" is covered by the if statement but is not listed there explicitly like the other SoCs. Simplify this by dropping the redundant SoC compatibles. ipq8064 and msm8960 are still needed because they do not have an IP-version compatible. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Stephan Gerhold <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent b6f739d commit a060278

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

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

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,7 @@ allOf:
232232
contains:
233233
enum:
234234
- qcom,ipq8064-tsens
235-
- qcom,mdm9607-tsens
236-
- qcom,msm8916-tsens
237235
- qcom,msm8960-tsens
238-
- qcom,msm8974-tsens
239-
- qcom,msm8976-tsens
240-
- qcom,qcs404-tsens
241236
- qcom,tsens-v0_1
242237
- qcom,tsens-v1
243238
then:
@@ -253,22 +248,7 @@ allOf:
253248
properties:
254249
compatible:
255250
contains:
256-
enum:
257-
- qcom,msm8953-tsens
258-
- qcom,msm8996-tsens
259-
- qcom,msm8998-tsens
260-
- qcom,sc7180-tsens
261-
- qcom,sc7280-tsens
262-
- qcom,sc8180x-tsens
263-
- qcom,sc8280xp-tsens
264-
- qcom,sdm630-tsens
265-
- qcom,sdm845-tsens
266-
- qcom,sm6350-tsens
267-
- qcom,sm8150-tsens
268-
- qcom,sm8250-tsens
269-
- qcom,sm8350-tsens
270-
- qcom,sm8450-tsens
271-
- qcom,tsens-v2
251+
const: qcom,tsens-v2
272252
then:
273253
properties:
274254
interrupts:

0 commit comments

Comments
 (0)