devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] thermal: Add support for R-Car V3U (r8a779a0)
@ 2020-11-26 22:30 Niklas Söderlund
  2020-11-26 22:30 ` [PATCH 1/3] dt-bindings: thermal: rcar-gen3-thermal: Add r8a779a0 support Niklas Söderlund
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Niklas Söderlund @ 2020-11-26 22:30 UTC (permalink / raw)
  To: Geert Uytterhoeven, devicetree, linux-pm
  Cc: linux-renesas-soc, Niklas Söderlund

Hello,

This series enables support for the R-Car V3U r8a779a0 thermal IP. It 
needs to touch both the device tree schema and driver as the IP is a tad 
different then its siblings in the Gen3 family.

  - It have 4 TSC cells instead of 2-3 that is used in other SoCs.

  - The interrupts are no longer wired to the INTC-AP so the driver 
    can't make use of them directly and are therefor made optional for 
    the V3U bindings. For this reason this series depends on [1].

The driver is tested together with it's dependency [1] and [2] on V3U 
and all 4 thermal sensors behaves as expected. The driver has also been 
tested on other R-Car Gen3 SoC for regressions, none where found.

The additional THCODE tuning parameters used in 3/3 are taken from the 
datasheet example and may need to be updated. In future the tuning 
parameters shall be read from fused registers on the IP directly and the 
hardcoded values in the driver only used as fallback for IP where the 
values are not fused.

1. [PATCH] thermal: rcar_gen3_thermal: Do not use interrupts for normal operation
2. [PATCH 0/2] clk: renesas: r8a779a0: Add clocks to support thermal

Niklas Söderlund (3):
  dt-bindings: thermal: rcar-gen3-thermal: Add r8a779a0 support
  arm64: dts: renesas: r8a779a0: Add thermal support
  thermal: rcar_gen3_thermal: Add r8a779a0 support

 .../bindings/thermal/rcar-gen3-thermal.yaml   | 17 ++++-
 arch/arm64/boot/dts/renesas/r8a779a0.dtsi     | 70 +++++++++++++++++++
 drivers/thermal/rcar_gen3_thermal.c           |  7 +-
 3 files changed, 91 insertions(+), 3 deletions(-)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-01-05 10:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-26 22:30 [PATCH 0/3] thermal: Add support for R-Car V3U (r8a779a0) Niklas Söderlund
2020-11-26 22:30 ` [PATCH 1/3] dt-bindings: thermal: rcar-gen3-thermal: Add r8a779a0 support Niklas Söderlund
2020-12-08 18:11   ` Rob Herring
2020-12-16  2:52   ` Yoshihiro Shimoda
2020-11-26 22:30 ` [PATCH 2/3] arm64: dts: renesas: r8a779a0: Add thermal support Niklas Söderlund
2021-01-05 10:27   ` Geert Uytterhoeven
2020-11-26 22:30 ` [PATCH 3/3] thermal: rcar_gen3_thermal: Add r8a779a0 support Niklas Söderlund
2021-01-05 10:29   ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).