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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.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 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml (Architecture i386) and /Documentation/devicetree/bindings/phy/rockchip,inno-usb2phy.yaml (Architecture sparc)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/phy/rockchi      4 $id: http://devicetree.org/schemas/phy/rockchip,inno-usb2phy.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Rockchip USB2.0 phy with inno IP block       7 title: Rockchip USB2.0 phy with inno IP block
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Heiko Stuebner <heiko@sntech.de>                10   - Heiko Stuebner <heiko@sntech.de>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     enum:                                          14     enum:
 15       - rockchip,px30-usb2phy                      15       - rockchip,px30-usb2phy
 16       - rockchip,rk3128-usb2phy                    16       - rockchip,rk3128-usb2phy
 17       - rockchip,rk3228-usb2phy                    17       - rockchip,rk3228-usb2phy
 18       - rockchip,rk3308-usb2phy                    18       - rockchip,rk3308-usb2phy
 19       - rockchip,rk3328-usb2phy                    19       - rockchip,rk3328-usb2phy
 20       - rockchip,rk3366-usb2phy                    20       - rockchip,rk3366-usb2phy
 21       - rockchip,rk3399-usb2phy                    21       - rockchip,rk3399-usb2phy
 22       - rockchip,rk3568-usb2phy                    22       - rockchip,rk3568-usb2phy
 23       - rockchip,rk3588-usb2phy                    23       - rockchip,rk3588-usb2phy
 24       - rockchip,rv1108-usb2phy                    24       - rockchip,rv1108-usb2phy
 25                                                    25 
 26   reg:                                             26   reg:
 27     maxItems: 1                                    27     maxItems: 1
 28                                                    28 
 29   clock-output-names:                              29   clock-output-names:
 30     description:                                   30     description:
 31       The usb 480m output clock name.              31       The usb 480m output clock name.
 32                                                    32 
 33   "#clock-cells":                                  33   "#clock-cells":
 34     const: 0                                       34     const: 0
 35                                                    35 
 36   clocks:                                          36   clocks:
 37     maxItems: 1                                    37     maxItems: 1
 38                                                    38 
 39   clock-names:                                     39   clock-names:
 40     const: phyclk                                  40     const: phyclk
 41                                                    41 
 42   assigned-clocks:                                 42   assigned-clocks:
 43     description:                                   43     description:
 44       Phandle of the usb 480m clock.               44       Phandle of the usb 480m clock.
 45                                                    45 
 46   assigned-clock-parents:                          46   assigned-clock-parents:
 47     description:                                   47     description:
 48       Parent of the usb 480m clock.                48       Parent of the usb 480m clock.
 49       Select between usb-phy output 480m and x     49       Select between usb-phy output 480m and xin24m.
 50       Refer to clk/clock-bindings.txt for gene     50       Refer to clk/clock-bindings.txt for generic clock consumer properties.
 51                                                    51 
 52   extcon:                                          52   extcon:
 53     description:                                   53     description:
 54       Phandle to the extcon device providing t     54       Phandle to the extcon device providing the cable state for the otg phy.
 55                                                    55 
 56   interrupts:                                      56   interrupts:
 57     description: Muxed interrupt for both port     57     description: Muxed interrupt for both ports
 58     maxItems: 1                                    58     maxItems: 1
 59                                                    59 
 60   resets:                                          60   resets:
 61     maxItems: 2                                    61     maxItems: 2
 62                                                    62 
 63   reset-names:                                     63   reset-names:
 64     items:                                         64     items:
 65       - const: phy                                 65       - const: phy
 66       - const: apb                                 66       - const: apb
 67                                                    67 
 68   rockchip,usbgrf:                                 68   rockchip,usbgrf:
 69     $ref: /schemas/types.yaml#/definitions/pha     69     $ref: /schemas/types.yaml#/definitions/phandle
 70     description:                                   70     description:
 71       Phandle to the syscon managing the 'usb      71       Phandle to the syscon managing the 'usb general register files'.
 72       When set the driver will request its pha     72       When set the driver will request its phandle as one companion-grf
 73       for some special SoCs (e.g rv1108).          73       for some special SoCs (e.g rv1108).
 74                                                    74 
 75   host-port:                                       75   host-port:
 76     type: object                                   76     type: object
 77     additionalProperties: false                    77     additionalProperties: false
 78                                                    78 
 79     properties:                                    79     properties:
 80       "#phy-cells":                                80       "#phy-cells":
 81         const: 0                                   81         const: 0
 82                                                    82 
 83       interrupts:                                  83       interrupts:
 84         description: host linestate interrupt      84         description: host linestate interrupt
 85         maxItems: 1                                85         maxItems: 1
 86                                                    86 
 87       interrupt-names:                             87       interrupt-names:
 88         const: linestate                           88         const: linestate
 89                                                    89 
 90       phy-supply:                                  90       phy-supply:
 91         description:                               91         description:
 92           Phandle to a regulator that provides     92           Phandle to a regulator that provides power to VBUS.
 93           See ./phy-bindings.txt for details.      93           See ./phy-bindings.txt for details.
 94                                                    94 
 95     required:                                      95     required:
 96       - "#phy-cells"                               96       - "#phy-cells"
 97                                                    97 
 98   otg-port:                                        98   otg-port:
 99     type: object                                   99     type: object
