lkml.org 
[lkml]   [2022]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v3 1/9] dt-bindings: PCI: renesas,pci-rcar-gen2: Add depends-on for RZ/N1 SoC family
Date
In RZ/N1 SoC family, a h2mode setting is available to change the
USB configuration from one host and one device to two hosts.
This change will be done at sysctrl level and must not be done
while USB host or device are running.

In order to express this dependency (probe order dependency),
introduce 'depends-on' property at PCI bridge level.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
---
.../devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml b/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml
index 0f18cceba3d5..e1221ad68465 100644
--- a/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml
+++ b/Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml
@@ -130,6 +130,12 @@ allOf:
- const: hclkh
- const: hclkpm
- const: pciclk
+ depends-on:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description:
+ Phandle to the node (sysctrl node) that set the 'h2mode' value in
+ order to express the fact that sysctrl must set the 'h2mode' before
+ the underlying USB hosts start.
required:
- clock-names
else:
--
2.38.1
\
 
 \ /
  Last update: 2022-12-07 17:25    [W:0.113 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site