hwmon: lm90: Fix DT channel constraints and reject unsupported channel 2
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesApplied
- v12 patches 2 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: hwmon: national,lm90: Fix channel constraints for temperature offsetDocumentation/ | +25 | 3 replies | |
| 2/2 | hwmon: (lm90) Reject channel 2 on chips with only one remote sensordrivers/ | +5 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Conor Dooley |
|---|---|
| 1/2 | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] hwmon: lm90: Fix DT channel constraints and reject unsupported channel 2
The intention of this patch series is to fix DT channel constrains in the dt-bindings and inprove the driver to reject unsupported channel 2.
dt-bindings:
Forbid temperature-offset-millicelsius on channel@0 (local sensor). Rejecting of assigning temperature-offset-millicelsius for channel@0 is already implemented in the driver.
Reject channel@2 for compatibles that have only one remote sensor.
driver:
If the sensor have only one remote channel, reject a possible unsupported channel 2 and return an error, similar to miss-assigment of temperature -offset-millicelsius property to channel@0.
Flaviu Nistor (2):
dt-bindings: hwmon: national,lm90: Fix channel constraints for
temperature offset
hwmon: (lm90) Reject channel 2 on chips with only one remote sensor
.../bindings/hwmon/national,lm90.yaml | 28 +++++++++++++++++-- drivers/hwmon/lm90.c | 5 ++++ 2 files changed, 30 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1