From 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 22 Oct 2024 10:36:11 +0000
Subject: [PATCH] 修改4g拨号为QMI,需要在系统里后台执行quectel-CM

---
 kernel/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/kernel/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt b/kernel/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt
index 81f982c..d12cc33 100644
--- a/kernel/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt
+++ b/kernel/Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt
@@ -3,14 +3,11 @@
 Required properties:
 
 - compatible:
-    Must be "brcm,iproc-i2c"
+    Must be "brcm,iproc-i2c" or "brcm,iproc-nic-i2c"
 
 - reg:
     Define the base and range of the I/O address space that contain the iProc
     I2C controller registers
-
-- interrupts:
-    Should contain the I2C interrupt
 
 - clock-frequency:
     This is the I2C bus clock. Need to be either 100000 or 400000
@@ -21,6 +18,18 @@
 - #size-cells:
     Always 0
 
+Optional properties:
+
+- interrupts:
+    Should contain the I2C interrupt. For certain revisions of the I2C
+    controller, I2C interrupt is unwired to the interrupt controller. In such
+    case, this property should be left unspecified, and driver will fall back
+    to polling mode
+
+- brcm,ape-hsls-addr-mask:
+    Required for "brcm,iproc-nic-i2c". Host view of address mask into the
+    'APE' co-processor. Value must be unsigned, 32-bit
+
 Example:
 	i2c0: i2c@18008000 {
 		compatible = "brcm,iproc-i2c";

--
Gitblit v1.6.2