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/qcom,mdm9615-pinctrl.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 Qualcomm MDM9615 TLMM block
    2 
    3 This binding describes the Top Level Mode Multiplexer block found in the
    4 MDM9615 platform.
    5 
    6 - compatible:
    7         Usage: required
    8         Value type: <string>
    9         Definition: must be "qcom,mdm9615-pinctrl"
   10 
   11 - reg:
   12         Usage: required
   13         Value type: <prop-encoded-array>
   14         Definition: the base address and size of the TLMM register space.
   15 
   16 - interrupts:
   17         Usage: required
   18         Value type: <prop-encoded-array>
   19         Definition: should specify the TLMM summary IRQ.
   20 
   21 - interrupt-controller:
   22         Usage: required
   23         Value type: <none>
   24         Definition: identifies this node as an interrupt controller
   25 
   26 - #interrupt-cells:
   27         Usage: required
   28         Value type: <u32>
   29         Definition: must be 2. Specifying the pin number and flags, as defined
   30                     in <dt-bindings/interrupt-controller/irq.h>
   31 
   32 - gpio-controller:
   33         Usage: required
   34         Value type: <none>
   35         Definition: identifies this node as a gpio controller
   36 
   37 - #gpio-cells:
   38         Usage: required
   39         Value type: <u32>
   40         Definition: must be 2. Specifying the pin number and flags, as defined
   41                     in <dt-bindings/gpio/gpio.h>
   42 
   43 - gpio-ranges:
   44         Usage: required
   45         Definition:  see ../gpio/gpio.txt
   46 
   47 - gpio-reserved-ranges:
   48         Usage: optional
   49         Definition: see ../gpio/gpio.txt
   50 
   51 Please refer to ../gpio/gpio.txt and ../interrupt-controller/interrupts.txt for
   52 a general description of GPIO and interrupt bindings.
   53 
   54 Please refer to pinctrl-bindings.txt in this directory for details of the
   55 common pinctrl bindings used by client devices, including the meaning of the
   56 phrase "pin configuration node".
   57 
   58 The pin configuration nodes act as a container for an arbitrary number of
   59 subnodes. Each of these subnodes represents some desired configuration for a
   60 pin, a group, or a list of pins or groups. This configuration can include the
   61 mux function to select on those pin(s)/group(s), and various pin configuration
   62 parameters, such as pull-up, drive strength, etc.
   63 
   64 
   65 PIN CONFIGURATION NODES:
   66 
   67 The name of each subnode is not important; all subnodes should be enumerated
   68 and processed purely based on their content.
   69 
   70 Each subnode only affects those parameters that are explicitly listed. In
   71 other words, a subnode that lists a mux function but no pin configuration
   72 parameters implies no information about any pin configuration parameters.
   73 Similarly, a pin subnode that describes a pullup parameter implies no
   74 information about e.g. the mux function.
   75 
   76 
   77 The following generic properties as defined in pinctrl-bindings.txt are valid
   78 to specify in a pin configuration subnode:
   79 
   80 - pins:
   81         Usage: required
   82         Value type: <string-array>
   83         Definition: List of gpio pins affected by the properties specified in
   84                     this subnode.  Valid pins are:
   85                     gpio0-gpio87
   86 
   87 - function:
   88         Usage: required
   89         Value type: <string>
   90         Definition: Specify the alternative function to be configured for the
   91                     specified pins.
   92                     Valid values are:
   93                     gpio, gsbi2_i2c, gsbi3, gsbi4, gsbi5_i2c, gsbi5_uart,
   94                     sdc2, ebi2_lcdc, ps_hold, prim_audio, sec_audio,
   95                     cdc_mclk
   96 
   97 - bias-disable:
   98         Usage: optional
   99         Value type: <none>
  100         Definition: The specified pins should be configured as no pull.
  101 
  102 - bias-pull-down:
  103         Usage: optional
  104         Value type: <none>
  105         Definition: The specified pins should be configured as pull down.
  106 
  107 - bias-pull-up:
  108         Usage: optional
  109         Value type: <none>
  110         Definition: The specified pins should be configured as pull up.
  111 
  112 - output-high:
  113         Usage: optional
  114         Value type: <none>
  115         Definition: The specified pins are configured in output mode, driven
  116                     high.
  117 
  118 - output-low:
  119         Usage: optional
  120         Value type: <none>
  121         Definition: The specified pins are configured in output mode, driven
  122                     low.
  123 
  124 - drive-strength:
  125         Usage: optional
  126         Value type: <u32>
  127         Definition: Selects the drive strength for the specified pins, in mA.
  128                     Valid values are: 2, 4, 6, 8, 10, 12, 14 and 16
  129 
  130 Example:
  131 
  132         msmgpio: pinctrl@800000 {
  133                 compatible = "qcom,mdm9615-pinctrl";
  134                 reg = <0x800000 0x4000>;
  135 
  136                 gpio-controller;
  137                 #gpio-cells = <2>;
  138                 gpio-ranges = <&msmgpio 0 0 88>;
  139                 interrupt-controller;
  140                 #interrupt-cells = <2>;
  141                 interrupts = <0 16 0x4>;
  142 
  143                 gsbi8_uart: gsbi8-uart {
  144                         mux {
  145                                 pins = "gpio34", "gpio35";
  146                                 function = "gsbi8";
  147                         };
  148 
  149                         tx {
  150                                 pins = "gpio34";
  151                                 drive-strength = <4>;
  152                                 bias-disable;
  153                         };
  154 
  155                         rx {
  156                                 pins = "gpio35";
  157                                 drive-strength = <2>;
  158                                 bias-pull-up;
  159                         };
  160                 };
  161         };

Cache object: f3541305bc05b81627f67150d84eeb0c


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