diff mbox series

[v2,18/18] phy: dt-bindings: cdns,dphy: add power-domains property

Message ID 20210526152308.16525-19-p.yadav@ti.com
State Accepted
Commit 222e7d3f623506460658db7a3acdb7847329888d
Headers show
Series CSI2RX support on J721E | expand

Commit Message

Pratyush Yadav May 26, 2021, 3:23 p.m. UTC
This property is needed on TI platforms to enable the PD of the DPHY
before it can be used.

Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

---

Changes in v2:
- Add power-domain to the example.
- Add Laurent's R-by.
- Re-order subject prefixes.

 Documentation/devicetree/bindings/phy/cdns,dphy.yaml | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Rob Herring (Arm) June 2, 2021, 8:03 p.m. UTC | #1
On Wed, 26 May 2021 20:53:08 +0530, Pratyush Yadav wrote:
> This property is needed on TI platforms to enable the PD of the DPHY

> before it can be used.

> 

> Signed-off-by: Pratyush Yadav <p.yadav@ti.com>

> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> 

> ---

> 

> Changes in v2:

> - Add power-domain to the example.

> - Add Laurent's R-by.

> - Re-order subject prefixes.

> 

>  Documentation/devicetree/bindings/phy/cdns,dphy.yaml | 5 +++++

>  1 file changed, 5 insertions(+)

> 


Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/phy/cdns,dphy.yaml b/Documentation/devicetree/bindings/phy/cdns,dphy.yaml
index 3bb5be05e825..d5a5e1f0b671 100644
--- a/Documentation/devicetree/bindings/phy/cdns,dphy.yaml
+++ b/Documentation/devicetree/bindings/phy/cdns,dphy.yaml
@@ -30,6 +30,9 @@  properties:
   "#phy-cells":
     const: 0
 
+  power-domains:
+    maxItems: 1
+
 required:
   - compatible
   - reg
@@ -39,11 +42,13 @@  additionalProperties: false
 
 examples:
   - |
+    #include <dt-bindings/soc/ti,sci_pm_domain.h>
 
     dphy0: phy@fd0e0000{
         compatible = "cdns,dphy";
         reg = <0xfd0e0000 0x1000>;
         clocks = <&psm_clk>, <&pll_ref_clk>;
         clock-names = "psm", "pll_ref";
+        power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
         #phy-cells = <0>;
     };