summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@nxp.com>2021-11-30 15:01:19 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2021-11-30 15:01:19 +0800
commit1441093d9a5fc205c94b5db80f279ae6acbe694f (patch)
tree0028e64d5c59da89c6adaf7fbda81ef5e5399f54 /Documentation/devicetree/bindings
parent385fbe62b7cb83da4b8ff5e1a17d4c7b2e020656 (diff)
parent0d1f036dd1647074cb54681989f29dede8778a97 (diff)
Merge branch 'usb/next' into next
* usb/next: (77 commits) LF-4877 usb: chipidea: imx: add missing USB PHY DPDM wakeup setting LF-3147 usb: typec: gpio-switch: fix the stack-out-of-bounds access LF-2482 usb: typec: tcpm: fix uninitialized value ret LF-2345-12 usb: typec: tcpm: use vbus_present for power supply online LF-2345-11 usb: typec: tcpm: add BC charger types if power type is usb ...
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt1
-rw-r--r--Documentation/devicetree/bindings/usb/snps,dwc3.yaml15
-rw-r--r--Documentation/devicetree/bindings/usb/typec-switch-gpio.txt31
-rw-r--r--Documentation/devicetree/bindings/usb/usb-xhci.yaml5
4 files changed, 52 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
index a5c5db6a0b2d..e916dc962568 100644
--- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
+++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt
@@ -90,6 +90,7 @@ Optional properties:
case, the "idle" state needs to pull down the data and strobe pin
and the "active" state needs to pull up the strobe pin.
- pinctrl-n: alternate pin modes
+- ci-disable-lpm: Some chipidea hardware need to disable low power mode
i.mx specific properties
- fsl,usbmisc: phandler of non-core register device, with one
diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
index 078fb7889593..42294571a555 100644
--- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml
@@ -33,6 +33,14 @@ properties:
contains:
oneOf:
- const: snps,dwc3
+ - const: fsl,ls1012a-dwc3
+ - const: fsl,ls1021a-dwc3
+ - const: fsl,ls1028a-dwc3
+ - const: fsl,ls1043a-dwc3
+ - const: fsl,ls1046a-dwc3
+ - const: fsl,ls1088a-dwc3
+ - const: fsl,ls2088a-dwc3
+ - const: fsl,lx2160a-dwc3
- const: synopsys,dwc3
deprecated: true
@@ -226,6 +234,13 @@ properties:
avoid -EPROTO errors with usbhid on some devices (Hikey 970).
type: boolean
+ snps,host-vbus-glitches:
+ description:
+ When set, power off all Root Hub ports immediately after
+ setting host mode to avoid vbus (negative) glitch happen in later
+ xhci reset. And the vbus will back to 5V automatically when reset done.
+ type: boolean
+
snps,is-utmi-l1-suspend:
description:
True when DWC3 asserts output signal utmi_l1_suspend_n, false when
diff --git a/Documentation/devicetree/bindings/usb/typec-switch-gpio.txt b/Documentation/devicetree/bindings/usb/typec-switch-gpio.txt
new file mode 100644
index 000000000000..6288867c365f
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/typec-switch-gpio.txt
@@ -0,0 +1,31 @@
+Typec orientation switch via a GPIO
+-----------------------------------
+
+Required properties:
+- compatible: should be set one of following:
+ - "nxp,ptn36043" or "nxp,cbtl04gp" for NXP Type-C SuperSpeed
+ active switch.
+
+- gpios: the GPIO used to switch the super speed active channel,
+ GPIO_ACTIVE_HIGH: GPIO state high for cc1;
+ GPIO_ACTIVE_LOW: GPIO state low for cc1.
+- orientation-switch: must be present.
+
+Required sub-node:
+- port: specify the remote endpoint of typec switch consumer.
+
+Example:
+
+ptn36043 {
+ compatible = "nxp,ptn36043";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_ss_sel>;
+ gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
+ orientation-switch;
+
+ port {
+ usb3_data_ss: endpoint {
+ remote-endpoint = <&typec_con_ss>;
+ };
+ };
+};
diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.yaml b/Documentation/devicetree/bindings/usb/usb-xhci.yaml
index 965f87fef702..a5986d8c16c5 100644
--- a/Documentation/devicetree/bindings/usb/usb-xhci.yaml
+++ b/Documentation/devicetree/bindings/usb/usb-xhci.yaml
@@ -25,6 +25,11 @@ properties:
description: Set if the controller has broken port disable mechanism
type: boolean
+ usb3-resume-missing-cas:
+ description: set if the CAS(Cold Attach Status) may lose in case device
+ plugged in while system sleep.
+ type: boolean
+
imod-interval-ns:
description: Interrupt moderation interval
default: 5000