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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.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/pinctrl/qcom,ipq4019-pinctrl.yaml (Architecture i386) and /Documentation/devicetree/bindings/pinctrl/qcom,ipq4019-pinctrl.yaml (Architecture mips)


  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/pinctrl/qco      4 $id: http://devicetree.org/schemas/pinctrl/qcom,ipq4019-pinctrl.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Qualcomm Technologies, Inc. IPQ4019 TLM      7 title: Qualcomm Technologies, Inc. IPQ4019 TLMM block
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Bjorn Andersson <bjorn.andersson@linaro.org     10   - Bjorn Andersson <bjorn.andersson@linaro.org>
 11                                                    11 
 12 description: |                                     12 description: |
 13   Top Level Mode Multiplexer pin controller in     13   Top Level Mode Multiplexer pin controller in Qualcomm IPQ4019 SoC.
 14                                                    14 
 15 allOf:                                             15 allOf:
 16   - $ref: /schemas/pinctrl/qcom,tlmm-common.ya     16   - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
 17                                                    17 
 18 properties:                                        18 properties:
 19   compatible:                                      19   compatible:
 20     const: qcom,ipq4019-pinctrl                    20     const: qcom,ipq4019-pinctrl
 21                                                    21 
 22   reg:                                             22   reg:
 23     maxItems: 1                                    23     maxItems: 1
 24                                                    24 
 25   interrupts:                                      25   interrupts:
 26     maxItems: 1                                    26     maxItems: 1
 27                                                    27 
 28   gpio-reserved-ranges: true                       28   gpio-reserved-ranges: true
 29                                                    29 
 30 patternProperties:                                 30 patternProperties:
 31   "-state$":                                       31   "-state$":
 32     oneOf:                                         32     oneOf:
 33       - $ref: "#/$defs/qcom-ipq4019-tlmm-state     33       - $ref: "#/$defs/qcom-ipq4019-tlmm-state"
 34       - patternProperties:                         34       - patternProperties:
 35           "-pins$":                                35           "-pins$":
 36             $ref: "#/$defs/qcom-ipq4019-tlmm-s     36             $ref: "#/$defs/qcom-ipq4019-tlmm-state"
 37         additionalProperties: false                37         additionalProperties: false
 38                                                    38 
 39   "-hog(-[0-9]+)?$":                               39   "-hog(-[0-9]+)?$":
 40     type: object                                   40     type: object
 41     required:                                      41     required:
 42       - gpio-hog                                   42       - gpio-hog
 43                                                    43 
 44 $defs:                                             44 $defs:
 45   qcom-ipq4019-tlmm-state:                         45   qcom-ipq4019-tlmm-state:
 46     type: object                                   46     type: object
 47     description:                                   47     description:
 48       Pinctrl node's client devices use subnod     48       Pinctrl node's client devices use subnodes for desired pin configuration.
 49       Client device subnodes use below standar     49       Client device subnodes use below standard properties.
 50     $ref: qcom,tlmm-common.yaml#/$defs/qcom-tl     50     $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state
 51     unevaluatedProperties: false                   51     unevaluatedProperties: false
 52                                                    52 
 53     properties:                                    53     properties:
 54       pins:                                        54       pins:
 55         description:                               55         description:
 56           List of gpio pins affected by the pr     56           List of gpio pins affected by the properties specified in this
 57           subnode.                                 57           subnode.
 58         items:                                     58         items:
 59           pattern: "^gpio([0-9]|[1-9][0-9])$"      59           pattern: "^gpio([0-9]|[1-9][0-9])$"
 60         minItems: 1                                60         minItems: 1
 61         maxItems: 36                               61         maxItems: 36
 62                                                    62 
 63       function:                                    63       function:
 64         description:                               64         description:
 65           Specify the alternative function to      65           Specify the alternative function to be configured for the specified
 66           pins.                                    66           pins.
 67         enum: [ aud_pin, audio_pwm, blsp_i2c0,     67         enum: [ aud_pin, audio_pwm, blsp_i2c0, blsp_i2c1, blsp_spi0,
 68                 blsp_spi1, blsp_uart0, blsp_ua     68                 blsp_spi1, blsp_uart0, blsp_uart1, chip_rst, gpio,
 69                 i2s_rx, i2s_spdif_in, i2s_spdi     69                 i2s_rx, i2s_spdif_in, i2s_spdif_out, i2s_td, i2s_tx,
 70                 jtag, led0, led1, led2, led3,      70                 jtag, led0, led1, led2, led3, led4, led5, led6, led7,
 71                 led8, led9, led10, led11, mdc,     71                 led8, led9, led10, led11, mdc, mdio, pcie, pmu,
 72                 prng_rosc, qpic, rgmii, rmii,      72                 prng_rosc, qpic, rgmii, rmii, sdio, smart0, smart1,
 73                 smart2, smart3, tm, wifi0, wif     73                 smart2, smart3, tm, wifi0, wifi1 ]
 74                                                    74 
 75     required:                                      75     required:
 76       - pins                                       76       - pins
 77                                                    77 
 78 required:                                          78 required:
 79   - compatible                                     79   - compatible
 80   - reg                                            80   - reg
 81                                                    81 
 82 unevaluatedProperties: false                       82 unevaluatedProperties: false
 83                                                    83 
 84 examples:                                          84 examples:
 85   - |                                              85   - |
 86     #include <dt-bindings/interrupt-controller     86     #include <dt-bindings/interrupt-controller/arm-gic.h>
 87     tlmm: pinctrl@1000000 {                        87     tlmm: pinctrl@1000000 {
 88         compatible = "qcom,ipq4019-pinctrl";       88         compatible = "qcom,ipq4019-pinctrl";
 89         reg = <0x01000000 0x300000>;               89         reg = <0x01000000 0x300000>;
 90                                                    90 
 91         gpio-controller;                           91         gpio-controller;
 92         #gpio-cells = <2>;                         92         #gpio-cells = <2>;
 93         gpio-ranges = <&tlmm 0 0 100>;             93         gpio-ranges = <&tlmm 0 0 100>;
 94         interrupt-controller;                      94         interrupt-controller;
 95         #interrupt-cells = <2>;                    95         #interrupt-cells = <2>;
 96         interrupts = <GIC_SPI 208 IRQ_TYPE_LEV     96         interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
 97                                                    97 
 98         uart-state {                               98         uart-state {
 99             pins = "gpio16", "gpio17";             99             pins = "gpio16", "gpio17";
100             function = "blsp_uart0";              100             function = "blsp_uart0";
101             bias-disable;                         101             bias-disable;
102         };                                        102         };
103     };                                            103     };
                                                      

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