Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1475543

[PATCH 0/5 v2] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal support

From Khiem Nguyen <khiem.nguyen.xt@renesas.com>
Newsgroups linux.kernel
Subject [PATCH 0/5 v2] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal support
Date 2016-09-03 07:30 +0200
Message-ID <sdbGG-16Y-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This patchset adds new thermal sensor driver to support 3 sensors found in R-Car Gen3 series.

It has been decided to create new driver, instead of using the existing thermal driver
due to many differences in HW setting flows, the method to calculate temperatures value
and some newly supported features.

The new driver can support both polling mode and interrupt mode.
It has been tested with R-Car H3. I expect same result on R-Car M3.

This driver is developed based on early work of Hien Dang and Thao Nguyen.
All comments are welcome.

Khiem Nguyen (5):
  thermal: rcar_gen3_thermal: Document the R-Car Gen3 thermal bindings
  thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal driver support
  arm64: dts: r8a7795: Add R-Car Gen3 thermal support
  arm64: dts: r8a7796: Add R-Car Gen3 thermal support
  arm64: defconfig: Enable R-Car Gen3 thermal support

 .../bindings/thermal/rcar-gen3-thermal.txt         |  79 +++
 arch/arm64/boot/dts/renesas/r8a7795.dtsi           |  83 ++++
 arch/arm64/boot/dts/renesas/r8a7796.dtsi           |  83 ++++
 arch/arm64/configs/defconfig                       |   2 +
 drivers/thermal/Kconfig                            |   9 +
 drivers/thermal/Makefile                           |   1 +
 drivers/thermal/rcar_gen3_thermal.c                | 539 +++++++++++++++++++++
 7 files changed, 796 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
 create mode 100644 drivers/thermal/rcar_gen3_thermal.c

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/5 v2] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal  support Khiem Nguyen <khiem.nguyen.xt@renesas.com> - 2016-09-03 07:30 +0200
  Re: [PATCH 0/5 v2] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal support Geert Uytterhoeven <geert@linux-m68k.org> - 2016-09-05 12:10 +0200
    RE: [PATCH 0/5 v2] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal  support Khiem Nguyen <khiem.nguyen.xt@renesas.com> - 2016-09-05 14:30 +0200

csiph-web