lkml.org 
[lkml]   [2023]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 10/16] dt-bindings: PCI: Add phy-names as required property
    Date
    To replace devm_of_phy_get with devm_phy_get to get the
    PHY pointer using non DT version, we need to add phy-names
    property in DT and make it a required property with const
    value.

    Signed-off-by: Shradha Todi <shradha.t@samsung.com>
    ---
    Documentation/devicetree/bindings/pci/samsung,pcie.yaml | 5 +++++
    1 file changed, 5 insertions(+)

    diff --git a/Documentation/devicetree/bindings/pci/samsung,pcie.yaml b/Documentation/devicetree/bindings/pci/samsung,pcie.yaml
    index 9c58c4d1f6a7..11feff9d6526 100644
    --- a/Documentation/devicetree/bindings/pci/samsung,pcie.yaml
    +++ b/Documentation/devicetree/bindings/pci/samsung,pcie.yaml
    @@ -50,6 +50,10 @@ properties:
    phys:
    maxItems: 1

    + phy-names:
    + items:
    + - const: pcie_phy
    +
    vdd10-supply:
    description:
    Phandle to a regulator that provides 1.0V power to the PCIe block.
    @@ -81,6 +85,7 @@ required:
    - clocks
    - clock-names
    - phys
    + - phy-names
    - vdd10-supply
    - vdd18-supply

    --
    2.17.1
    \
     
     \ /
      Last update: 2023-03-27 00:21    [W:4.382 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site