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

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


  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,sm7150-tlmm.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Qualcomm SM7150 TLMM pin controller          7 title: Qualcomm SM7150 TLMM pin controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Bjorn Andersson <andersson@kernel.org>          10   - Bjorn Andersson <andersson@kernel.org>
 11   - Danila Tikhonov <danila@jiaxyga.com>            11   - Danila Tikhonov <danila@jiaxyga.com>
 12                                                    12 
 13 description:                                       13 description:
 14   Top Level Mode Multiplexer pin controller in     14   Top Level Mode Multiplexer pin controller in Qualcomm SM7150 SoC.
 15                                                    15 
 16 allOf:                                             16 allOf:
 17   - $ref: /schemas/pinctrl/qcom,tlmm-common.ya     17   - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
 18                                                    18 
 19 properties:                                        19 properties:
 20   compatible:                                      20   compatible:
 21     const: qcom,sm7150-tlmm                        21     const: qcom,sm7150-tlmm
 22                                                    22 
 23   reg:                                             23   reg:
 24     maxItems: 3                                    24     maxItems: 3
 25                                                    25 
 26   reg-names:                                       26   reg-names:
 27     items:                                         27     items:
 28       - const: west                                28       - const: west
 29       - const: north                               29       - const: north
 30       - const: south                               30       - const: south
 31                                                    31 
 32   interrupts:                                      32   interrupts:
 33     maxItems: 1                                    33     maxItems: 1
 34                                                    34 
                                                   >>  35   interrupt-controller: true
                                                   >>  36   "#interrupt-cells": true
                                                   >>  37   gpio-controller: true
                                                   >>  38   "#gpio-cells": true
                                                   >>  39   gpio-ranges: true
                                                   >>  40   wakeup-parent: true
                                                   >>  41 
 35   gpio-reserved-ranges:                            42   gpio-reserved-ranges:
 36     minItems: 1                                    43     minItems: 1
 37     maxItems: 60                                   44     maxItems: 60
 38                                                    45 
 39   gpio-line-names:                                 46   gpio-line-names:
 40     maxItems: 119                                  47     maxItems: 119
 41                                                    48 
 42 patternProperties:                                 49 patternProperties:
 43   "-state$":                                       50   "-state$":
 44     oneOf:                                         51     oneOf:
 45       - $ref: "#/$defs/qcom-sm7150-tlmm-state"     52       - $ref: "#/$defs/qcom-sm7150-tlmm-state"
 46       - patternProperties:                         53       - patternProperties:
 47           "-pins$":                                54           "-pins$":
 48             $ref: "#/$defs/qcom-sm7150-tlmm-st     55             $ref: "#/$defs/qcom-sm7150-tlmm-state"
 49         additionalProperties: false                56         additionalProperties: false
 50                                                    57 
 51 $defs:                                             58 $defs:
 52   qcom-sm7150-tlmm-state:                          59   qcom-sm7150-tlmm-state:
 53     type: object                                   60     type: object
 54     description:                                   61     description:
 55       Pinctrl node's client devices use subnod     62       Pinctrl node's client devices use subnodes for desired pin configuration.
 56       Client device subnodes use below standar     63       Client device subnodes use below standard properties.
 57     $ref: qcom,tlmm-common.yaml#/$defs/qcom-tl     64     $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state
 58     unevaluatedProperties: false                   65     unevaluatedProperties: false
 59                                                    66 
 60     properties:                                    67     properties:
 61       pins:                                        68       pins:
 62         description:                               69         description:
 63           List of gpio pins affected by the pr     70           List of gpio pins affected by the properties specified in this
 64           subnode.                                 71           subnode.
 65         items:                                     72         items:
 66           oneOf:                                   73           oneOf:
 67             - pattern: "^gpio([0-9]|[1-9][0-9]     74             - pattern: "^gpio([0-9]|[1-9][0-9]|10[0-9]|11[0-8])$"
 68             - enum: [ sdc1_rclk, sdc1_clk, sdc     75             - enum: [ sdc1_rclk, sdc1_clk, sdc1_cmd, sdc1_data, sdc2_clk,
 69                       sdc2_cmd, sdc2_data, ufs     76                       sdc2_cmd, sdc2_data, ufs_reset ]
 70         minItems: 1                                77         minItems: 1
 71         maxItems: 36                               78         maxItems: 36
 72                                                    79 
 73       function:                                    80       function:
 74         description:                               81         description:
 75           Specify the alternative function to      82           Specify the alternative function to be configured for the specified
 76           pins.                                    83           pins.
 77                                                    84 
 78         enum: [ gpio, adsp_ext, agera_pll, aos     85         enum: [ gpio, adsp_ext, agera_pll, aoss_cti, atest_char, atest_tsens,
 79                 atest_tsens2, atest_usb1, ates     86                 atest_tsens2, atest_usb1, atest_usb2, cam_mclk, cci_async,
 80                 cci_i2c, cci_timer0, cci_timer     87                 cci_i2c, cci_timer0, cci_timer1, cci_timer2, cci_timer3,
 81                 cci_timer4, dbg_out, ddr_bist,     88                 cci_timer4, dbg_out, ddr_bist, ddr_pxi0, ddr_pxi1, ddr_pxi2,
 82                 ddr_pxi3, edp_hot, edp_lcd, gc     89                 ddr_pxi3, edp_hot, edp_lcd, gcc_gp1, gcc_gp2, gcc_gp3, gp_pdm0,
 83                 gp_pdm1, gp_pdm2, gps_tx, jitt     90                 gp_pdm1, gp_pdm2, gps_tx, jitter_bist, ldo_en, ldo_update,
 84                 m_voc, mdp_vsync, mdp_vsync0,      91                 m_voc, mdp_vsync, mdp_vsync0, mdp_vsync1, mdp_vsync2,
 85                 mdp_vsync3, mss_lte, nav_pps_i     92                 mdp_vsync3, mss_lte, nav_pps_in, nav_pps_out, pa_indicator,
 86                 pci_e, phase_flag, pll_bist, p     93                 pci_e, phase_flag, pll_bist, pll_bypassnl, pll_reset, pri_mi2s,
 87                 pri_mi2s_ws, prng_rosc, qdss,      94                 pri_mi2s_ws, prng_rosc, qdss, qdss_cti, qlink_enable,
 88                 qlink_request, qua_mi2s, qup00     95                 qlink_request, qua_mi2s, qup00, qup01, qup02, qup03, qup04,
 89                 qup10, qup11, qup12, qup13, qu     96                 qup10, qup11, qup12, qup13, qup14, qup15, sd_write, sdc40,
 90                 sdc41, sdc42, sdc43, sdc4_clk,     97                 sdc41, sdc42, sdc43, sdc4_clk, sdc4_cmd, sec_mi2s, ter_mi2s,
 91                 tgu_ch0, tgu_ch1, tgu_ch2, tgu     98                 tgu_ch0, tgu_ch1, tgu_ch2, tgu_ch3, tsif1_clk, tsif1_data,
 92                 tsif1_en, tsif1_error, tsif1_s     99                 tsif1_en, tsif1_error, tsif1_sync, tsif2_clk, tsif2_data,
 93                 tsif2_en, tsif2_error, tsif2_s    100                 tsif2_en, tsif2_error, tsif2_sync, uim1_clk, uim1_data,
 94                 uim1_present, uim1_reset, uim2    101                 uim1_present, uim1_reset, uim2_clk, uim2_data, uim2_present,
 95                 uim2_reset, uim_batt, usb_phy,    102                 uim2_reset, uim_batt, usb_phy, vfr_1, vsense_trigger,
 96                 wlan1_adc0, wlan1_adc1, wlan2_    103                 wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1, wsa_clk,
 97                 wsa_data ]                        104                 wsa_data ]
 98                                                   105 
 99     required:                                     106     required:
100       - pins                                      107       - pins
101                                                   108 
102 required:                                         109 required:
103   - compatible                                    110   - compatible
104   - reg                                           111   - reg
105   - reg-names                                     112   - reg-names
106                                                   113 
107 unevaluatedProperties: false                   !! 114 additionalProperties: false
108                                                   115 
109 examples:                                         116 examples:
110   - |                                             117   - |
111     #include <dt-bindings/interrupt-controller    118     #include <dt-bindings/interrupt-controller/arm-gic.h>
112                                                   119 
113     tlmm: pinctrl@3500000 {                       120     tlmm: pinctrl@3500000 {
114         compatible = "qcom,sm7150-tlmm";          121         compatible = "qcom,sm7150-tlmm";
115         reg = <0x03500000 0x300000>,              122         reg = <0x03500000 0x300000>,
116               <0x03900000 0x300000>,              123               <0x03900000 0x300000>,
117               <0x03d00000 0x300000>;              124               <0x03d00000 0x300000>;
118         reg-names = "west", "north", "south";     125         reg-names = "west", "north", "south";
119         interrupts = <GIC_SPI 208 IRQ_TYPE_LEV    126         interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
120         gpio-ranges = <&tlmm 0 0 120>;            127         gpio-ranges = <&tlmm 0 0 120>;
121         gpio-controller;                          128         gpio-controller;
122         #gpio-cells = <2>;                        129         #gpio-cells = <2>;
123         interrupt-controller;                     130         interrupt-controller;
124         #interrupt-cells = <2>;                   131         #interrupt-cells = <2>;
125         wakeup-parent = <&pdc>;                   132         wakeup-parent = <&pdc>;
126                                                   133 
127         gpio-wo-state {                           134         gpio-wo-state {
128             pins = "gpio1";                       135             pins = "gpio1";
129             function = "gpio";                    136             function = "gpio";
130         };                                        137         };
131                                                   138 
132         uart-w-state {                            139         uart-w-state {
133             rx-pins {                             140             rx-pins {
134                 pins = "gpio44";                  141                 pins = "gpio44";
135                 function = "qup12";               142                 function = "qup12";
136                 bias-pull-up;                     143                 bias-pull-up;
137             };                                    144             };
138                                                   145 
139             tx-pins {                             146             tx-pins {
140                 pins = "gpio45";                  147                 pins = "gpio45";
141                 function = "qup12";               148                 function = "qup12";
142                 bias-disable;                     149                 bias-disable;
143             };                                    150             };
144         };                                        151         };
145     };                                            152     };
146 ...                                               153 ...
                                                      

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