Skip to content

Thermal fixes for omaps for single mode read

Tony Lindgren linux-omap linux-pm lkml 1 version Applied

Status from this message: The following commit has been merged into the thermal/next branch of thermal:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 2 repliesApplied

Changes in v2 from the cover letter

- Use better MODE_CONFIG checks as suggested by Peter
- Fix issues for omap3 as noted by Adam
- Fix handling for dra7

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4thermal: ti-soc-thermal: Skip pointless register access for dra7drivers/thermal/ti-soc-thermal/ti-bandgap.c+15 -140 replies
2/4thermal: ti-soc-thermal: Fix stuck sensor with continuous mode for 4430drivers/thermal/ti-soc-thermal/omap4-thermal-data.c drivers/thermal/ti-soc-thermal/ti-bandgap.c drivers/thermal/ti-soc-thermal/ti-bandgap.h+14 -40 replies
3/4thermal: ti-soc-thermal: Simplify polling with iopolldrivers/thermal/ti-soc-thermal/ti-bandgap.c+14 -161 reply
4/4thermal: ti-soc-thermal: Use non-inverted define for omap4drivers/thermal/ti-soc-thermal/omap4-thermal-data.c drivers/thermal/ti-soc-thermal/omap4xxx-bandgap.h+4 -41 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchPavel MachekAdam Ford
1/4
2/4
3/4T-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCHv2 0/4] Thermal fixes for omaps for single mode read

Hi all,

Here's v2 set of thermal fixes for single mode read. Turns out the EOCZ and SOC bit handling is quite different between the various SoCs.

With these changes we fix the following issues for reading a single sample:

- Get rid of pointless register access and loops for dra7

- Fix omap3 to use proper timeouts, the current looping is way too short and always times out probably leading to bogus values as folks have reported

- Fix omap4430 where EOCZ only seems to work for continuous mode

Regards,

Tony

Changes since v1:
- Use better MODE_CONFIG checks as suggested by Peter
- Fix issues for omap3 as noted by Adam
- Fix handling for dra7

Tony Lindgren (4):
thermal: ti-soc-thermal: Skip pointless register access for dra7
thermal: ti-soc-thermal: Fix stuck sensor with continuous mode for

    4430

thermal: ti-soc-thermal: Simplify polling with iopoll
thermal: ti-soc-thermal: Use non-inverted define for omap4

 .../ti-soc-thermal/omap4-thermal-data.c       |  7 +--
 .../thermal/ti-soc-thermal/omap4xxx-bandgap.h |  4 +-
 drivers/thermal/ti-soc-thermal/ti-bandgap.c   | 54 ++++++++++---------
 drivers/thermal/ti-soc-thermal/ti-bandgap.h   |  2 +
 4 files changed, 38 insertions(+), 29 deletions(-)
Signature · 1 line
2.30.0