Skip to content

Commit

Permalink
dt-bindings: thermal: k3-j72xx: conditionally require efuse reg range
Browse files Browse the repository at this point in the history
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 <bb@ti.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221031232702.10339-7-bb@ti.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
  • Loading branch information
bryanbrattlof authored and Daniel Lezcano committed Dec 14, 2022
1 parent effe8db commit c4026d3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,29 @@ properties:
devices to function properly. This eFuse region provides
the information needed for these SoCs to report
temperatures accurately.
minItems: 2

power-domains:
maxItems: 1

"#thermal-sensor-cells":
const: 1

allOf:
- if:
properties:
compatible:
contains:
const: ti,j721e-vtm
then:
properties:
reg:
minItems: 3
else:
properties:
reg:
maxItems: 2

required:
- compatible
- reg
Expand Down

0 comments on commit c4026d3

Please sign in to comment.