diff mbox series

dt-bindings: phy: brcm,brcmstb-usb-phy: add power-domains

Message ID 20210309182616.25783-1-zajec5@gmail.com
State Accepted
Commit d9de0cbd5b1f6b51c92a40937945f26a35d848ff
Headers show
Series dt-bindings: phy: brcm,brcmstb-usb-phy: add power-domains | expand

Commit Message

Rafał Miłecki March 9, 2021, 6:26 p.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

On BCM4908 USB PHY is managed using power controller so it needs
describing properly using the power-domains.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 .../devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml          | 3 +++
 1 file changed, 3 insertions(+)

Comments

Florian Fainelli March 9, 2021, 10:51 p.m. UTC | #1
On 3/9/21 10:26 AM, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> On BCM4908 USB PHY is managed using power controller so it needs
> describing properly using the power-domains.
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

Acked-by: Florian Fainelli <f.fainelli@gmail.com>

This does fix the following warning when applying your latest patches:

+arch/arm64/boot/dts/broadcom/bcm4908/bcm4908-asus-gt-ac5300.dt.yaml:
usb-phy@c200: 'power-domains' does not match any of the regexes:
'pinctrl-[0-9]+'

Thanks!
Vinod Koul March 15, 2021, 10:39 a.m. UTC | #2
On 09-03-21, 19:26, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> On BCM4908 USB PHY is managed using power controller so it needs
> describing properly using the power-domains.

Applied, thanks
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml b/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml
index 0497368d1fca..5f9e91bfb5ff 100644
--- a/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.yaml
@@ -42,6 +42,9 @@  properties:
       - const: usb_mdio
       - const: bdc_ec
 
+  power-domains:
+    maxItems: 1
+
   clocks:
     minItems: 1
     maxItems: 2