Skip to content

thermal: iio bindings

Srinivas Pandruvada linux-iio linux-pm 1 version In review

Get series with b4
b4 am 1443305111-28272-1-git-send-email-srinivas.pandruvada@linux.intel.com

Versions newest first

  1. v1 Latest6 patches 8 repliesIn review

Changes in v1 from the cover letter

- Change commit message to be more clear
- Split in three patches (First for thermal_iio.c, second to integrate to thermal_core and third for user space governor).
- Removed IIO defines in thermal.h
- Removed direct push to buffers
- Other comments from Jonathan except introduce validate_trigger

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6thermal: core: enhance thermal_zone_device_updatedrivers/acpi/thermal.c drivers/platform/x86/acerhdf.c drivers/thermal/db8500_thermal.c +14 more+40 -240 replies
2/6thermal: documentation updateDocumentation/thermal/sysfs-api.txt+10 -00 replies
3/6thermal: iio device for thermal sensordrivers/thermal/Kconfig drivers/thermal/Makefile drivers/thermal/thermal_iio.c +2 more+454 -04 replies
4/6thermal: use iio binding callsdrivers/thermal/thermal_core.c+9 -10 replies
5/6thermal: iio DocumentationDocumentation/thermal/thermal_iio_binding+88 -02 replies
6/6thermal: x86_pkg_temp: Register threshold callbacksdrivers/thermal/x86_pkg_temp_thermal.c+8 -00 replies

Reviews trailers per patch

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

PatchJonathan Cameron
1/6
2/6
3/6R-b
4/6
5/6
6/6

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/6] thermal: iio bindings

v0
Since this was discussed during LPC in Seattle and three versions of RFC are published and reviwed, this is posted as non RFC version. This has changes in iio interface file as suggested by Jonathan. We may add threshold event direction flag later if required, without much impact by adding new event type.

RFC v2
- Rebase to 4.3.rc1
- Additional parameter to thermal_zone_device_update for event type
- Moved the dummy IIO callbacks to local include file, in this way "not used" warnings can be avoided
- Remove changes from user space governor, rather notify from core
- Validate the trigger, so that when thermal device supports async notifications, this will be exclusive trigger
- Use new thermal core event type to differentiate events for iio threshold notification

RFC v1
- Change commit message to be more clear
- Split in three patches (First for thermal_iio.c, second to integrate to thermal_core and third for user space governor).
- Removed IIO defines in thermal.h
- Removed direct push to buffers
- Other comments from Jonathan except introduce validate_trigger

RFC v0
Base version for first review

Srinivas Pandruvada (6):
thermal: core: enhance thermal_zone_device_update
thermal: documentation update
thermal: iio device for thermal sensor
thermal: use iio binding calls
thermal: iio Documentation
thermal: x86_pkg_temp: Register threshold callbacks

 Documentation/thermal/sysfs-api.txt                |  10 +
 Documentation/thermal/thermal_iio_binding          |  88 +++++
 drivers/acpi/thermal.c                             |   2 +-
 drivers/platform/x86/acerhdf.c                     |   2 +-
 drivers/thermal/Kconfig                            |  12 +
 drivers/thermal/Makefile                           |   1 +
 drivers/thermal/db8500_thermal.c                   |   2 +-
 drivers/thermal/hisi_thermal.c                     |   3 +-
 drivers/thermal/imx_thermal.c                      |   4 +-
 .../thermal/int340x_thermal/int340x_thermal_zone.h |   2 +-
 drivers/thermal/intel_soc_dts_iosf.c               |   3 +-
 drivers/thermal/of-thermal.c                       |   2 +-
 drivers/thermal/qcom-spmi-temp-alarm.c             |   2 +-
 drivers/thermal/rcar_thermal.c                     |   3 +-
 drivers/thermal/rockchip_thermal.c                 |   3 +-
 drivers/thermal/samsung/exynos_tmu.c               |   2 +-
 drivers/thermal/st/st_thermal_memmap.c             |   3 +-
 drivers/thermal/thermal_core.c                     |  21 +-
 drivers/thermal/thermal_iio.c                      | 383 +++++++++++++++++++++
 drivers/thermal/thermal_iio.h                      |  45 +++
 drivers/thermal/ti-soc-thermal/ti-thermal-common.c |   4 +-
 drivers/thermal/x86_pkg_temp_thermal.c             |  11 +-
 include/linux/thermal.h                            |  26 +-
 23 files changed, 609 insertions(+), 25 deletions(-)
 create mode 100644 Documentation/thermal/thermal_iio_binding
 create mode 100644 drivers/thermal/thermal_iio.c
 create mode 100644 drivers/thermal/thermal_iio.h
Signature · 1 line
2.4.3