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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/usb/brcm,usb-pinmap.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/usb/brcm,usb-pinmap.yaml (Architecture i386) and /Documentation/devicetree/bindings/usb/brcm,usb-pinmap.yaml (Architecture sparc)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/usb/brcm,us      4 $id: http://devicetree.org/schemas/usb/brcm,usb-pinmap.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Broadcom USB pin map Controller              7 title: Broadcom USB pin map Controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Al Cooper <alcooperx@gmail.com>                 10   - Al Cooper <alcooperx@gmail.com>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     items:                                         14     items:
 15       - const: brcm,usb-pinmap                     15       - const: brcm,usb-pinmap
 16                                                    16 
 17   reg:                                             17   reg:
 18     maxItems: 1                                    18     maxItems: 1
 19                                                    19 
 20   interrupts:                                      20   interrupts:
 21     maxItems: 1                                    21     maxItems: 1
 22     description: Interrupt for signals mirrore     22     description: Interrupt for signals mirrored to out-gpios.
 23                                                    23 
 24   in-gpios:                                        24   in-gpios:
 25     minItems: 1                                    25     minItems: 1
 26     maxItems: 2                                    26     maxItems: 2
 27     description: Array of one or two GPIO pins     27     description: Array of one or two GPIO pins used for input signals.
 28                                                    28 
 29   brcm,in-functions:                               29   brcm,in-functions:
 30     $ref: /schemas/types.yaml#/definitions/str     30     $ref: /schemas/types.yaml#/definitions/string-array
 31     description: Array of input signal names,      31     description: Array of input signal names, one per gpio in in-gpios.
 32                                                    32 
 33   brcm,in-masks:                                   33   brcm,in-masks:
 34     $ref: /schemas/types.yaml#/definitions/uin     34     $ref: /schemas/types.yaml#/definitions/uint32-array
 35     description: Array of enable and mask pair     35     description: Array of enable and mask pairs, one per gpio in-gpios.
 36                                                    36 
 37   out-gpios:                                       37   out-gpios:
 38     maxItems: 1                                    38     maxItems: 1
 39     description: Array of one GPIO pin used fo     39     description: Array of one GPIO pin used for output signals.
 40                                                    40 
 41   brcm,out-functions:                              41   brcm,out-functions:
 42     $ref: /schemas/types.yaml#/definitions/str     42     $ref: /schemas/types.yaml#/definitions/string-array
 43     description: Array of output signal names,     43     description: Array of output signal names, one per gpio in out-gpios.
 44                                                    44 
 45   brcm,out-masks:                                  45   brcm,out-masks:
 46     $ref: /schemas/types.yaml#/definitions/uin     46     $ref: /schemas/types.yaml#/definitions/uint32-array
 47     description: Array of enable, value, chang     47     description: Array of enable, value, changed and clear masks, one
 48       per gpio in out-gpios.                       48       per gpio in out-gpios.
 49                                                    49 
 50 required:                                          50 required:
 51   - compatible                                     51   - compatible
 52   - reg                                            52   - reg
 53                                                    53 
 54 additionalProperties: false                        54 additionalProperties: false
 55                                                    55 
 56 dependencies:                                      56 dependencies:
 57   in-gpios: [ interrupts ]                         57   in-gpios: [ interrupts ]
 58                                                    58 
 59 examples:                                          59 examples:
 60   - |                                              60   - |
 61     usb_pinmap: usb-pinmap@22000d0 {               61     usb_pinmap: usb-pinmap@22000d0 {
 62         compatible = "brcm,usb-pinmap";            62         compatible = "brcm,usb-pinmap";
 63         reg = <0x22000d0 0x4>;                     63         reg = <0x22000d0 0x4>;
 64         in-gpios = <&gpio 18 0>, <&gpio 19 0>;     64         in-gpios = <&gpio 18 0>, <&gpio 19 0>;
 65         brcm,in-functions = "VBUS", "PWRFLT";      65         brcm,in-functions = "VBUS", "PWRFLT";
 66         brcm,in-masks = <0x8000 0x40000 0x1000     66         brcm,in-masks = <0x8000 0x40000 0x10000 0x80000>;
 67         out-gpios = <&gpio 20 0>;                  67         out-gpios = <&gpio 20 0>;
 68         brcm,out-functions = "PWRON";              68         brcm,out-functions = "PWRON";
 69         brcm,out-masks = <0x20000 0x800000 0x4     69         brcm,out-masks = <0x20000 0x800000 0x400000 0x200000>;
 70         interrupts = <0x0 0xb2 0x4>;               70         interrupts = <0x0 0xb2 0x4>;
 71     };                                             71     };
 72                                                    72 
 73 ...                                                73 ...
                                                      

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