Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: usb: dwc3-imx8mp: Add imx8mp specific flags

This adds bindings for features in the USB glue block. They allow
setting polarity of PWR and OC as well as disabling port power control.
Also permanently attached can be annotated as well.
Additional IO address and clock are needed.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20220218152707.2198357-3-alexander.stein@ew.tq-group.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Alexander Stein and committed by
Greg Kroah-Hartman
d600d31e 81915384

+27 -4
+27 -4
Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml
··· 15 15 const: fsl,imx8mp-dwc3 16 16 17 17 reg: 18 - maxItems: 1 19 - description: Address and length of the register set for the wrapper of 20 - dwc3 core on the SOC. 18 + items: 19 + - description: Address and length of the register set for HSIO Block Control 20 + - description: Address and length of the register set for the wrapper of dwc3 core on the SOC. 21 21 22 22 "#address-cells": 23 23 enum: [ 1, 2 ] ··· 49 49 - const: hsio 50 50 - const: suspend 51 51 52 + fsl,permanently-attached: 53 + type: boolean 54 + description: 55 + Indicates if the device atached to a downstream port is 56 + permanently attached. 57 + 58 + fsl,disable-port-power-control: 59 + type: boolean 60 + description: 61 + Indicates whether the host controller implementation includes port 62 + power control. Defines Bit 3 in capability register (HCCPARAMS). 63 + 64 + fsl,over-current-active-low: 65 + type: boolean 66 + description: 67 + Over current signal polarity is active low. 68 + 69 + fsl,power-active-low: 70 + type: boolean 71 + description: 72 + Power pad (PWR) polarity is active low. 73 + 52 74 # Required child node: 53 75 54 76 patternProperties: ··· 96 74 #include <dt-bindings/interrupt-controller/arm-gic.h> 97 75 usb3_0: usb@32f10100 { 98 76 compatible = "fsl,imx8mp-dwc3"; 99 - reg = <0x32f10100 0x8>; 77 + reg = <0x32f10100 0x8>, 78 + <0x381f0000 0x20>; 100 79 clocks = <&clk IMX8MP_CLK_HSIO_ROOT>, 101 80 <&clk IMX8MP_CLK_USB_ROOT>; 102 81 clock-names = "hsio", "suspend";