100     additionalProperties: false                   100     additionalProperties: false
101                                                   101 
102     properties:                                   102     properties:
103       "#phy-cells":                               103       "#phy-cells":
104         const: 0                                  104         const: 0
105                                                   105 
106       interrupts:                                 106       interrupts:
107         minItems: 1                               107         minItems: 1
108         maxItems: 3                               108         maxItems: 3
109                                                   109 
110       interrupt-names:                            110       interrupt-names:
111         oneOf:                                    111         oneOf:
112           - const: linestate                      112           - const: linestate
113           - const: otg-mux                        113           - const: otg-mux
114           - items:                                114           - items:
115               - const: otg-bvalid                 115               - const: otg-bvalid
116               - const: otg-id                     116               - const: otg-id
117               - const: linestate                  117               - const: linestate
118                                                   118 
119       phy-supply:                                 119       phy-supply:
120         description:                              120         description:
121           Phandle to a regulator that provides    121           Phandle to a regulator that provides power to VBUS.
122           See ./phy-bindings.txt for details.     122           See ./phy-bindings.txt for details.
123                                                   123 
124     required:                                     124     required:
125       - "#phy-cells"                              125       - "#phy-cells"
126                                                   126 
127 required:                                         127 required:
128   - compatible                                    128   - compatible
129   - reg                                           129   - reg
130   - clock-output-names                            130   - clock-output-names
131   - "#clock-cells"                                131   - "#clock-cells"
132                                                   132 
133 anyOf:                                            133 anyOf:
134   - required:                                     134   - required:
135       - otg-port                                  135       - otg-port
136   - required:                                     136   - required:
137       - host-port                                 137       - host-port
138                                                   138 
139 allOf:                                            139 allOf:
140   - if:                                           140   - if:
141       properties:                                 141       properties:
142         compatible:                               142         compatible:
143           contains:                               143           contains:
144             enum:                                 144             enum:
145               - rockchip,rk3568-usb2phy           145               - rockchip,rk3568-usb2phy
146               - rockchip,rk3588-usb2phy           146               - rockchip,rk3588-usb2phy
147                                                   147 
148     then:                                         148     then:
149       properties:                                 149       properties:
150         host-port:                                150         host-port:
151           properties:                             151           properties:
152             interrupts: false                     152             interrupts: false
153                                                   153 
154         otg-port:                                 154         otg-port:
155           properties:                             155           properties:
156             interrupts: false                     156             interrupts: false
157                                                   157 
158       required:                                   158       required:
159         - interrupts                              159         - interrupts
160                                                   160 
161     else:                                         161     else:
162       properties:                                 162       properties:
163         interrupts: false                         163         interrupts: false
164                                                   164 
165         host-port:                                165         host-port:
166           required:                               166           required:
167             - interrupts                          167             - interrupts
168             - interrupt-names                     168             - interrupt-names
169                                                   169 
170         otg-port:                                 170         otg-port:
171           required:                               171           required:
172             - interrupts                          172             - interrupts
173             - interrupt-names                     173             - interrupt-names
174                                                   174 
175 additionalProperties: false                       175 additionalProperties: false
176                                                   176 
177 examples:                                         177 examples:
178   - |                                             178   - |
179     #include <dt-bindings/clock/rk3399-cru.h>     179     #include <dt-bindings/clock/rk3399-cru.h>
180     #include <dt-bindings/interrupt-controller    180     #include <dt-bindings/interrupt-controller/arm-gic.h>
181     #include <dt-bindings/interrupt-controller    181     #include <dt-bindings/interrupt-controller/irq.h>
182     u2phy0: usb2phy@e450 {                        182     u2phy0: usb2phy@e450 {
183       compatible = "rockchip,rk3399-usb2phy";     183       compatible = "rockchip,rk3399-usb2phy";
184       reg = <0xe450 0x10>;                        184       reg = <0xe450 0x10>;
185       clocks = <&cru SCLK_USB2PHY0_REF>;          185       clocks = <&cru SCLK_USB2PHY0_REF>;
186       clock-names = "phyclk";                     186       clock-names = "phyclk";
187       clock-output-names = "clk_usbphy0_480m";    187       clock-output-names = "clk_usbphy0_480m";
188       #clock-cells = <0>;                         188       #clock-cells = <0>;
189                                                   189 
190       u2phy0_host: host-port {                    190       u2phy0_host: host-port {
191         interrupts = <GIC_SPI 27 IRQ_TYPE_LEVE    191         interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH 0>;
192         interrupt-names = "linestate";            192         interrupt-names = "linestate";
193         #phy-cells = <0>;                         193         #phy-cells = <0>;
194       };                                          194       };
195                                                   195 
196       u2phy0_otg: otg-port {                      196       u2phy0_otg: otg-port {
197         interrupts = <GIC_SPI 103 IRQ_TYPE_LEV    197         interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
198                      <GIC_SPI 104 IRQ_TYPE_LEV    198                      <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
199                      <GIC_SPI 106 IRQ_TYPE_LEV    199                      <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>;
200         interrupt-names = "otg-bvalid", "otg-i    200         interrupt-names = "otg-bvalid", "otg-id", "linestate";
201         #phy-cells = <0>;                         201         #phy-cells = <0>;
202       };                                          202       };
203     };                                            203     };
                                                      

~ [ 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