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


Groups > linux.kernel > #1425930

[PATCH/RFC 0/3] thermal: rcar_gen3_thermal: Apply shared interrupts for thermal sensors

From Khiem Nguyen <khiem.nguyen.xt@rvc.renesas.com>
Newsgroups linux.kernel
Subject [PATCH/RFC 0/3] thermal: rcar_gen3_thermal: Apply shared interrupts for thermal sensors
Date 2016-06-19 06:20 +0200
Message-ID <rLCnf-5uJ-3@gated-at.bofh.it> (permalink)
References <rLBKx-4Xe-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patchset intents to improve thermal driver operation in interrupt mode,
which has been introduced in [1].

The original idea is using 1 interrupt for each thermal sensor, to detect both up
and down temperature. It caused issue when the temperature is changing rapidly.

The new idea is about using shared interrupt I/F for all three sensors.
Two interrupts will be set to detect temperature up and down. When interrupt occurs,
the temperature will be updated in all 3 sensors, if the temperature value is changed. 

All comments are welcome.

[1]
[PATCH 0/4] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal support
https://www.spinics.net/lists/kernel/msg2282663.html

--
Gaku Inami (3):
  thermal: rcar_gen3_thermal: Modify the shared irq with initialization
  thermal: rcar_gen3_thermal: Modify the way to detect the interrupts
  arm64: dts: r8a7795: Support shared irq for thermal sensors

 arch/arm64/boot/dts/renesas/r8a7795.dtsi |  9 ++--
 drivers/thermal/rcar_gen3_thermal.c      | 89 ++++++++++++++++++++------------
 2 files changed, 63 insertions(+), 35 deletions(-)

-- 
1.9.1

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


Thread

[PATCH 0/4] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal  support Khiem Nguyen <khiem.nguyen.xt@rvc.renesas.com> - 2016-06-19 05:40 +0200
  [PATCH 3/4] arm64: dts: r8a7795: Add R-Car Gen3 thermal support Khiem Nguyen <khiem.nguyen.xt@rvc.renesas.com> - 2016-06-19 05:40 +0200
  [PATCH 2/4] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal driver  support Khiem Nguyen <khiem.nguyen.xt@rvc.renesas.com> - 2016-06-19 05:40 +0200
    [PATCH 4/4] arm64: defconfig: Enable R-Car Gen3 thermal support Khiem Nguyen <khiem.nguyen.xt@rvc.renesas.com> - 2016-06-19 05:40 +0200
  [PATCH/RFC 2/3] thermal: rcar_gen3_thermal: Modify the way to detect  the interrupts Khiem Nguyen <khiem.nguyen.xt@rvc.renesas.com> - 2016-06-19 06:20 +0200
  [PATCH/RFC 0/3] thermal: rcar_gen3_thermal: Apply shared interrupts  for thermal sensors Khiem Nguyen <khiem.nguyen.xt@rvc.renesas.com> - 2016-06-19 06:20 +0200
    [PATCH/RFC 3/3] arm64: dts: r8a7795: Support shared irq for thermal  sensors Khiem Nguyen <khiem.nguyen.xt@rvc.renesas.com> - 2016-06-19 06:20 +0200
      Re: [PATCH/RFC 3/3] arm64: dts: r8a7795: Support shared irq for  thermal sensors Geert Uytterhoeven <geert@linux-m68k.org> - 2016-06-20 10:00 +0200
    [PATCH/RFC 1/3] thermal: rcar_gen3_thermal: Modify the shared irq  with initialization Khiem Nguyen <khiem.nguyen.xt@rvc.renesas.com> - 2016-06-19 06:20 +0200
  Re: [PATCH 0/4] thermal: rcar_gen3_thermal: Add R-Car Gen3 thermal support Geert Uytterhoeven <geert@linux-m68k.org> - 2016-06-20 10:00 +0200

csiph-web