[PATCHv3 0/4] DA9052 hardware monitoring improvements

Sebastian Reichel
2017-06-29T12:43:57Z

Hi,

GE Healthcare's PPD [0] uses DA9053's touchscreen pins
for hardware monitoring purposes. This adds support for
the feature and fixes a bug, which came up during
stress-testing of the driver.

[0] https://patchwork.kernel.org/patch/9809681/

Changes since PATCHv2:
- switch from diag, to dlg, prefix
- add/use defines for accessing bits in registers
- provide more details in the comment above early exit
in touchscreen driver
- switch to da9052_group_read() to ensure MSB and LSB
are in sync
- move binding update into its own patch
- rename patch

Changes since PATCHv1:
- convert tsiref-microvolt property into proper regulator
- drop error message for timeout
- simplify da9052_channel_is_visible()
- fix checkpatch warnings

-- Sebastian

Sebastian Reichel (4):
mfd: da9052: fix manual ADC read after timed out read
hwmon: da9052: replace S_IRUGO with 0444
dt-bindings: mfd: da9052: support TSI as ADC
hwmon: da9052: add support for TSI channel

.../devicetree/bindings/mfd/da9052-i2c.txt | 8 +
drivers/hwmon/da9052-hwmon.c | 284 +++++++++++++++++++--
drivers/input/touchscreen/da9052_tsi.c | 9 +
drivers/mfd/da9052-core.c | 2 +
include/linux/mfd/da9052/da9052.h | 6 +
include/linux/mfd/da9052/reg.h | 11 +-
6 files changed, 297 insertions(+), 23 deletions(-)

--
2.11.0