diff mbox series

[v3,4/7] dt-bindings: usb: dwc3-imx8mp: add power domain property

Message ID 20220228201731.3330192-5-l.stach@pengutronix.de (mailing list archive)
State New, archived
Headers show
Series i.MX8MP GPC and blk-ctrl | expand

Commit Message

Lucas Stach Feb. 28, 2022, 8:17 p.m. UTC
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>
---
 Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Rob Herring (Arm) March 2, 2022, 5:39 p.m. UTC | #1
On Mon, Feb 28, 2022 at 09:17:28PM +0100, Lucas Stach wrote:
> 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>
> ---
>  Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)

Acked-by: Rob Herring <robh@kernel.org>
Lucas Stach June 22, 2022, 2:16 p.m. UTC | #2
Am Mittwoch, dem 02.03.2022 um 11:39 -0600 schrieb Rob Herring:
> On Mon, Feb 28, 2022 at 09:17:28PM +0100, Lucas Stach wrote:
> > 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>
> > ---
> >  Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml | 6 ++++++
> >  1 file changed, 6 insertions(+)
> 
> Acked-by: Rob Herring <robh@kernel.org>
> 
This patch hasn't landed anywhere, yet.

Rob, can you take it directly, or should I resend to go trough the
USB(?) tree?

Regards,
Lucas
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml b/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml
index 974032b1fda0..048a3e4c1b60 100644
--- a/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml
+++ b/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml
@@ -49,6 +49,9 @@  properties:
       - const: hsio
       - const: suspend
 
+  power-domains:
+    maxItems: 1
+
 # Required child node:
 
 patternProperties:
@@ -65,12 +68,14 @@  required:
   - clocks
   - clock-names
   - interrupts
+  - power-domains
 
 additionalProperties: false
 
 examples:
   - |
     #include <dt-bindings/clock/imx8mp-clock.h>
+    #include <dt-bindings/power/imx8mp-power.h>
     #include <dt-bindings/interrupt-controller/arm-gic.h>
     usb3_0: usb@32f10100 {
       compatible = "fsl,imx8mp-dwc3";
@@ -79,6 +84,7 @@  examples:
                <&clk IMX8MP_CLK_USB_ROOT>;
       clock-names = "hsio", "suspend";
       interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
+      power-domains = <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_USB>;
       #address-cells = <1>;
       #size-cells = <1>;
       dma-ranges = <0x40000000 0x40000000 0xc0000000>;