Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / pinctrl / ti,da850-pupd.txt
blob7f2980567c9f713db7f73fccdf63dc25b6deb11c
1 * Pin configuration for TI DA850/OMAP-L138/AM18x
3 These SoCs have a separate controller for setting bias (internal pullup/down).
4 Bias can only be selected for groups rather than individual pins.
6 Required Properties:
8   - compatible: Must be "ti,da850-pupd"
9   - reg: Base address and length of the memory resource used by the pullup/down
10     controller hardware module.
12 The controller node also acts as a container for pin group configuration nodes.
13 The names of these groups are ignored.
15 Pin Group Node Properties:
17 - groups: An array of strings, each string containing the name of a pin group.
18           Valid names are "cp0".."cp31".
20 The pin configuration parameters use the generic pinconf bindings defined in
21 pinctrl-bindings.txt in this directory. The supported parameters are
22 bias-disable, bias-pull-up, bias-pull-down.
25 Example
26 -------
28 In common dtsi file:
30         pinconf: pin-controller@22c00c {
31                 compatible = "ti,da850-pupd";
32                 reg = <0x22c00c 0x8>;
33         };
35 In board-specific file:
37         &pinconf {
38                 pinctrl-0 = <&pinconf_bias_groups>;
39                 pinctrl-names = "default";
41                 pinconf_bias_groups: bias-groups {
42                         pull-up {
43                                 groups = "cp30", "cp31";
44                                 bias-pull-up;
45                         };
46                         pull-down {
47                                 groups = "cp29", "cp28";
48                                 bias-pull-down;
49                         };
50                         disable {
51                                 groups = "cp27", "cp26";
52                                 bias-disable;
53                         };
54                 };
55         };