[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241218052807.1812406-1-miao@synopsys.com>
Date: Wed, 18 Dec 2024 06:28:07 +0100
From: "Miao.Zhu" <Miao.Zhu@...opsys.com>
To: robh@...nel.org
Cc: James.Li1@...opsys.com, Jianheng.Zhang@...opsys.com,
Martin.McKenny@...opsys.com, Miao.Zhu@...opsys.com,
andre.draszik@...aro.org, conor+dt@...nel.org,
dan.carpenter@...aro.org, devicetree@...r.kernel.org,
emanuele.ghidoli@...adex.com, gregkh@...uxfoundation.org,
heikki.krogerus@...ux.intel.com, jun.li@....com,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
m.felsch@...gutronix.de, rdbabiera@...gle.com,
u.kleine-koenig@...libre.com, xu.yang_2@....com,
"Miao . Zhu" <Miao.Zhu@...opsys.com>
Subject: [PATCH v3 2/2] dt-bindings: usb: ptn5110: add TCPC properties
The TCPCI driver has flags to configure its protperties but
no way to enable these flags yet. Add these flags into DT
so that the driver can be compatible with TCPCI Spec R2 V1.0.
Signed-off-by: Miao.Zhu <miao@...opsys.com>
---
V2 -> V3: Add description and type for new properties:
V1 -> V2: No changes
---
.../devicetree/bindings/usb/nxp,ptn5110.yaml | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml b/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml
index 65a8632..29d6aed 100644
--- a/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml
+++ b/Documentation/devicetree/bindings/usb/nxp,ptn5110.yaml
@@ -21,6 +21,28 @@ properties:
interrupts:
maxItems: 1
+ TX_BUF_BYTE_x_hidden:
+ description:
+ When set, TX_BUF_BYTE_x can only be accessed through
+ I2C_WRITE_BYTE_COUNT.
+ type: boolean
+
+ RX_BUF_BYTE_x_hidden:
+ description:
+ When set, RX_BUF_BYTE_x can only be accessed through
+ READABLE_BYTE_COUNT.
+ type: boolean
+
+ auto_discharge_disconnect:
+ description:
+ When set, TCPC autonomously discharges vbus on disconnect.
+ type: boolean
+
+ vbus_vsafe0v:
+ description:
+ When set, TCPC can detect whether vbus is at VSAFE0V.
+ type: boolean
+
connector:
type: object
$ref: /schemas/connector/usb-connector.yaml#
--
2.9.3
Powered by blists - more mailing lists