Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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>

authored by

Bryan Brattlof and committed by
Daniel Lezcano
c4026d3e effe8db0

+16
+16
Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml
··· 37 37 devices to function properly. This eFuse region provides 38 38 the information needed for these SoCs to report 39 39 temperatures accurately. 40 + minItems: 2 40 41 41 42 power-domains: 42 43 maxItems: 1 43 44 44 45 "#thermal-sensor-cells": 45 46 const: 1 47 + 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 46 62 47 63 required: 48 64 - compatible