devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] thermal: add support for r8a77995
@ 2018-05-20  9:26 Yoshihiro Kaneko
  2018-05-20  9:26 ` [PATCH v4 1/3] thermal: rcar_thermal: add r8a77995 support Yoshihiro Kaneko
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Yoshihiro Kaneko @ 2018-05-20  9:26 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Zhang Rui, Eduardo Valentin, Rob Herring, Simon Horman,
	Magnus Damm, linux-pm, devicetree

This series adds thermal support for r8a77995.
R-Car D3 (r8a77995) have a thermal sensor module which is similar to Gen2.
Therefore this series adds r8a77995 support to rcar_thermal driver not
rcar_gen3_thermal driver.

This series is based on the next branch of Zhang Rui's linux tree.

v4 [Yoshihiro Kaneko]
rcar_thermal.c:
- add Tested-by tag
* As suggested by Simon Horman
- add comment to ".nirqs = 2" of rcar_gen3_thermal

rcar-thermal.txt:
* As suggested by Simon Horman
- update the explanation of the interrupts

r8a77995.dtsi:
- repositioned the thermal subnode by bus address order


v3 [Yoshihiro Kaneko]
* As suggested by Geert Uytterhoeven
rcar_thermal.c:
- make use_of_thermal in structure rcar_thermal_chip a single bit
- add feature bits to rcar_thermal_chip
- add the number of interrupts to rcar_thermal_chip
- remove rcar_thermal_type in rcar_thermal_cip
- make variable chip in rcar_thermal_probe() a const

rcar-thermal.txt:
* No change

r8a77995.dtsi:
* No change


v2 [Yoshihiro Kaneko]
* As suggested by Geert Uytterhoeven
rcar_thermal.c:
- remove rcar_of_data macro
- store a pointer to rcar_thermal_chip in rcar_thermal_priv
- remove unnecessary cast in rcar_thermal_dt_ids

rcar-thermal.txt:
- drop the fallback for D3
- update the paragraph about interrupts

r8a77995.dtsi:
- fix the base address and the register addresses
- drop the fallback

Yoshihiro Kaneko (3):
  thermal: rcar_thermal: add r8a77995 support
  dt-bindings: thermal: rcar-thermal: add R8A77995 support
  arm64: dts: renesas: r8a77995: add thermal device support

 .../devicetree/bindings/thermal/rcar-thermal.txt   |   7 +-
 arch/arm64/boot/dts/renesas/r8a77995.dtsi          |  31 ++++
 drivers/thermal/rcar_thermal.c                     | 158 ++++++++++++++++-----
 3 files changed, 162 insertions(+), 34 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2018-05-23  8:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-20  9:26 [PATCH v4 0/3] thermal: add support for r8a77995 Yoshihiro Kaneko
2018-05-20  9:26 ` [PATCH v4 1/3] thermal: rcar_thermal: add r8a77995 support Yoshihiro Kaneko
2018-05-23  8:43   ` Simon Horman
2018-05-20  9:26 ` [PATCH v4 2/3] dt-bindings: thermal: rcar-thermal: add R8A77995 support Yoshihiro Kaneko
2018-05-22 16:30   ` Rob Herring
2018-05-23  8:42   ` Simon Horman
2018-05-20  9:26 ` [PATCH v4 3/3] arm64: dts: renesas: r8a77995: add thermal device support Yoshihiro Kaneko
2018-05-23  8:44   ` Simon Horman

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