mbox series

[0/2] iio: Add device tree support for silabs,si7005

Message ID 20231012-topic-si7005_devicetree-v1-0-6c8a6fa7b3ec@gmail.com (mailing list archive)
Headers show
Series iio: Add device tree support for silabs,si7005 | expand

Message

Javier Carrasco Oct. 12, 2023, 8:07 p.m. UTC
This series adds device tree support for the IIO humidity sensor si7005
and extends the trivial-devices binding to document the addition.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Javier Carrasco (2):
      iio: si7005: Add device tree support
      dt-bindings: trivial-devices: add silabs,si7005

 Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
 drivers/iio/humidity/si7005.c                          | 7 +++++++
 2 files changed, 9 insertions(+)
---
base-commit: 401644852d0b2a278811de38081be23f74b5bb04
change-id: 20231012-topic-si7005_devicetree-644b61b62178

Best regards,

Comments

Jonathan Cameron Oct. 14, 2023, 4:14 p.m. UTC | #1
On Thu, 12 Oct 2023 22:07:06 +0200
Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:

> This series adds device tree support for the IIO humidity sensor si7005
> and extends the trivial-devices binding to document the addition.
> 
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> ---
> Javier Carrasco (2):
>       iio: si7005: Add device tree support
>       dt-bindings: trivial-devices: add silabs,si7005
> 
>  Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
>  drivers/iio/humidity/si7005.c                          | 7 +++++++
>  2 files changed, 9 insertions(+)
> ---
> base-commit: 401644852d0b2a278811de38081be23f74b5bb04
> change-id: 20231012-topic-si7005_devicetree-644b61b62178
> 
> Best regards,

Applied to the togreg branch of iiog.it and pushed out as testing for
0-day to take a look at it.

I'll note though that I would expect the fallback path for i2c bindings
to have worked here in which it matches the 'device' bit of the compatible
(ignoring the vendor) with entries in the i2c_device_id table.

I prefer explicit support like you have added here though as that
avoids clashes when different manufacturers use the same part number etc.

Thanks,

Jonathan