From: Bryan Brattlof <b...@ti.com> commit c3bb4011ec46d9ac09ad127c749df13d2e7fb806 from git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
commit c4026d3e2578291016703cd75f3a6f786f60cd80 upstream 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 <b...@ti.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlow...@linaro.org> Link: https://lore.kernel.org/r/20221031232702.10339-7...@ti.com Signed-off-by: Daniel Lezcano <daniel.lezc...@kernel.org> Signed-off-by: Keerthy <j-keer...@ti.com> Signed-off-by: Vignesh Raghavendra <vigne...@ti.com> Signed-off-by: Xulin Sun <xulin....@windriver.com> --- .../bindings/thermal/ti,j72xx-thermal.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml b/Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml index 3bb870a26872..0509c9cec224 100644 --- a/Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml @@ -37,6 +37,7 @@ 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 @@ -44,6 +45,21 @@ properties: "#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 -- 2.35.5
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13209): https://lists.yoctoproject.org/g/linux-yocto/message/13209 Mute This Topic: https://lists.yoctoproject.org/mt/102074933/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-