[PATCH v4 1/3] dt-bindings: i2c: Add Novatek NT72676 I2C controller
From: nina_kuo
Date: Thu Jul 30 2026 - 03:38:08 EST
From: Ben Huang <Ben_Huang@xxxxxxxxxxxxxx>
Add Devicetree binding documentation for Novatek NT72676 I2C
controller.
Signed-off-by: Ben Huang <Ben_Huang@xxxxxxxxxxxxxx>
Signed-off-by: Nina Kuo <Nina_Kuo@xxxxxxxxxxxxxx>
---
.../bindings/i2c/novatek,nt72676-i2c.yaml | 87 +++++++++++++++++++
1 file changed, 87 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/novatek,nt72676-i2c.yaml
diff --git a/Documentation/devicetree/bindings/i2c/novatek,nt72676-i2c.yaml b/Documentation/devicetree/bindings/i2c/novatek,nt72676-i2c.yaml
new file mode 100644
index 000000000000..8e2595f882c4
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/novatek,nt72676-i2c.yaml
@@ -0,0 +1,87 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/i2c/novatek,nt72676-i2c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Novatek NT72676 I2C Controller
+
+maintainers:
+ - Ben Huang <ben_huang@xxxxxxxxxxxxxx>
+ - Jason JJ Wu <jason_jj_wu@xxxxxxxxxxxxxx>
+
+description: |
+ Novatek NT72676 SoC provides two I2C controller variants: generic I2C and
+ STBC I2C.
+ The generic I2C controllers are accessible only by the host CPU and driven
+ by a 96 MHz AHB clock.
+ On the other hand, the STBC I2C controllers can be controlled by either the
+ host CPU or STBC (Standby Controller, an 8051-based microcontroller) and
+ driven by a 12 MHz STBC clock. Authentication with STBC is required before
+ the host CPU can access the STBC I2C controller registers.
+
+properties:
+ compatible:
+ enum:
+ - novatek,nt72676-i2c
+ - novatek,nt72676-stbc-i2c
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clock-frequency:
+ default: 100000
+ enum: [ 100000, 400000 ]
+
+ novatek,stbc-syscon:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description:
+ Phandle to the STBC system controller registers used to authenticate
+ host access and switch ownership of the STBC I2C controller.
+
+required:
+ - compatible
+ - reg
+ - interrupts
+
+allOf:
+ - $ref: /schemas/i2c/i2c-controller.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: novatek,nt72676-stbc-i2c
+ then:
+ required:
+ - novatek,stbc-syscon
+ else:
+ properties:
+ novatek,stbc-syscon: false
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ i2c@fd000000 {
+ compatible = "novatek,nt72676-i2c";
+ reg = <0xfd000000 0x100>;
+ interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
+ clock-frequency = <400000>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
+ i2c@fc040a00 {
+ compatible = "novatek,nt72676-stbc-i2c";
+ reg = <0xfc040a00 0x40>;
+ interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
+ novatek,stbc-syscon = <&sysreg_system_controller>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
--
2.40.1