devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/3] iio:light: add driver for veml6046x00 RGBIR color sensor
@ 2025-07-15  8:58 Andreas Klinger
  2025-07-15  8:58 ` [PATCH v6 1/3] dt-bindings: iio: light: veml6046x00: add " Andreas Klinger
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Andreas Klinger @ 2025-07-15  8:58 UTC (permalink / raw)
  To: jic23, robh, krzk+dt, conor+dt
  Cc: lars, javier.carrasco.cruz, mazziesaccount, andriy.shevchenko,
	arthur.becker, perdaniel.olsson, mgonellabolduc, muditsharma.info,
	clamor95, emil.gedenryd, ak, devicetree, linux-iio, linux-kernel

This patchset adds an IIO driver for Vishay veml6046x00 RGBIR color sensor

Changes in v6:
- Thanks to the in-depth review of Andy many datatype improvements were
  realized.
- According to Jonathans review change the channel types from IIO_LIGHT to
  IIO_INTENSITY.

Changes in v5:
- Thanks to the feedback of Andy and further explanations of Jonathan many
  improvements could be implemented.
- add documentation in kernel-doc format
- iio_push_to_buffers_with_ts() is not used as also testing against
  linux-stable where it is not available so far.

Changes in v4:
- implement feedback from Andy and Jonathan
- implement feedback from vendor (reading interrupt register as bulk read)

Changes in v3:
- implement a lot of feedback from Jonathan
- change scale value to real factor of lux per raw count instead of hardware
  gain
- optimize code by using more lookup tables
- remove unimplemented threshold functionality

Changes in v2:
- fix missing include for example in vishay,veml6046x00.yaml

Andreas Klinger (3):
  dt-bindings: iio: light: veml6046x00: add color sensor
  iio: light: add support for veml6046x00 RGBIR color sensor
  MAINTAINER: add maintainer for veml6046x00

 .../iio/light/vishay,veml6046x00.yaml         |   51 +
 MAINTAINERS                                   |    6 +
 drivers/iio/light/Kconfig                     |   13 +
 drivers/iio/light/Makefile                    |    1 +
 drivers/iio/light/veml6046x00.c               | 1037 +++++++++++++++++
 5 files changed, 1108 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/light/vishay,veml6046x00.yaml
 create mode 100644 drivers/iio/light/veml6046x00.c

-- 
2.39.5


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-08-22  7:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-15  8:58 [PATCH v6 0/3] iio:light: add driver for veml6046x00 RGBIR color sensor Andreas Klinger
2025-07-15  8:58 ` [PATCH v6 1/3] dt-bindings: iio: light: veml6046x00: add " Andreas Klinger
2025-07-15  8:58 ` [PATCH v6 2/3] iio: light: add support for veml6046x00 RGBIR " Andreas Klinger
2025-07-16  7:34   ` Andy Shevchenko
2025-07-25  7:32     ` Andreas Klinger
2025-08-21  9:43       ` Andy Shevchenko
2025-08-21 18:53         ` Andreas Klinger
2025-08-22  5:39           ` Matti Vaittinen
2025-08-22  7:23             ` Andy Shevchenko
2025-08-22  7:59               ` Andy Shevchenko
2025-07-19 17:13   ` Jonathan Cameron
2025-07-15  8:58 ` [PATCH v6 3/3] MAINTAINER: add maintainer for veml6046x00 Andreas Klinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).