[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210401091648.87421-1-puranjay12@gmail.com>
Date: Thu, 1 Apr 2021 14:46:46 +0530
From: Puranjay Mohan <puranjay12@...il.com>
To: alexandru.ardelean@...log.com, jic23@...nel.org,
devicetree@...r.kernel.org, knaack.h@....de,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
lars@...afoo.de
Cc: Puranjay Mohan <puranjay12@...il.com>
Subject: [PATCH v2 0/2] iio: temperature: add support for tmp117
Add the dt-bindings and the driver for tmp117 sensor.
Changes since v1:
1. Remove unused headers
2. Add error checking in i2c read/write.
3. Correct DT bindings.
4. Correct implementation to return tmp in milli celcius.
5. Remove unused mutex lock.
6. Modify MAINTAINERS.
Changes since v0:
1. Correct Yaml syntax.
2. Change IIO_CHAN_INFO_OFFSET to IIO_CHAN_INFO_CALIBBIAS.
3. Implement IIO_CHAN_INFO_SCALE.
4. Use devm_iio_device_register().
5. Remove unused headers like delay.h
Puranjay Mohan (2):
dt-bindings: iio: temperature: Add DT bindings for TMP117
iio: temperature: add driver support for ti tmp117
.../bindings/iio/temperature/ti,tmp117.yaml | 34 ++++
MAINTAINERS | 7 +
drivers/iio/temperature/Kconfig | 10 +
drivers/iio/temperature/Makefile | 1 +
drivers/iio/temperature/tmp117.c | 179 ++++++++++++++++++
5 files changed, 231 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
create mode 100644 drivers/iio/temperature/tmp117.c
--
2.30.1
Powered by blists - more mailing lists