Lines Matching +full:input +full:- +full:schmitt +full:- +full:enable
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,pinctrl-mt6795.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
11 - Sean Wang <sean.wang@kernel.org>
18 const: mediatek,mt6795-pinctrl
20 gpio-controller: true
22 '#gpio-cells':
29 gpio-ranges:
38 reg-names:
40 - const: base
41 - const: eint
43 interrupt-controller: true
45 '#interrupt-cells':
54 '-pins$':
65 configuration, pullups, drive strength, input enable/disable and
66 input schmitt.
70 gpio-pins {
76 i2c0-pins {
82 $ref: "pinmux-node.yaml"
89 defined as macros in dt-bindings/pinctrl/<soc>-pinfunc.h
92 drive-strength:
95 bias-pull-down:
97 - type: boolean
98 - enum: [100, 101, 102, 103]
105 bias-pull-up:
107 - type: boolean
108 - enum: [100, 101, 102, 103]
115 bias-disable: true
117 output-high: true
119 output-low: true
121 input-enable: true
123 input-disable: true
125 input-schmitt-enable: true
127 input-schmitt-disable: true
129 mediatek,pull-up-adv:
140 mediatek,pull-down-adv:
152 - pinmux
155 - $ref: "pinctrl.yaml#"
158 - compatible
159 - reg
160 - reg-names
161 - interrupts
162 - interrupt-controller
163 - '#interrupt-cells'
164 - gpio-controller
165 - '#gpio-cells'
166 - gpio-ranges
171 - |
172 #include <dt-bindings/interrupt-controller/arm-gic.h>
173 #include <dt-bindings/interrupt-controller/irq.h>
174 #include <dt-bindings/pinctrl/mt6795-pinfunc.h>
177 #address-cells = <2>;
178 #size-cells = <2>;
181 compatible = "mediatek,mt6795-pinctrl";
183 reg-names = "base", "eint";
184 gpio-controller;
185 #gpio-cells = <2>;
186 gpio-ranges = <&pio 0 0 196>;
187 interrupt-controller;
189 #interrupt-cells = <2>;
191 i2c0-pins {
192 pins-sda-scl {
198 mmc0-pins {
199 pins-cmd-dat {
209 input-enable;
210 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
213 pins-clk {
215 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
218 pins-rst {
220 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;