[PATCH 1/2] dt-bindings: gpio: Add CAT9532 GPIO
From: Alban Bedel
Date: Tue Sep 15 2026 - 05:26:40 EST
Add devicetree binding document for CAT9532 LED dimmer as GPIO
controller.
Signed-off-by: Alban Bedel <alban.bedel@xxxxxxxxxx>
---
.../bindings/gpio/onnn,cat9532.yaml | 52 +++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpio/onnn,cat9532.yaml
diff --git a/Documentation/devicetree/bindings/gpio/onnn,cat9532.yaml b/Documentation/devicetree/bindings/gpio/onnn,cat9532.yaml
new file mode 100644
index 0000000000000..6f3e3d0f4f29b
--- /dev/null
+++ b/Documentation/devicetree/bindings/gpio/onnn,cat9532.yaml
@@ -0,0 +1,52 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/gpio/onnn,cat9532.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: On Semiconductor CAT9532 LED dimmer as GPIO controller
+
+maintainers:
+ - Alban Bedel <alban.bedel@xxxxxxxxxx>
+
+properties:
+ compatible:
+ const: onnn,cat9532
+
+ reg:
+ maxItems: 1
+
+ gpio-controller: true
+
+ "#gpio-cells":
+ const: 2
+
+ ngpios:
+ minimum: 1
+ maximum: 16
+
+required:
+ - compatible
+ - reg
+ - gpio-controller
+ - "#gpio-cells"
+ - ngpios
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ gpio@60 {
+ compatible = "onnn,cat9532";
+ reg = <0x60>;
+
+ gpio-controller;
+ #gpio-cells = <2>;
+
+ ngpios = <16>;
+ };
+ };
--
2.39.5