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

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


  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,apq8064-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. APQ8064 TLM      7 title: Qualcomm Technologies, Inc. APQ8064 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 APQ8064 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,apq8064-pinctrl                    20     const: qcom,apq8064-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-apq8064-tlmm-state     33       - $ref: "#/$defs/qcom-apq8064-tlmm-state"
 34       - patternProperties:                         34       - patternProperties:
 35           "-pins$":                                35           "-pins$":
 36             $ref: "#/$defs/qcom-apq8064-tlmm-s     36             $ref: "#/$defs/qcom-apq8064-tlmm-state"
 37         additionalProperties: false                37         additionalProperties: false
 38                                                    38 
 39 $defs:                                             39 $defs:
 40   qcom-apq8064-tlmm-state:                         40   qcom-apq8064-tlmm-state:
 41     type: object                                   41     type: object
 42     description:                                   42     description:
 43       Pinctrl node's client devices use subnod     43       Pinctrl node's client devices use subnodes for desired pin configuration.
 44       Client device subnodes use below standar     44       Client device subnodes use below standard properties.
 45     $ref: qcom,tlmm-common.yaml#/$defs/qcom-tl     45     $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state
 46     unevaluatedProperties: false                   46     unevaluatedProperties: false
 47                                                    47 
 48     properties:                                    48     properties:
 49       pins:                                        49       pins:
 50         description:                               50         description:
 51           List of gpio pins affected by the pr     51           List of gpio pins affected by the properties specified in this
 52           subnode.                                 52           subnode.
 53         items:                                     53         items:
 54           oneOf:                                   54           oneOf:
 55             - pattern: "^gpio([0-9]|[1-8][0-9]     55             - pattern: "^gpio([0-9]|[1-8][0-9])$"
 56             - enum: [ sdc1_clk, sdc1_cmd, sdc1     56             - enum: [ sdc1_clk, sdc1_cmd, sdc1_data, sdc3_clk, sdc3_cmd, sdc3_data ]
 57         minItems: 1                                57         minItems: 1
 58         maxItems: 36                               58         maxItems: 36
 59                                                    59 
 60       function:                                    60       function:
 61         description:                               61         description:
 62           Specify the alternative function to      62           Specify the alternative function to be configured for the specified
 63           pins.                                    63           pins.
 64         enum: [ cam_mclk, codec_mic_i2s, codec     64         enum: [ cam_mclk, codec_mic_i2s, codec_spkr_i2s, gp_clk_0a,
 65                 gp_clk_0b, gp_clk_1a, gp_clk_1     65                 gp_clk_0b, gp_clk_1a, gp_clk_1b, gp_clk_2a, gp_clk_2b,
 66                 gpio, gsbi1, gsbi2, gsbi3, gsb     66                 gpio, gsbi1, gsbi2, gsbi3, gsbi4, gsbi4_cam_i2c,
 67                 gsbi5, gsbi5_spi_cs1, gsbi5_sp     67                 gsbi5, gsbi5_spi_cs1, gsbi5_spi_cs2, gsbi5_spi_cs3,
 68                 gsbi6, gsbi6_spi_cs1, gsbi6_sp     68                 gsbi6, gsbi6_spi_cs1, gsbi6_spi_cs2, gsbi6_spi_cs3,
 69                 gsbi7, gsbi7_spi_cs1, gsbi7_sp     69                 gsbi7, gsbi7_spi_cs1, gsbi7_spi_cs2, gsbi7_spi_cs3,
 70                 gsbi_cam_i2c, hdmi, mi2s, riva     70                 gsbi_cam_i2c, hdmi, mi2s, riva_bt, riva_fm, riva_wlan,
 71                 sdc2, sdc4, slimbus, spkr_i2s,     71                 sdc2, sdc4, slimbus, spkr_i2s, tsif1, tsif2, usb2_hsic,
 72                 ps_hold ]                          72                 ps_hold ]
 73                                                    73 
 74     required:                                      74     required:
 75       - pins                                       75       - pins
 76                                                    76 
 77 required:                                          77 required:
 78   - compatible                                     78   - compatible
 79   - reg                                            79   - reg
 80                                                    80 
 81 unevaluatedProperties: false                       81 unevaluatedProperties: false
 82                                                    82 
 83 examples:                                          83 examples:
 84   - |                                              84   - |
 85     #include <dt-bindings/interrupt-controller     85     #include <dt-bindings/interrupt-controller/arm-gic.h>
 86     tlmm: pinctrl@800000 {                         86     tlmm: pinctrl@800000 {
 87         compatible = "qcom,apq8064-pinctrl";       87         compatible = "qcom,apq8064-pinctrl";
 88         reg = <0x800000 0x4000>;                   88         reg = <0x800000 0x4000>;
 89                                                    89 
 90         gpio-controller;                           90         gpio-controller;
 91         #gpio-cells = <2>;                         91         #gpio-cells = <2>;
 92         gpio-ranges = <&tlmm 0 0 90>;              92         gpio-ranges = <&tlmm 0 0 90>;
 93         interrupt-controller;                      93         interrupt-controller;
 94         #interrupt-cells = <2>;                    94         #interrupt-cells = <2>;
 95         interrupts = <GIC_SPI 16 IRQ_TYPE_LEVE     95         interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
 96                                                    96 
 97         uart-state {                               97         uart-state {
 98             rx-pins {                              98             rx-pins {
 99                 pins = "gpio52";                   99                 pins = "gpio52";
100                 function = "gsbi5";               100                 function = "gsbi5";
101                 bias-pull-up;                     101                 bias-pull-up;
102             };                                    102             };
103                                                   103 
104             tx-pins {                             104             tx-pins {
105                 pins = "gpio51";                  105                 pins = "gpio51";
106                 function = "gsbi5";               106                 function = "gsbi5";
107                 bias-disable;                     107                 bias-disable;
108             };                                    108             };
109         };                                        109         };
110     };                                            110     };
                                                      

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