[PATCH v1 1/2] dt-bindings: iio: proximity: add Imagis ISG5320A
From: Adil Hüsrev Tepe
Date: Mon Nov 16 2026 - 02:42:10 EST
Add a binding for the Imagis ISG5320A capacitive SAR/grip proximity
sensor (I2C), as fitted on the Samsung Galaxy XCover5.
The binding was drafted during XCover5 mainline bring-up with the help
of an AI coding assistant (Claude Code, Anthropic) and reviewed and
validated (dt_binding_check, yamllint) by me.
Signed-off-by: Adil Hüsrev Tepe <tadilhusrev@xxxxxxxxx>
---
.../iio/proximity/imagis,isg5320a.yaml | 56 +++++++++++++++++++
1 file changed, 56 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/proximity/imagis,isg5320a.yaml
diff --git a/Documentation/devicetree/bindings/iio/proximity/imagis,isg5320a.yaml b/Documentation/devicetree/bindings/iio/proximity/imagis,isg5320a.yaml
new file mode 100644
index 000000000..b23d6bafd
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/proximity/imagis,isg5320a.yaml
@@ -0,0 +1,56 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/proximity/imagis,isg5320a.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Imagis ISG5320A SAR proximity (grip) sensor
+
+maintainers:
+ - Adil Hüsrev Tepe <tadilhusrev@xxxxxxxxx>
+
+description:
+ Imagis ISG5320A capacitive SAR/grip sensor (I2C), exposed as one IIO
+ proximity channel (B-channel diff = CDC16_T - BSL16_B). As fitted on the
+ Samsung Galaxy XCover5.
+
+properties:
+ compatible:
+ const: imagis,isg5320a
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+ description: active-low data-ready / proximity interrupt
+
+ vdd-supply:
+ description: sensor supply
+
+ wakeup-source: true
+
+required:
+ - compatible
+ - reg
+ - interrupts
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ grip@28 {
+ compatible = "imagis,isg5320a";
+ reg = <0x28>;
+ interrupt-parent = <&gpa2>;
+ interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+ vdd-supply = <&grip_vdd>;
+ wakeup-source;
+ };
+ };
+...
--
2.53.0