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

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


  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,apq8084-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. APQ8084 TLM      7 title: Qualcomm Technologies, Inc. APQ8084 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 APQ8084 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,apq8084-pinctrl                    20     const: qcom,apq8084-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-apq8084-tlmm-state     33       - $ref: "#/$defs/qcom-apq8084-tlmm-state"
 34       - patternProperties:                         34       - patternProperties:
 35           "-pins$":                                35           "-pins$":
 36             $ref: "#/$defs/qcom-apq8084-tlmm-s     36             $ref: "#/$defs/qcom-apq8084-tlmm-state"
 37         additionalProperties: false                37         additionalProperties: false
 38                                                    38 
 39 $defs:                                             39 $defs:
 40   qcom-apq8084-tlmm-state:                         40   qcom-apq8084-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-9][0-9]     55             - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-3][0-9]|14[0-6])$"
 56             - enum: [ sdc1_clk, sdc1_cmd, sdc1     56             - enum: [ sdc1_clk, sdc1_cmd, sdc1_data, sdc2_clk, sdc2_cmd,
 57                       sdc2_data ]                  57                       sdc2_data ]
 58         minItems: 1                                58         minItems: 1
 59         maxItems: 36                               59         maxItems: 36
 60                                                    60 
 61       function:                                    61       function:
 62         description:                               62         description:
 63           Specify the alternative function to      63           Specify the alternative function to be configured for the specified
 64           pins.                                    64           pins.
 65         enum: [ adsp_ext, audio_ref, blsp_i2c1     65         enum: [ adsp_ext, audio_ref, blsp_i2c1, blsp_i2c2, blsp_i2c3,
 66                 blsp_i2c4, blsp_i2c5, blsp_i2c     66                 blsp_i2c4, blsp_i2c5, blsp_i2c6, blsp_i2c7, blsp_i2c8,
 67                 blsp_i2c9, blsp_i2c10, blsp_i2     67                 blsp_i2c9, blsp_i2c10, blsp_i2c11, blsp_i2c12,
 68                 blsp_spi1, blsp_spi1_cs1, blsp     68                 blsp_spi1, blsp_spi1_cs1, blsp_spi1_cs2, blsp_spi1_cs3,
 69                 blsp_spi2, blsp_spi3, blsp_spi     69                 blsp_spi2, blsp_spi3, blsp_spi3_cs1, blsp_spi3_cs2,
 70                 blsp_spi3_cs3, blsp_spi4, blsp     70                 blsp_spi3_cs3, blsp_spi4, blsp_spi5, blsp_spi6,
 71                 blsp_spi7, blsp_spi8, blsp_spi     71                 blsp_spi7, blsp_spi8, blsp_spi9, blsp_spi10,
 72                 blsp_spi10_cs1, blsp_spi10_cs2     72                 blsp_spi10_cs1, blsp_spi10_cs2, blsp_spi10_cs3,
 73                 blsp_spi11, blsp_spi12, blsp_u     73                 blsp_spi11, blsp_spi12, blsp_uart1, blsp_uart2,
 74                 blsp_uart3, blsp_uart4, blsp_u     74                 blsp_uart3, blsp_uart4, blsp_uart5, blsp_uart6,
 75                 blsp_uart7, blsp_uart8, blsp_u     75                 blsp_uart7, blsp_uart8, blsp_uart9, blsp_uart10,
 76                 blsp_uart11, blsp_uart12, blsp     76                 blsp_uart11, blsp_uart12, blsp_uim1, blsp_uim2,
 77                 blsp_uim3, blsp_uim4, blsp_uim     77                 blsp_uim3, blsp_uim4, blsp_uim5, blsp_uim6, blsp_uim7,
 78                 blsp_uim8, blsp_uim9, blsp_uim     78                 blsp_uim8, blsp_uim9, blsp_uim10, blsp_uim11,
 79                 blsp_uim12, cam_mclk0, cam_mcl     79                 blsp_uim12, cam_mclk0, cam_mclk1, cam_mclk2, cam_mclk3,
 80                 cci_async, cci_async_in0, cci_     80                 cci_async, cci_async_in0, cci_i2c0, cci_i2c1,
 81                 cci_timer0, cci_timer1, cci_ti     81                 cci_timer0, cci_timer1, cci_timer2, cci_timer3,
 82                 cci_timer4, edp_hpd, gcc_gp1,      82                 cci_timer4, edp_hpd, gcc_gp1, gcc_gp2, gcc_gp3,
 83                 gcc_obt, gcc_vtt, gp_mn, gp_pd     83                 gcc_obt, gcc_vtt, gp_mn, gp_pdm0, gp_pdm1, gp_pdm2,
 84                 gp0_clk, gp1_clk, gpio, hdmi_c     84                 gp0_clk, gp1_clk, gpio, hdmi_cec, hdmi_ddc, hdmi_dtest,
 85                 hdmi_hpd, hdmi_rcv, hsic, ldo_     85                 hdmi_hpd, hdmi_rcv, hsic, ldo_en, ldo_update,
 86                 mdp_vsync, pci_e0, pci_e0_n, p     86                 mdp_vsync, pci_e0, pci_e0_n, pci_e0_rst, pci_e1,
 87                 pci_e1_rst, pci_e1_rst_n, pci_     87                 pci_e1_rst, pci_e1_rst_n, pci_e1_clkreq_n, pri_mi2s,
 88                 qua_mi2s, sata_act, sata_devsl     88                 qua_mi2s, sata_act, sata_devsleep, sata_devsleep_n,
 89                 sd_write, sdc_emmc_mode, sdc3,     89                 sd_write, sdc_emmc_mode, sdc3, sdc4, sec_mi2s, slimbus,
 90                 spdif_tx, spkr_i2s, spkr_i2s_w     90                 spdif_tx, spkr_i2s, spkr_i2s_ws, spss_geni, ter_mi2s,
 91                 tsif1, tsif2, uim, uim_batt_al     91                 tsif1, tsif2, uim, uim_batt_alarm ]
 92                                                    92 
 93     required:                                      93     required:
 94       - pins                                       94       - pins
 95                                                    95 
 96 required:                                          96 required:
 97   - compatible                                     97   - compatible
 98   - reg                                            98   - reg
 99                                                    99 
100 unevaluatedProperties: false                      100 unevaluatedProperties: false
101                                                   101 
102 examples:                                         102 examples:
103   - |                                             103   - |
104     #include <dt-bindings/interrupt-controller    104     #include <dt-bindings/interrupt-controller/arm-gic.h>
105     tlmm: pinctrl@fd510000 {                      105     tlmm: pinctrl@fd510000 {
106         compatible = "qcom,apq8084-pinctrl";      106         compatible = "qcom,apq8084-pinctrl";
107         reg = <0xfd510000 0x4000>;                107         reg = <0xfd510000 0x4000>;
108                                                   108 
109         gpio-controller;                          109         gpio-controller;
110         #gpio-cells = <2>;                        110         #gpio-cells = <2>;
111         gpio-ranges = <&tlmm 0 0 147>;            111         gpio-ranges = <&tlmm 0 0 147>;
112         interrupt-controller;                     112         interrupt-controller;
113         #interrupt-cells = <2>;                   113         #interrupt-cells = <2>;
114         interrupts = <GIC_SPI 208 IRQ_TYPE_LEV    114         interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
115                                                   115 
116         uart-state {                              116         uart-state {
117             rx-pins {                             117             rx-pins {
118                 pins = "gpio5";                   118                 pins = "gpio5";
119                 function = "blsp_uart2";          119                 function = "blsp_uart2";
120                 bias-pull-up;                     120                 bias-pull-up;
121             };                                    121             };
122                                                   122 
123             tx-pins {                             123             tx-pins {
124                 pins = "gpio4";                   124                 pins = "gpio4";
125                 function = "blsp_uart2";          125                 function = "blsp_uart2";
126                 bias-disable;                     126                 bias-disable;
127             };                                    127             };
128         };                                        128         };
129     };                                            129     };
                                                      

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