Add basic function support for P3T1085 temperature sensor.
- reuse tmp108 driver
- Update imx93-9x9-qsb.dts
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Jonathan Cameron <jic23@kernel.org>
To: Lars-Peter Clausen <lars@metafoo.de>
To: Shawn Guo <shawnguo@kernel.org>
To: Sascha Hauer <s.hauer@pengutronix.de>
To: Pengutronix Kernel Team <kernel@pengutronix.de>
To: Fabio Estevam <festevam@gmail.com>
To: Jean Delvare <jdelvare@suse.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: imx@lists.linux.dev
Cc: linux-arm-kernel@lists.infradead.org
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-hwmon@vger.kernel.org
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Changes in v3:
- Change cover letter subject
- Split compatible string change to a new patch
- Remove i3c/master.h
- Update document about p3t1085
- Link to v2: https://lore.kernel.org/r/20241108-p3t1085-v2-0-6a8990a59efd@nxp.com
Changes in v2:
- Amost rewrite and reuse existed TMP108 driver
- Link to v1: https://lore.kernel.org/r/20241107-p3t1085-v1-0-9a76cb85673f@nxp.com
---
Frank Li (5):
dt-bindings: hwmon: ti,tmp108: Add nxp,p3t1085 compatible string
hwmon: tmp108: Add NXP p3t1085 support
hwmon: tmp108: Add helper function tmp108_common_probe() to prepare I3C support
hwmon: tmp108: Add support for I3C device
arm64: dts: imx93-9x9-qsb: add temp-sensor nxp,p3t1085
.../devicetree/bindings/hwmon/ti,tmp108.yaml | 8 ++-
Documentation/hwmon/tmp108.rst | 8 +++
arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts | 5 ++
drivers/hwmon/Kconfig | 3 +-
drivers/hwmon/tmp108.c | 71 ++++++++++++++++------
5 files changed, 74 insertions(+), 21 deletions(-)
---
base-commit: 74741a050b79d31d8d2eeee12c77736596d0a6b2
change-id: 20241107-p3t1085-fbd8726cbc0e
Best regards,
---
Frank Li <Frank.Li@nxp.com>