QorIQ TMU multi-sensor and HWMON support
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest12 patches 4 repliesApplied
- v712 patches 5 repliesSuperseded
- v6 posting 2/212 patches 0 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 posting 1/2 | 12 patches | 1 reply | Superseded | |
| v5 | 12 patches | 0 replies | Superseded | |
| v4 | 12 patches | 10 replies | Superseded | |
| v3 | 13 patches | 24 replies | Superseded | |
| v2 | 13 patches | 0 replies | Superseded | |
| v1 | 11 of 12 patches | 4 replies | Superseded |
Changes in v8 from the cover letter
- Rebased on top of 12/05 linux-next
Patches in v8 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | thermal: qoriq: Add local struct device pointerdrivers/ | +6 | 0 replies | |
| 2/12 | thermal: qoriq: Don't store struct thermal_zone_device referencedrivers/ | +11 | 0 replies | |
| 3/12 | thermal: qoriq: Add local struct qoriq_sensor pointerdrivers/ | +9 | 0 replies | |
| 4/12 | thermal: qoriq: Embed per-sensor data into struct qoriq_tmu_datadrivers/ | +8 | 0 replies | |
| 5/12 | thermal: qoriq: Pass data to qoriq_tmu_register_tmu_zone() directlydrivers/ | +4 | 0 replies | |
| 6/12 | thermal: qoriq: Pass data to qoriq_tmu_calibration() directlydrivers/ | +9 | 0 replies | |
| 7/12 | thermal: qoriq: Drop unnecessary drvdata cleanupdrivers/ | +0 | 0 replies | |
| 8/12 | thermal: qoriq: Convert driver to use regmap APIdrivers/ | +98 | 3 replies | |
| 9/12 | thermal: qoriq: Enable all sensors before registering themdrivers/ | +12 | 0 replies | |
| 10/12 | thermal: qoriq: Do not report invalid temperature readingdrivers/ | +18 | 0 replies | |
| 11/12 | thermal_hwmon: Add devres wrapper for thermal_add_hwmon_sysfs()drivers/ drivers/ | +35 | 0 replies | |
| 12/12 | thermal: qoriq: Add hwmon supportdrivers/ | +6 | 0 replies |
Reviews trailers per patch
9 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Lezcano | Lucas Stach |
|---|---|---|
| 1/12 | A-b | T-b |
| 2/12 | A-b | T-b |
| 3/12 | ||
| 4/12 | ||
| 5/12 | A-b | T-b |
| 6/12 | R-b | T-b |
| 7/12 | R-b | T-b |
| 8/12 | R-b | T-b |
| 9/12 | T-b | |
| 10/12 | R-b | T-b |
| 11/12 | R-b | T-b |
| 12/12 | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v8 00/12] QorIQ TMU multi-sensor and HWMON support
Everyone:
This series contains patches adding support for HWMON integration, bug fixes and general improvements (hopefully) for TMU driver I made while working on it on i.MX8MQ.
Feedback is welcome!
Thanks,
Andrey Smirnov
Changes since [v7]:
- Rebased on top of 12/05 linux-next
Changes since [v6]:
- Rebased on top of Zhang's "next" branch
- Added "thermal: qoriq: Drop unnecessary drvdata cleanup"
Changes since [v5]
- Rebased on recent linux-next, dropped "thermal: qoriq: Remove unnecessary DT node is NULL check" since it is already in the tree
- Dropped dependency on [rfc]
Changes since [v4]
- Collected Tested-by from Lucas
- Collected Reviewed-by from Daniel
- Converted "thermal: qoriq: Enable all sensors before registering them" to use if instead of switch statement for error checking
Changes since [v3]
- Series reabse on top of [rfc]
- Fixed incorrect goto label in "thermal: qoriq: Pass data to qoriq_tmu_calibration()"
- Added REGS_TRITSR() register description to "thermal: qoriq: Do not report invalid temperature reading"
- Reworded commit message of "thermal: qoriq: Remove unnecessary DT node is NULL check"
Changes since [v2]
- Patches rebased on v5.1-rc1
Changes since [v1]
- Rebased on "linus" branch of git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git that included latest chagnes adding multi-sensors support
- Dropped
thermal: qoriq: Add support for multiple thremal sites
thermal: qoriq: Be more strict when parsing
thermal: qoriq: Simplify error handling in qoriq_tmu_get_sensor_id()
since they are no longer relevant
- Added
thermal: qoriq: Don't store struct thermal_zone_device reference
thermal: qoriq: Add local struct qoriq_sensor pointer
thermal: qoriq: Embed per-sensor data into struct qoriq_tmu_data
thermal: qoriq: Pass data to qoriq_tmu_register_tmu_zone() directly
to simplify latest codebase
- Changed "thermal: qoriq: Do not report invalid temperature reading" to use regmap_read_poll_timeout() to make sure that tmu_get_temp() waits for fist sample to be ready before reporting it. This case is triggered on my setup if qoriq_thermal is compiled as a module
[v1] lore.kernel.org/lkml/[email protected] [v2] lore.kernel.org/lkml/[email protected] [v3] lore.kernel.org/lkml/[email protected] [v4] lore.kernel.org/lkml/[email protected] [v5] lore.kernel.org/lkml/[email protected] [v6] lore.kernel.org/lkml/[email protected] [v7] lore.kernel.org/lkml/[email protected] [rfc] lore.kernel.org/lkml/[email protected]
Andrey Smirnov (12):
thermal: qoriq: Add local struct device pointer
thermal: qoriq: Don't store struct thermal_zone_device reference
thermal: qoriq: Add local struct qoriq_sensor pointer
thermal: qoriq: Embed per-sensor data into struct qoriq_tmu_data
thermal: qoriq: Pass data to qoriq_tmu_register_tmu_zone() directly
thermal: qoriq: Pass data to qoriq_tmu_calibration() directly
thermal: qoriq: Drop unnecessary drvdata cleanup
thermal: qoriq: Convert driver to use regmap API
thermal: qoriq: Enable all sensors before registering them
thermal: qoriq: Do not report invalid temperature reading
thermal_hwmon: Add devres wrapper for thermal_add_hwmon_sysfs()
thermal: qoriq: Add hwmon support
drivers/thermal/qoriq_thermal.c | 336 +++++++++++++++----------------- drivers/thermal/thermal_hwmon.c | 28 +++ drivers/thermal/thermal_hwmon.h | 7 + 3 files changed, 195 insertions(+), 176 deletions(-)
Signature · 1 line
2.21.0