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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.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,sm8450-tlmm.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/pinctrl/qcom,sm8450-tlmm.yaml (Version linux-6.2.16)


  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,sm8450-tlmm.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. SM8450 TLMM      7 title: Qualcomm Technologies, Inc. SM8450 TLMM block
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Vinod Koul <vkoul@kernel.org>                   10   - Vinod Koul <vkoul@kernel.org>
 11                                                    11 
 12 description:                                       12 description:
 13   Top Level Mode Multiplexer pin controller in     13   Top Level Mode Multiplexer pin controller in Qualcomm SM8450 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,sm8450-tlmm                        20     const: qcom,sm8450-tlmm
 21                                                    21 
 22   reg:                                             22   reg:
 23     maxItems: 1                                    23     maxItems: 1
 24                                                    24 
 25   interrupts:                                  !!  25   interrupts: true
 26     maxItems: 1                                !!  26   interrupt-controller: true
                                                   >>  27   "#interrupt-cells": true
                                                   >>  28   gpio-controller: true
 27                                                    29 
 28   gpio-reserved-ranges:                            30   gpio-reserved-ranges:
 29     minItems: 1                                    31     minItems: 1
 30     maxItems: 105                                  32     maxItems: 105
 31                                                    33 
 32   gpio-line-names:                                 34   gpio-line-names:
 33     maxItems: 210                              !!  35     maxItems: 209
                                                   >>  36 
                                                   >>  37   "#gpio-cells": true
                                                   >>  38   gpio-ranges: true
                                                   >>  39   wakeup-parent: true
                                                   >>  40 
                                                   >>  41 required:
                                                   >>  42   - compatible
                                                   >>  43   - reg
                                                   >>  44 
                                                   >>  45 additionalProperties: false
 34                                                    46 
 35 patternProperties:                                 47 patternProperties:
 36   "-state$":                                       48   "-state$":
 37     oneOf:                                         49     oneOf:
 38       - $ref: "#/$defs/qcom-sm8450-tlmm-state"     50       - $ref: "#/$defs/qcom-sm8450-tlmm-state"
 39       - patternProperties:                         51       - patternProperties:
 40           "-pins$":                                52           "-pins$":
 41             $ref: "#/$defs/qcom-sm8450-tlmm-st     53             $ref: "#/$defs/qcom-sm8450-tlmm-state"
 42         additionalProperties: false                54         additionalProperties: false
 43                                                    55 
 44 $defs:                                             56 $defs:
 45   qcom-sm8450-tlmm-state:                          57   qcom-sm8450-tlmm-state:
 46     type: object                                   58     type: object
 47     description:                                   59     description:
 48       Pinctrl node's client devices use subnod     60       Pinctrl node's client devices use subnodes for desired pin configuration.
 49       Client device subnodes use below standar     61       Client device subnodes use below standard properties.
 50     $ref: qcom,tlmm-common.yaml#/$defs/qcom-tl     62     $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state
 51     unevaluatedProperties: false               << 
 52                                                    63 
 53     properties:                                    64     properties:
 54       pins:                                        65       pins:
 55         description:                               66         description:
 56           List of gpio pins affected by the pr     67           List of gpio pins affected by the properties specified in this
 57           subnode.                                 68           subnode.
 58         items:                                     69         items:
 59           oneOf:                                   70           oneOf:
 60             - pattern: "^gpio([0-9]|[1-9][0-9]     71             - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-9][0-9]|20[0-9])$"
 61             - enum: [ ufs_reset, sdc2_clk, sdc     72             - enum: [ ufs_reset, sdc2_clk, sdc2_cmd, sdc2_data ]
 62         minItems: 1                                73         minItems: 1
 63         maxItems: 36                               74         maxItems: 36
 64                                                    75 
 65       function:                                    76       function:
 66         description:                               77         description:
 67           Specify the alternative function to      78           Specify the alternative function to be configured for the specified
 68           pins.                                    79           pins.
 69         enum: [ aon_cam, atest_char, atest_usb     80         enum: [ aon_cam, atest_char, atest_usb, audio_ref, cam_mclk, cci_async,
 70                 cci_i2c, cci_timer, cmu_rng, c     81                 cci_i2c, cci_timer, cmu_rng, coex_uart1, coex_uart2, cri_trng,
 71                 cri_trng0, cri_trng1, dbg_out,     82                 cri_trng0, cri_trng1, dbg_out, ddr_bist, ddr_pxi0, ddr_pxi1,
 72                 ddr_pxi2, ddr_pxi3, dp_hot, gc     83                 ddr_pxi2, ddr_pxi3, dp_hot, gcc_gp1, gcc_gp2, gcc_gp3,
 73                 gpio, ibi_i3c, jitter_bist, md     84                 gpio, ibi_i3c, jitter_bist, mdp_vsync, mdp_vsync0, mdp_vsync1,
 74                 mdp_vsync2, mdp_vsync3, mi2s0_     85                 mdp_vsync2, mdp_vsync3, mi2s0_data0, mi2s0_data1, mi2s0_sck,
 75                 mi2s0_ws, mi2s2_data0, mi2s2_d     86                 mi2s0_ws, mi2s2_data0, mi2s2_data1, mi2s2_sck, mi2s2_ws,
 76                 mss_grfc0, mss_grfc1, mss_grfc     87                 mss_grfc0, mss_grfc1, mss_grfc10, mss_grfc11, mss_grfc12,
 77                 mss_grfc2, mss_grfc3, mss_grfc     88                 mss_grfc2, mss_grfc3, mss_grfc4, mss_grfc5, mss_grfc6,
 78                 mss_grfc7, mss_grfc8, mss_grfc     89                 mss_grfc7, mss_grfc8, mss_grfc9, nav, pcie0_clkreqn,
 79                 pcie1_clkreqn, phase_flag, pll     90                 pcie1_clkreqn, phase_flag, pll_bist, pll_clk, pri_mi2s,
 80                 prng_rosc, qdss_cti, qdss_gpio     91                 prng_rosc, qdss_cti, qdss_gpio, qlink0_enable, qlink0_request,
 81                 qlink0_wmss, qlink1_enable, ql     92                 qlink0_wmss, qlink1_enable, qlink1_request, qlink1_wmss,
 82                 qlink2_enable, qlink2_request,     93                 qlink2_enable, qlink2_request, qlink2_wmss, qspi0, qspi1,
 83                 qspi2, qspi3, qspi_clk, qspi_c     94                 qspi2, qspi3, qspi_clk, qspi_cs, qup0, qup1, qup10, qup11,
 84                 qup12, qup13, qup14, qup15, qu     95                 qup12, qup13, qup14, qup15, qup16, qup17, qup18, qup19, qup2,
 85                 qup20, qup21, qup3, qup4, qup5     96                 qup20, qup21, qup3, qup4, qup5, qup6, qup7, qup8, qup9, qup_l4,
 86                 qup_l5, qup_l6, sd_write, sdc4     97                 qup_l5, qup_l6, sd_write, sdc40, sdc41, sdc42, sdc43, sdc4_clk,
 87                 sdc4_cmd, sec_mi2s, tb_trig, t     98                 sdc4_cmd, sec_mi2s, tb_trig, tgu_ch0, tgu_ch1, tgu_ch2,
 88                 tgu_ch3, tmess_prng0, tmess_pr     99                 tgu_ch3, tmess_prng0, tmess_prng1, tmess_prng2, tmess_prng3,
 89                 tsense_pwm1, tsense_pwm2, uim0    100                 tsense_pwm1, tsense_pwm2, uim0_clk, uim0_data, uim0_present,
 90                 uim0_reset, uim1_clk, uim1_dat    101                 uim0_reset, uim1_clk, uim1_data, uim1_present, uim1_reset,
 91                 usb2phy_ac, usb_phy, vfr_0, vf    102                 usb2phy_ac, usb_phy, vfr_0, vfr_1, vsense_trigger ]
 92                                                   103 
                                                   >> 104       bias-disable: true
                                                   >> 105       bias-pull-down: true
                                                   >> 106       bias-pull-up: true
                                                   >> 107       drive-strength: true
                                                   >> 108       input-enable: true
                                                   >> 109       output-high: true
                                                   >> 110       output-low: true
                                                   >> 111 
 93     required:                                     112     required:
 94       - pins                                      113       - pins
 95                                                   114 
 96 required:                                      !! 115     additionalProperties: false
 97   - compatible                                 << 
 98   - reg                                        << 
 99                                                << 
100 unevaluatedProperties: false                   << 
101                                                   116 
102 examples:                                         117 examples:
103   - |                                             118   - |
104     #include <dt-bindings/interrupt-controller    119     #include <dt-bindings/interrupt-controller/arm-gic.h>
105     pinctrl@f100000 {                             120     pinctrl@f100000 {
106         compatible = "qcom,sm8450-tlmm";          121         compatible = "qcom,sm8450-tlmm";
107         reg = <0x0f100000 0x300000>;              122         reg = <0x0f100000 0x300000>;
108         gpio-controller;                          123         gpio-controller;
109         #gpio-cells = <2>;                        124         #gpio-cells = <2>;
110         gpio-ranges = <&tlmm 0 0 211>;            125         gpio-ranges = <&tlmm 0 0 211>;
111         interrupt-controller;                     126         interrupt-controller;
112         #interrupt-cells = <2>;                   127         #interrupt-cells = <2>;
113         interrupts = <GIC_SPI 208 IRQ_TYPE_LEV    128         interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
114                                                   129 
115         gpio-wo-state {                           130         gpio-wo-state {
116             pins = "gpio1";                       131             pins = "gpio1";
117             function = "gpio";                    132             function = "gpio";
118         };                                        133         };
119                                                   134 
120         uart-w-state {                            135         uart-w-state {
121             rx-pins {                             136             rx-pins {
122                 pins = "gpio26";                  137                 pins = "gpio26";
123                 function = "qup7";                138                 function = "qup7";
124                 bias-pull-up;                     139                 bias-pull-up;
125             };                                    140             };
126                                                   141 
127             tx-pins {                             142             tx-pins {
128                 pins = "gpio27";                  143                 pins = "gpio27";
129                 function = "qup7";                144                 function = "qup7";
130                 bias-disable;                     145                 bias-disable;
131             };                                    146             };
132         };                                        147         };
133     };                                            148     };
134 ...                                               149 ...
                                                      

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