[PATCH v2 2/3] dt-bindings: i2c: Add Novatek NT726xx SoC I2C controller
From: Nina_Kuo
Date: Tue Jul 14 2026 - 05:29:56 EST
CONFIDENTIALITY NOTICE: This message, including attachments, contains information which may be confidential and privileged, and is intended only for use by the addressees designated above. Unless you are the intended recipient, any use, copying, disclosure, or distribution is prohibited. If you have received the message in error, please immediately delete the message and destroy all copies thereof and notify the sender by reply email. 本郵件及任何附件均屬機密,僅供其上指定地址之收件人使用。除非您是指定之收件人,否則請勿使用、複製、揭露或散布本郵件之任何部份。若您錯誤地收到此郵件,請立即回覆電子郵件通知寄件人,並請完全刪除且銷毀本郵件及其複本。
Add device tree documentation for Novatek NT726xx SoC I2C controller.
Signed-off-by: Ben Huang <Ben_Huang@xxxxxxxxxxxxxx>
Signed-off-by: Nina Kuo <Nina_Kuo@xxxxxxxxxxxxxx>
---
.../bindings/i2c/novatek,nt726xx-i2c.yaml | 74 +++++++++++++++++++
1 file changed, 74 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/novatek,nt726xx-i2c.yaml
diff --git a/Documentation/devicetree/bindings/i2c/novatek,nt726xx-i2c.yaml b/Documentation/devicetree/bindings/i2c/novatek,nt726xx-i2c.yaml
new file mode 100644
index 000000000000..866589c5ae51
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/novatek,nt726xx-i2c.yaml
@@ -0,0 +1,74 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/i2c/novatek,nt726xx-i2c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+maintainers:
+ - Ben Huang <ben_huang@xxxxxxxxxxxxxx>
+ - Jason JJ Wu <jason_jj_wu@xxxxxxxxxxxxxx>
+
+title: Novatek NT726xx Series SoC I2C master controller
+
+allOf:
+ - $ref: /schemas/i2c/i2c-controller.yaml#
+
+properties:
+ compatible:
+ const: novatek,nt72600-i2c
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clock-frequency:
+ default: 100000
+ enum: [ 100000, 400000 ]
+
+ novatek,hwmods:
+ $ref: /schemas/types.yaml#/definitions/string
+ description: Name of each i2c pin, must be named with "i2cX". (X is
+ an integer starting from 0, must be unique)
+
+ novatek,stbc-controllable:
+ type: boolean
+ description: Set if this i2c master, named as `stbc-i2c`, is
+ controllable by stbc (Standby controller, actually is an 8051
+ micro-processor) on Novatek NT726xx SoCs.
+ For these `stbc-i2c`s, the driven clock is only 12 MHz and the
+ authentication to stbc must be executed before controlling the
+ registers.
+
+ default: 0
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - novatek,hwmods
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ i2c0: i2c@10000000 {
+ compatible = "novatek,nt72600-i2c";
+ reg = <0x0 0x10000000 0x0 0x100>;
+ interrupts = <0 67 4>;
+ clock-frequency = <400000>;
+ novatek,hwmods = "i2c0";
+ #address-cells = <2>;
+ #size-cells = <2>;
+ };
+
+ stbc-i2c1: i2c@20000000 {
+ compatible = "novatek,nt72600-i2c";
+ reg = <0x0 0x20000000 0x0 0x100>;
+ interrupts = <0 77 4>;
+ novatek,hwmods = "i2c1";
+ novatek,stbc-controllable;
+ #address-cells = <2>;
+ #size-cells = <2>;
+ };
--
2.40.1