Re: [PATCH v4 00/12] QorIQ TMU multi-sensor and HWMON support
From: Lucas Stach
Date: Tue Apr 16 2019 - 13:25:05 EST
Series is:
Tested-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
Regards,
Lucas
Am Samstag, den 13.04.2019, 01:27 -0700 schrieb Andrey Smirnov:
> 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 [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/20190218191141.3729-1-andrew.smirnov@xxxxxxxxx
> [v2] lore.kernel.org/lkml/20190222200508.26325-1-andrew.smirnov@xxxxxxxxx
> [v3] lore.kernel.org/lkml/20190401041418.5999-1-andrew.smirnov@xxxxxxxxx
> [rfc] lore.kernel.org/lkml/20190404080647.8173-1-daniel.lezcano@xxxxxxxxxx
>
> Andrey Smirnov (12):
> Â thermal: qoriq: Remove unnecessary DT node is NULL check
> Â thermal: qoriq: Add local struct device pointer
> Â thermal: qoriq: Don't store struct thermal_zone_device reference
> Â thermal: qoriq: Drop per-sensor data
> Â thermal: qoriq: Pass data to qoriq_tmu_register_tmu_zone() directly
> Â thermal: qoriq: Pass data to qoriq_tmu_calibration() directly
> Â thermal: qoriq: Convert driver to use devm_ioremap()
> Â 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 | 287 +++++++++++++++-----------------
> Âdrivers/thermal/thermal_hwmon.c |ÂÂ28 ++++
> Âdrivers/thermal/thermal_hwmon.h |ÂÂÂ7 +
> Â3 files changed, 171 insertions(+), 151 deletions(-)
>