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 power domain property

The USB controllers in the i.MX8MP are located inside the HSIO
power domain. Add the power-domains property to the DT binding
to be able to describe the hardware properly.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230110180804.594462-1-l.stach@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lucas Stach and committed by
Greg Kroah-Hartman
263b628f 481735d6

+6
+6
Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml
··· 71 71 description: 72 72 Power pad (PWR) polarity is active low. 73 73 74 + power-domains: 75 + maxItems: 1 76 + 74 77 # Required child node: 75 78 76 79 patternProperties: ··· 90 87 - clocks 91 88 - clock-names 92 89 - interrupts 90 + - power-domains 93 91 94 92 additionalProperties: false 95 93 96 94 examples: 97 95 - | 98 96 #include <dt-bindings/clock/imx8mp-clock.h> 97 + #include <dt-bindings/power/imx8mp-power.h> 99 98 #include <dt-bindings/interrupt-controller/arm-gic.h> 100 99 usb3_0: usb@32f10100 { 101 100 compatible = "fsl,imx8mp-dwc3"; ··· 107 102 <&clk IMX8MP_CLK_USB_ROOT>; 108 103 clock-names = "hsio", "suspend"; 109 104 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; 105 + power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB>; 110 106 #address-cells = <1>; 111 107 #size-cells = <1>; 112 108 dma-ranges = <0x40000000 0x40000000 0xc0000000>;