Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/4] iio: light: gp2ap020a00f: Add supplies and GP2AP030A00F support
@ 2026-11-07 23:31 Linus Walleij
  2026-11-07 23:31 ` [PATCH 1/4] dt-bindings: iio: light: sharp,gp2ap020a00f: Add supplies Linus Walleij
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Linus Walleij @ 2026-11-07 23:31 UTC (permalink / raw)
  To: linux-iio, Jonathan Cameron, David Lechner, Nuno Sá,
	Andy Shevchenko, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Kyungmin Park
  Cc: devicetree, Linus Walleij

Describe and enable optional core and I2C/interrupt pull-up supplies for
the GP2AP020A00F. Preserve compatibility with existing device trees that
only describe the LED supply.

Extend the existing binding and driver to support the GP2AP030A00F. It
shares the register layout, but has different proximity resolution
encodings and no automatic lux calculation. Select model-specific
initialization, keep reserved bits clear and expose fixed-range raw
clear and infrared counts. Keep generic supply handling in separate
patches from the model-specific binding and driver additions.

Assisted by LLM.

Signed-off-by: Linus Walleij <linusw@kernel.org>
---
Linus Walleij (4):
      dt-bindings: iio: light: sharp,gp2ap020a00f: Add supplies
      dt-bindings: iio: light: sharp,gp2ap020a00f: Add GP2AP030A00F
      iio: light: gp2ap020a00f: Enable the core and I/O supplies
      iio: light: gp2ap020a00f: Add GP2AP030A00F support

 .../bindings/iio/light/sharp,gp2ap020a00f.yaml     | 20 ++++-
 drivers/iio/light/Kconfig                          |  6 +-
 drivers/iio/light/gp2ap020a00f.c                   | 88 ++++++++++++++++++++--
 3 files changed, 100 insertions(+), 14 deletions(-)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261107-gp2ap030-99504c2dc038

Best regards,
--  
Linus Walleij <linusw@kernel.org>


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

end of thread, other threads:[~2026-11-08 21:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-07 23:31 [PATCH 0/4] iio: light: gp2ap020a00f: Add supplies and GP2AP030A00F support Linus Walleij
2026-11-07 23:31 ` [PATCH 1/4] dt-bindings: iio: light: sharp,gp2ap020a00f: Add supplies Linus Walleij
2026-11-07 23:58   ` Jonathan Cameron
2026-11-08 16:08     ` Linus Walleij
2026-11-07 23:31 ` [PATCH 2/4] dt-bindings: iio: light: sharp,gp2ap020a00f: Add GP2AP030A00F Linus Walleij
2026-11-08  0:02   ` Jonathan Cameron
2026-11-07 23:31 ` [PATCH 3/4] iio: light: gp2ap020a00f: Enable the core and I/O supplies Linus Walleij
2026-11-08  0:03   ` Jonathan Cameron
2026-11-07 23:31 ` [PATCH 4/4] iio: light: gp2ap020a00f: Add GP2AP030A00F support Linus Walleij
2026-11-08  0:21   ` Jonathan Cameron
2026-11-08 21:13     ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox