iio: max31856: provide more configuration options
Status from this message: Applied
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest9 patches 10 repliesApplied
- v29 patches 8 repliesSuperseded
- v13 patches 18 repliesSuperseded
Changes in v2 from the cover letter
- 1/9 and 3/9: changed attribute name to better match IIO naming convention
- 2/9: added separate patch to document new attribute name introduced in 1/9
- 4/9, 5/9, 6/9: new patches to add support to IIO core for handling thermocouple_type addribute. Most notably 4/9 introduces support for handling 'char' type IIO sysfs attributes; RFC on this.
- 7/9: take advantage of just-added IIO thermocouple_type attribute instead of using extended custom attribute
- 8/9 and 9/9: new patches to make maxim_thermocouple driver to export (RO) thermocouple_type attribute
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | iio: max31856: add option for setting mains filter rejection frequencydrivers/ | +50 | 1 reply | |
| 2/9 | Documentation: ABI: document IIO in_temp_filter_notch_center_frequency fileDocumentation/ | +7 | 1 reply | |
| 3/9 | iio: max31856: add support for configuring the HW averagingdrivers/ | +43 | 1 reply | |
| 4/9 | RFC: iio: core: add char type for sysfs attributesdrivers/ include/ | +19 | 1 reply | |
| 5/9 | iio: core: add thermocouple_type standard attributedrivers/ include/ | +2 | 1 reply | |
| 6/9 | Documentation: ABI: document IIO thermocouple_type fileDocumentation/ | +6 | 1 reply | |
| 7/9 | iio: max31856: add support for runtime-configuring the thermocouple typedrivers/ | +40 | 2 replies | |
| 8/9 | RFC/RFT: iio: maxim_thermocouple: add thermocouple_type sysfs attributedrivers/ | +41 | 1 reply | |
| 9/9 | dt-bindings: iio: maxim_thermocouple: document new 'compatible' stringsDocumentation/ | +5 | 1 reply |
Reviews trailers per patch
2 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Matt Ranostay | Rob Herring |
|---|---|---|
| 1/9 | R-b | |
| 2/9 | ||
| 3/9 | ||
| 4/9 | ||
| 5/9 | ||
| 6/9 | ||
| 7/9 | ||
| 8/9 | ||
| 9/9 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [v3 0/9] iio: max31856: provide more configuration options
This series was born in order to provide more configuration options for max31856 devices. In this version, in order to do that, it also extends the IIO core. While at it, I've also updated maxim_thermocouple driver to take (little) advantage of the said change.
Two hardware features (power mains noise rejection and HW averaging) were not previously configurable, and one (thermocouple type selection) was only possible via DT, but in my experience this is quite limiting in several scenario (see 7/9 commit message for complete explanation).
These patches have been tested backporting max31856 driver on a 4.19 upstream kernel (Xilinx mpsoc-based board), and then rebased on the IIO testing git tree.
I have real HW for max31856, while for maxim_thermocouple I've tested my changes as much as I could just spoofing in the DT (no real HW).
Changes is v3:
- all: removed a always-failing e-mail address from CC list
- 3/9 and 7/9: fix: a change that should belong to 7/9 was actually contained in 3/9
- 6/9: explicitly list all thermocouple types
- 7/9 and 8/9: killed whitespace/newline stray changes
Beside that:
- 1/9: got a reviewed-by in commit comment
- 9/9: got an acked-by in commit comment
Other patches remained unchanged
Changes in v2:
- 1/9 and 3/9: changed attribute name to better match IIO naming convention
- 2/9: added separate patch to document new attribute name introduced in 1/9
- 4/9, 5/9, 6/9: new patches to add support to IIO core for handling thermocouple_type addribute. Most notably 4/9 introduces support for handling 'char' type IIO sysfs attributes; RFC on this.
- 7/9: take advantage of just-added IIO thermocouple_type attribute instead of using extended custom attribute
- 8/9 and 9/9: new patches to make maxim_thermocouple driver to export (RO) thermocouple_type attribute
Andrea Merello (9):
iio: max31856: add option for setting mains filter rejection frequency
Documentation: ABI: document IIO in_temp_filter_notch_center_frequency
file
iio: max31856: add support for configuring the HW averaging
RFC: iio: core: add char type for sysfs attributes
iio: core: add thermocouple_type standard attribute
Documentation: ABI: document IIO thermocouple_type file
iio: max31856: add support for runtime-configuring the thermocouple
type
RFC/RFT: iio: maxim_thermocouple: add thermocouple_type sysfs
attribute
dt-bindings: iio: maxim_thermocouple: document new 'compatible'
strings
Documentation/ABI/testing/sysfs-bus-iio | 13 ++ .../iio/temperature/maxim_thermocouple.txt | 7 +- drivers/iio/industrialio-core.c | 23 ++- drivers/iio/temperature/max31856.c | 134 +++++++++++++++++- drivers/iio/temperature/maxim_thermocouple.c | 44 +++++- include/linux/iio/types.h | 2 + 6 files changed, 213 insertions(+), 10 deletions(-)
Cc: Hartmut Knaack <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Peter Meerwald-Stadler <[email protected]>
Cc: Colin Ian King <[email protected]>
Cc: Patrick Havelange <[email protected]>
Cc: Matt Weber <[email protected]>
Cc: Matt Ranostay <[email protected]>
Cc: Chuhong Yuan <[email protected]>
Cc: Daniel Gomez <[email protected]>
Cc: [email protected]
--
2.17.1