* [RFC PATCH v2 1/2] dt-bindings: iio: light: add Broadcom APDS9999
[not found] <cover.1778659152.git.azpijr@gmail.com>
@ 2026-05-13 8:10 ` Jose A. Perez de Azpillaga
2026-05-14 2:49 ` sashiko-bot
0 siblings, 1 reply; 2+ messages in thread
From: Jose A. Perez de Azpillaga @ 2026-05-13 8:10 UTC (permalink / raw)
To: linux-iio; +Cc: Jonathan Cameron, David Lechner, Nuno Sá, devicetree
Add Device Tree binding for the Broadcom APDS9999 ambient light
and proximity sensor.
The APDS9999 features individual R, G, B, and IR channels with
a green channel that uses optical coating to approximate the
human eye spectral response for ALS/lux measurements. Proximity
and RGB functionality are not yet implemented in the driver.
Signed-off-by: Jose A. Perez de Azpillaga <azpijr@gmail.com>
---
.../bindings/iio/light/brcm,apds9999.yaml | 53 +++++++++++++++++++
MAINTAINERS | 6 +++
2 files changed, 59 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/light/brcm,apds9999.yaml
diff --git a/Documentation/devicetree/bindings/iio/light/brcm,apds9999.yaml b/Documentation/devicetree/bindings/iio/light/brcm,apds9999.yaml
new file mode 100644
index 000000000000..759fe0151549
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/light/brcm,apds9999.yaml
@@ -0,0 +1,53 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/light/brcm,apds9999.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+title: Broadcom APDS-9999 Digital Proximity and RGB Sensor
+
+maintainers:
+ - Jose A. Perez de Azpillaga <azpijr@gmail.com>
+
+description: |
+ Broadcom APDS-9999 is a digital proximity and RGB sensor with
+ ambient light sensing (ALS) capability. The device uses individual
+ R, G, B, and IR channels plus a VCSEL for proximity detection.
+
+ Datasheet: https://docs.broadcom.com/docs/APDS-9999-DS
+
+properties:
+ compatible:
+ enum:
+ - brcm,apds9999
+
+ reg:
+ maxItems: 1
+
+ vdd-supply: true
+
+ vled-supply:
+ description: VCSEL power supply
+
+ interrupts:
+ maxItems: 1
+
+additionalProperties: false
+
+required:
+ - compatible
+ - reg
+ - vdd-supply
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ light-sensor@52 {
+ compatible = "brcm,apds9999";
+ reg = <0x52>;
+ vdd-supply = <&vdd_reg>;
+ vled-supply = <&vled_reg>;
+ };
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 1aa9c989973f..64c8cf2601e8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4302,6 +4302,12 @@ S: Maintained
F: Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
F: drivers/iio/light/apds9306.c
+BROADCOM APDS9999 AMBIENT LIGHT SENSOR DRIVER
+M: Jose A. Perez de Azpillaga <azpijr@gmail.com>
+L: linux-iio@vger.kernel.org
+S: Maintained
+F: Documentation/devicetree/bindings/iio/light/brcm,apds9999.yaml
+
AVIA HX711 ANALOG DIGITAL CONVERTER IIO DRIVER
M: Andreas Klinger <ak@it-klinger.de>
L: linux-iio@vger.kernel.org
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC PATCH v2 1/2] dt-bindings: iio: light: add Broadcom APDS9999
2026-05-13 8:10 ` [RFC PATCH v2 1/2] dt-bindings: iio: light: add Broadcom APDS9999 Jose A. Perez de Azpillaga
@ 2026-05-14 2:49 ` sashiko-bot
0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-05-14 2:49 UTC (permalink / raw)
To: Jose A. Perez de Azpillaga; +Cc: krzk+dt, conor+dt, robh, devicetree
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Incorrect alphabetical placement of the new entry in the MAINTAINERS file.
--
commit 9c652efb6ad9a7c4e83bfb1ad645000b5ee9d6a4
Author: Jose A. Perez de Azpillaga <azpijr@gmail.com>
dt-bindings: iio: light: add Broadcom APDS9999
This commit adds Device Tree bindings for the Broadcom APDS9999 ambient light
and proximity sensor, and updates the MAINTAINERS file.
[ ... ]
> diff --git a/MAINTAINERS b/MAINTAINERS
> index a92290fffa163..289130aeb4192 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -3976,6 +3976,12 @@ S: Maintained
> F: Documentation/devicetree/bindings/iio/light/avago,apds9300.yaml
> F: drivers/iio/light/apds9306.c
>
> +BROADCOM APDS9999 AMBIENT LIGHT SENSOR DRIVER
> +M: Jose A. Perez de Azpillaga <azpijr@gmail.com>
> +L: linux-iio@vger.kernel.org
> +S: Maintained
> +F: Documentation/devicetree/bindings/iio/light/brcm,apds9999.yaml
> +
> AVIA HX711 ANALOG DIGITAL CONVERTER IIO DRIVER
> M: Andreas Klinger <ak@it-klinger.de>
> L: linux-iio@vger.kernel.org
This isn't a bug, but should this new entry be placed further down in the
file to maintain alphabetical order?
It looks like the BROADCOM entry is currently inserted between the AVAGO and
AVIA entries, rather than in the B section.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1778659152.git.azpijr@gmail.com?part=1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-14 2:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <cover.1778659152.git.azpijr@gmail.com>
2026-05-13 8:10 ` [RFC PATCH v2 1/2] dt-bindings: iio: light: add Broadcom APDS9999 Jose A. Perez de Azpillaga
2026-05-14 2:49 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox