Krzysztof Kozlowski
f062dc5cca
dt-bindings: thermal: cleanup examples indentation
...
Preferred indentation for DTS examples in the bindings is 4-space. It
is also preferred not to have redundant/unused labels. No functional
change
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240705-dt-bindings-thermal-allof-v1-22-554061b52fbc@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
2024-07-15 13:31:40 +02:00
Krzysztof Kozlowski
7410853a1d
dt-bindings: thermal: rcar-gen3: reference thermal-sensor schema
...
Device is a thermal sensor and it requires '#thermal-sensor-cells', so
reference the thermal-sensor.yaml to simplify it and bring the
common definition of '#thermal-sensor-cells' property.
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20240705-dt-bindings-thermal-allof-v1-13-554061b52fbc@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
2024-07-15 13:31:40 +02:00
Duy Nguyen
6796c1b68f
dt-bindings: thermal: rcar-gen3-thermal: Add r8a779h0 support
...
Document support for the Thermal Sensor/Chip Internal Voltage
Monitor/Core Voltage Monitor (THS/CIVM/CVM) on the Renesas R-Car V4M
(R8A779H0) SoC.
Just like on other R-Car Gen4 SoCs, interrupts are not routed to the
INTC-AP (GIC) but to the Error Control Module (ECM).
Signed-off-by: Duy Nguyen <duy.nguyen.rh@renesas.com >
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Link: https://lore.kernel.org/r/b3d135f8b63b9fe2d0f0aa2e48c8a2211b2e947e.1709722342.git.geert+renesas@glider.be
2024-03-11 17:14:46 +01:00
Geert Uytterhoeven
4c27a32c67
dt-bindings: thermal: rcar-gen3-thermal: Add r8a779g0 support
...
Document support for the Thermal Sensor/Chip Internal Voltage
Monitor/Core Voltage Monitor (THS/CIVM/CVM) on the Renesas R-Car V4H
(R8A779G0) SoC.
Unlike most other R-Car Gen3 and Gen4 SoCs, it has 4 instead of 3
sensors, so increase the maximum number of reg tuples.
Just like other R-Car Gen4 SoCs, interrupts are not routed to the
INTC-AP but to the ECM.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se >
Link: https://lore.kernel.org/r/11f740522ec479011cc8eef6bb450603be394def.1675958665.git.geert+renesas@glider.be
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2023-02-15 17:28:51 +01:00
Wolfram Sang
83b4466b3f
dt-bindings: thermal: rcar-gen3-thermal: Add r8a779f0 support
...
Add support for R-Car S4. The S4 IP differs a bit from its siblings in
such way that it has 3 out of 4 TSC nodes for Linux and the interrupts
are not routed to the INTC-AP but to the ECM.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220610201701.7946-2-wsa+renesas@sang-engineering.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
2022-07-28 17:29:45 +02:00
Wolfram Sang
3c1fa94cd0
dt-bindings: thermal: rcar-gen3-thermal: use positive logic
...
When handling the V3U/r8a779a0 exception, avoid using 'not:' because
then its subschemas are far away in the 'else:' branch. Keep them
together using positive logic.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Link: https://lore.kernel.org/r/20220610201701.7946-1-wsa+renesas@sang-engineering.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
2022-07-28 17:29:44 +02:00
Rob Herring
caf83e494d
dt-bindings: Drop redundant 'maxItems/minItems' in if/then schemas
...
Another round of removing redundant minItems/maxItems when 'items' list is
specified. This time it is in if/then schemas as the meta-schema was
failing to check this case.
If a property has an 'items' list, then a 'minItems' or 'maxItems' with the
same size as the list is redundant and can be dropped. Note that is DT
schema specific behavior and not standard json-schema behavior. The tooling
will fixup the final schema adding any unspecified minItems/maxItems.
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-By: Vinod Koul <vkoul@kernel.org >
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Ulf Hansson <ulf.hansson@linaro.org > # For MMC
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > #for IIO
Link: https://lore.kernel.org/r/20220503162738.3827041-1-robh@kernel.org
2022-05-04 16:19:03 -05:00
Niklas Söderlund
9468e7b031
dt-bindings: thermal: rcar-gen3-thermal: Support five TSC nodes on r8a779a0
...
When adding support for V3U (r8a779a0) it was incorrectly recorded it
supports four nodes, while in fact it supports five. The fifth node is
named TSC0 and breaks the existing naming schema starting at 1. Work
around this by separately defining the reg property for V3U and others.
Restore the maximum number of nodes to three for other compatibles as
it was before erroneously increasing it for V3U.
Fixes: d7fdfb6541 ("dt-bindings: thermal: rcar-gen3-thermal: Add r8a779a0 support")
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Link: https://lore.kernel.org/r/20210310110716.3297544-1-niklas.soderlund+renesas@ragnatech.se
2021-03-10 14:19:04 +01:00
Niklas Söderlund
d7fdfb6541
dt-bindings: thermal: rcar-gen3-thermal: Add r8a779a0 support
...
Add support for R-Car V3U. The V3U IP differs a bit from its siblings in
such way that it have 4 TSC nodes and the interrupts are not routed to
the INTC-AP but to the ECM.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Link: https://lore.kernel.org/r/20201126223028.3119044-2-niklas.soderlund+renesas@ragnatech.se
2020-12-08 21:16:35 +01:00
Lad Prabhakar
adfe9285be
dt-bindings: thermal: rcar-gen3-thermal: Add r8a774e1 support
...
Document RZ/G2H (R8A774E1) SoC bindings.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org >
Link: https://lore.kernel.org/r/1594811350-14066-3-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com
2020-10-12 12:08:35 +02:00
Niklas Söderlund
37d1e94692
dt-bindings: thermal: rcar-gen3-thermal: Convert bindings to json-schema
...
Convert Renesas R-Car Gen3 Thermal bindings documentation to
json-schema.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se >
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be >
Signed-off-by: Rob Herring <robh@kernel.org >
2020-05-27 20:36:09 -06:00