The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/pinctrl/ti,da850-pupd.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * Pin configuration for TI DA850/OMAP-L138/AM18x
    2 
    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.
    5 
    6 Required Properties:
    7 
    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.
   11 
   12 The controller node also acts as a container for pin group configuration nodes.
   13 The names of these groups are ignored.
   14 
   15 Pin Group Node Properties:
   16 
   17 - groups: An array of strings, each string containing the name of a pin group.
   18           Valid names are "cp0".."cp31".
   19 
   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.
   23 
   24 
   25 Example
   26 -------
   27 
   28 In common dtsi file:
   29 
   30         pinconf: pin-controller@22c00c {
   31                 compatible = "ti,da850-pupd";
   32                 reg = <0x22c00c 0x8>;
   33         };
   34 
   35 In board-specific file:
   36 
   37         &pinconf {
   38                 pinctrl-0 = <&pinconf_bias_groups>;
   39                 pinctrl-names = "default";
   40 
   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         };

Cache object: 29d3fb41cd56e056f5f3a5190288413c


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.