Lines Matching +full:controller +full:- +full:specific
1 * Mediatek MT8183 Pin Controller
3 The Mediatek's Pin controller is used to control SoC pins.
6 - compatible: value should be one of the following.
7 "mediatek,mt8183-pinctrl", compatible with mt8183 pinctrl.
8 - gpio-controller : Marks the device node as a gpio controller.
9 - #gpio-cells: number of cells in GPIO specifier. Since the generic GPIO
12 - gpio-ranges : gpio valid number range.
13 - reg: physical address base for gpio base registers. There are 10 GPIO
17 - reg-names: gpio base register names. There are 10 gpio base register
20 - interrupt-controller: Marks the device node as an interrupt controller
21 - #interrupt-cells: Should be two.
22 - interrupts : The interrupt outputs to sysirq.
24 Please refer to pinctrl-bindings.txt in this directory for details of the
39 - pinmux: integer array, represents gpio pin number and mux setting.
41 as macros in boot/dts/<soc>-pinfunc.h directly.
44 - GENERIC_PINCONFIG: is the generic pinconfig options to use, bias-disable,
45 bias-pull-down, bias-pull-up, input-enable, input-disable, output-low,
46 output-high, input-schmitt-enable, input-schmitt-disable
47 and drive-strength are valid.
49 Some special pins have extra pull up strength, there are R0 and R1 pull-up
51 10 or 11. So It needs config "mediatek,pull-up-adv" or
52 "mediatek,pull-down-adv" to support arguments for those special pins.
62 When config drive-strength, it can support some arguments, such as
63 MTK_DRIVE_4mA, MTK_DRIVE_6mA, etc. See dt-bindings/pinctrl/mt65xx.h.
65 For I2C pins, there are existing generic driving setup and the specific
67 adjustment in generic driving setup. But in specific driving setup,
68 they can support 0.125/0.25/0.5/1mA adjustment. If we enable specific
70 disabled. For some special features, we need the I2C pins specific
71 driving setup. The specific driving setup is controlled by E1E0EN.
74 We can add "mediatek,drive-strength-adv = <XXX>;" to describe the specific
76 It is used to enable or disable the specific driving setup.
82 So the valid arguments of "mediatek,drive-strength-adv" are from 0 to 7.
86 #include "mt8183-pinfunc.h"
91 compatible = "mediatek,mt8183-pinctrl";
102 reg-names = "iocfg0", "iocfg1", "iocfg2",
106 gpio-controller;
107 #gpio-cells = <2>;
108 gpio-ranges = <&pio 0 0 192>;
109 interrupt-controller;
111 #interrupt-cells = <2>;
117 mediatek,pull-up-adv = <3>;
118 mediatek,drive-strength-adv = <7>;
126 mediatek,pull-down-adv = <2>;
127 mediatek,drive-strength-adv = <4>;