~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/net/pse-pd/microchip,pd692x0.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/net/pse-pd/microchip,pd692x0.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Microchip PD692x0 Power Sourcing Equipment controller
  8 
  9 maintainers:
 10   - Kory Maincent <kory.maincent@bootlin.com>
 11 
 12 allOf:
 13   - $ref: pse-controller.yaml#
 14 
 15 properties:
 16   compatible:
 17     enum:
 18       - microchip,pd69200
 19       - microchip,pd69210
 20       - microchip,pd69220
 21 
 22   reg:
 23     maxItems: 1
 24 
 25   managers:
 26     type: object
 27     additionalProperties: false
 28     description:
 29       List of the PD69208T4/PD69204T4/PD69208M PSE managers. Each manager
 30       have 4 or 8 physical ports according to the chip version. No need to
 31       specify the SPI chip select as it is automatically detected by the
 32       PD692x0 PSE controller. The PSE managers have to be described from
 33       the lowest chip select to the greatest one, which is the detection
 34       behavior of the PD692x0 PSE controller. The PD692x0 support up to
 35       12 PSE managers which can expose up to 96 physical ports. All
 36       physical ports available on a manager have to be described in the
 37       incremental order even if they are not used.
 38 
 39     properties:
 40       "#address-cells":
 41         const: 1
 42 
 43       "#size-cells":
 44         const: 0
 45 
 46     required:
 47       - "#address-cells"
 48       - "#size-cells"
 49 
 50     patternProperties:
 51       "^manager@[0-9a-b]$":
 52         type: object
 53         additionalProperties: false
 54         description:
 55           PD69208T4/PD69204T4/PD69208M PSE manager exposing 4 or 8 physical
 56           ports.
 57 
 58         properties:
 59           reg:
 60             description:
 61               Incremental index of the PSE manager starting from 0, ranging
 62               from lowest to highest chip select, up to 11.
 63             maxItems: 1
 64 
 65           "#address-cells":
 66             const: 1
 67 
 68           "#size-cells":
 69             const: 0
 70 
 71         patternProperties:
 72           '^port@[0-7]$':
 73             type: object
 74             additionalProperties: false
 75 
 76             properties:
 77               reg:
 78                 maxItems: 1
 79 
 80             required:
 81               - reg
 82 
 83         required:
 84           - reg
 85           - "#address-cells"
 86           - "#size-cells"
 87 
 88 required:
 89   - compatible
 90   - reg
 91   - pse-pis
 92 
 93 unevaluatedProperties: false
 94 
 95 examples:
 96   - |
 97     i2c {
 98       #address-cells = <1>;
 99       #size-cells = <0>;
100 
101       ethernet-pse@3c {
102         compatible = "microchip,pd69200";
103         reg = <0x3c>;
104 
105         managers {
106           #address-cells = <1>;
107           #size-cells = <0>;
108 
109           manager@0 {
110             reg = <0>;
111             #address-cells = <1>;
112             #size-cells = <0>;
113 
114             phys0: port@0 {
115               reg = <0>;
116             };
117 
118             phys1: port@1 {
119               reg = <1>;
120             };
121 
122             phys2: port@2 {
123               reg = <2>;
124             };
125 
126             phys3: port@3 {
127               reg = <3>;
128             };
129           };
130 
131           manager@1 {
132             reg = <1>;
133             #address-cells = <1>;
134             #size-cells = <0>;
135 
136             phys4: port@0 {
137               reg = <0>;
138             };
139 
140             phys5: port@1 {
141               reg = <1>;
142             };
143 
144             phys6: port@2 {
145               reg = <2>;
146             };
147 
148             phys7: port@3 {
149               reg = <3>;
150             };
151           };
152         };
153 
154         pse-pis {
155           #address-cells = <1>;
156           #size-cells = <0>;
157 
158           pse_pi0: pse-pi@0 {
159             reg = <0>;
160             #pse-cells = <0>;
161             pairset-names = "alternative-a", "alternative-b";
162             pairsets = <&phys0>, <&phys1>;
163             polarity-supported = "MDI", "S";
164             vpwr-supply = <&vpwr1>;
165           };
166           pse_pi1: pse-pi@1 {
167             reg = <1>;
168             #pse-cells = <0>;
169             pairset-names = "alternative-a";
170             pairsets = <&phys2>;
171             polarity-supported = "MDI";
172             vpwr-supply = <&vpwr2>;
173           };
174         };
175       };
176     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php