Skip to content

Commit c4026d3

Browse files
bryanbrattlofDaniel Lezcano
authored andcommitted
dt-bindings: thermal: k3-j72xx: conditionally require efuse reg range
Only some of TI's J721E SoCs will need a eFuse register range mapped to determine if they're affected by TI's i2128 erratum. All other SoC will not need this eFuse range to function properly Update the bindings for the k3_j72xx_bandgap thermal driver so other devices will only need two register ranges Signed-off-by: Bryan Brattlof <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent effe8db commit c4026d3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,29 @@ properties:
3737
devices to function properly. This eFuse region provides
3838
the information needed for these SoCs to report
3939
temperatures accurately.
40+
minItems: 2
4041

4142
power-domains:
4243
maxItems: 1
4344

4445
"#thermal-sensor-cells":
4546
const: 1
4647

48+
allOf:
49+
- if:
50+
properties:
51+
compatible:
52+
contains:
53+
const: ti,j721e-vtm
54+
then:
55+
properties:
56+
reg:
57+
minItems: 3
58+
else:
59+
properties:
60+
reg:
61+
maxItems: 2
62+
4763
required:
4864
- compatible
4965
- reg

0 commit comments

Comments
 (0)