[PATCH v3 02/10] dt-bindings: leds: pca995x: Describe nxp,output-gain property
From: Nora Schiffer
Date: Tue Sep 22 2026 - 10:58:35 EST
Allow configuring the output current to adjust for different hardware
designs.
The output gain relates the output current with an external resistor
connected to the LED driver. It does not directly correspond to a
meaningful physical unit of measurement, so we refer to the datasheet
for information on its calculation.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Signed-off-by: Nora Schiffer <nora.schiffer@xxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/leds/nxp,pca995x.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/leds/nxp,pca995x.yaml b/Documentation/devicetree/bindings/leds/nxp,pca995x.yaml
index 201f32f1b8139..372ecd18043e0 100644
--- a/Documentation/devicetree/bindings/leds/nxp,pca995x.yaml
+++ b/Documentation/devicetree/bindings/leds/nxp,pca995x.yaml
@@ -39,6 +39,14 @@ properties:
reset-gpios:
maxItems: 1
+ nxp,output-gain:
+ description:
+ Set the output gain controlling the LED current as described in the
+ PCA995x datasheets.
+ $ref: /schemas/types.yaml#/definitions/uint32
+ default: 127
+ maximum: 255
+
patternProperties:
"^led@[0-9a-f]+$":
type: object
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
https://www.tq-group.com/