This patch series makes it possible to configure some HW features at runtime by introducing new IIO device attributes. 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 3/3 commit message for complete explanation). These patches have been tested backporting the driver on a 4.9 upstream kernel (Xilinx mpsoc-based board), and then rebased on the IIO testing git tree. Andrea Merello (3): iio: max31856: add option for setting mains filter rejection frequency iio: max31856: add support for configuring the HW averaging iio: max31856: add support for runtime-configuring the thermocouple type drivers/iio/temperature/max31856.c | 136 +++++++++++++++++++++++++++++ 1 file changed, 136 insertions(+) -- 2.17.1