Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1522496
| From | Lukasz Luba <lukasz.luba@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V4 7/8] thermal: da9062/61: Thermal junction temperature monitoring driver |
| Date | 2016-11-15 10:50 +0100 |
| Message-ID | <sDIxj-3av-5@gated-at.bofh.it> (permalink) |
| References | <sDkOl-4v8-1@gated-at.bofh.it> <sDkY1-4yt-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 14/11/16 08:22, Steve Twiss wrote: > From: Steve Twiss <stwiss.opensource@diasemi.com> > > Add junction temperature monitoring supervisor device driver, compatible > with the DA9062 and DA9061 PMICs. A MODULE_DEVICE_TABLE() macro is added. > > If the PMIC's internal junction temperature rises above TEMP_WARN (125 > degC) an interrupt is issued. This TEMP_WARN level is defined as the > THERMAL_TRIP_HOT trip-wire inside the device driver. > > The thermal triggering mechanism is interrupt based and happens when the > temperature rises above a given threshold level. The component cannot > return an exact temperature, it only has knowledge if the temperature is > above or below a given threshold value. A status bit must be polled to > detect when the temperature falls below that threshold level again. A > kernel work queue is configured to repeatedly poll and detect when the > temperature falls below this trip-wire, between 1 and 10 second intervals > (defaulting at 3 seconds). > > This first level of temperature supervision is intended for non-invasive > temperature control, where the necessary measures for cooling the system > down are left to the host software. > > Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com> > Looks good to me. Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Regards, Lukasz
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH V4 0/8] da9061: DA9061 driver submission Steve Twiss <stwiss.opensource@diasemi.com> - 2016-11-14 09:30 +0100
[PATCH V4 2/8] Documentation: devicetree: thermal: da9062/61 TJUNC temperature binding Steve Twiss <stwiss.opensource@diasemi.com> - 2016-11-14 09:30 +0100
[PATCH V4 8/8] MAINTAINERS: da9062/61 updates to the Dialog Semiconductor search terms Steve Twiss <stwiss.opensource@diasemi.com> - 2016-11-14 09:30 +0100
[PATCH V4 3/8] Documentation: devicetree: mfd: da9062/61 MFD binding Steve Twiss <stwiss.opensource@diasemi.com> - 2016-11-14 09:30 +0100
[PATCH V4 1/8] Documentation: devicetree: watchdog: da9062/61 watchdog timer binding Steve Twiss <stwiss.opensource@diasemi.com> - 2016-11-14 09:30 +0100
[PATCH V4 4/8] mfd: da9061: MFD core support Steve Twiss <stwiss.opensource@diasemi.com> - 2016-11-14 09:40 +0100
[PATCH V4 6/8] watchdog: da9062/61: watchdog driver Steve Twiss <stwiss.opensource@diasemi.com> - 2016-11-14 09:40 +0100
[PATCH V4 7/8] thermal: da9062/61: Thermal junction temperature monitoring driver Steve Twiss <stwiss.opensource@diasemi.com> - 2016-11-14 09:40 +0100
Re: [PATCH V4 7/8] thermal: da9062/61: Thermal junction temperature monitoring driver Lukasz Luba <lukasz.luba@arm.com> - 2016-11-15 10:50 +0100
[PATCH V4 5/8] regulator: da9061: BUCK and LDO regulator driver Steve Twiss <stwiss.opensource@diasemi.com> - 2016-11-14 09:40 +0100
csiph-web