Skip to content

OMAP3 temperature sensor

Sebastian Reichel linux-arm-kernel linux-devicetree linux-omap lkml lm-sensors 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3DT Binding for omap3 temperature sensorDocumentation/devicetree/bindings/hwmon/omap3-temperature.txt+25 -03 replies
2/3hwmon: Driver for OMAP3 temperature sensordrivers/hwmon/Kconfig drivers/hwmon/Makefile drivers/hwmon/omap3-temp.c+316 -021 replies
3/3ARM: dts: OMAP34xx/36xx: Add temperature sensorarch/arm/boot/dts/omap34xx.dtsi arch/arm/boot/dts/omap36xx.dtsi+14 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchPavel Machek
1/3A-b
2/3
3/3A-b T-b

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

Read the v1 thread

Cover letter [PATCH 0/3] OMAP3 temperature sensor

Hi,

I've prepared an updated variant of the omap34xx temperature monitor driver. It's based on the N9 driver instead of the N900 driver (and thus has omap36xx support).

The differences compared to the original driver are:

* DT based
* No includes from arch, instead uses syscon DT node + regmap
* Removed support for raw temperature reading
- I assume this was used for debugging and regmap can be used instead with newer kernels.
* Introduction of managed resources where possible
* Usage of module_platform_driver() macro
* Added some comments referencing the TRM

So far the patchset is _compile-tested only_. I will test it on my N900 in the next days.

-- Sebastian

Sebastian Reichel (3):
DT Binding for omap3 temperature sensor
hwmon: Driver for OMAP3 temperature sensor
ARM: dts: OMAP34xx/36xx: Add temperature sensor

 .../bindings/hwmon/omap3-temperature.txt           |  25 ++
 arch/arm/boot/dts/omap34xx.dtsi                    |   7 +
 arch/arm/boot/dts/omap36xx.dtsi                    |   7 +
 drivers/hwmon/Kconfig                              |   8 +
 drivers/hwmon/Makefile                             |   1 +
 drivers/hwmon/omap3-temp.c                         | 307 +++++++++++++++++++++
 6 files changed, 355 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/omap3-temperature.txt
 create mode 100644 drivers/hwmon/omap3-temp.c
Signature · 1 line
2.1.3