~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/cnxt,cx92755-pinctrl.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 Conexant Digicolor CX92755 General Purpose Pin Mapping
  2 
  3 This document describes the device tree binding of the pin mapping hardware
  4 modules in the Conexant Digicolor CX92755 SoCs. The CX92755 in one of the
  5 Digicolor series of SoCs.
  6 
  7 === Pin Controller Node ===
  8 
  9 Required Properties:
 10 
 11 - compatible: Must be "cnxt,cx92755-pinctrl"
 12 - reg: Base address of the General Purpose Pin Mapping register block and the
 13   size of the block.
 14 - gpio-controller: Marks the device node as a GPIO controller.
 15 - #gpio-cells: Must be <2>. The first cell is the pin number and the
 16   second cell is used to specify flags. See include/dt-bindings/gpio/gpio.h
 17   for possible values.
 18 
 19 For example, the following is the bare minimum node:
 20 
 21         pinctrl: pinctrl@f0000e20 {
 22                 compatible = "cnxt,cx92755-pinctrl";
 23                 reg = <0xf0000e20 0x100>;
 24                 gpio-controller;
 25                 #gpio-cells = <2>;
 26         };
 27 
 28 As a pin controller device, in addition to the required properties, this node
 29 should also contain the pin configuration nodes that client devices reference,
 30 if any.
 31 
 32 For a general description of GPIO bindings, please refer to ../gpio/gpio.txt.
 33 
 34 === Pin Configuration Node ===
 35 
 36 Each pin configuration node is a sub-node of the pin controller node and is a
 37 container of an arbitrary number of subnodes, called pin group nodes in this
 38 document.
 39 
 40 Please refer to the pinctrl-bindings.txt in this directory for details of the
 41 common pinctrl bindings used by client devices, including the definition of a
 42 "pin configuration node".
 43 
 44 === Pin Group Node ===
 45 
 46 A pin group node specifies the desired pin mux for an arbitrary number of
 47 pins. The name of the pin group node is optional and not used.
 48 
 49 A pin group node only affects the properties specified in the node, and has no
 50 effect on any properties that are omitted.
 51 
 52 The pin group node accepts a subset of the generic pin config properties. For
 53 details generic pin config properties, please refer to pinctrl-bindings.txt
 54 and <include/linux/pinctrl/pinconfig-generic.h>.
 55 
 56 Required Pin Group Node Properties:
 57 
 58 - pins: Multiple strings. Specifies the name(s) of one or more pins to be
 59   configured by this node. The format of a pin name string is "GP_xy", where x
 60   is an uppercase character from 'A' to 'R', and y is a digit from 0 to 7.
 61 - function: String. Specifies the pin mux selection. Values must be one of:
 62   "gpio", "client_a", "client_b", "client_c"
 63 
 64 Example:
 65         pinctrl: pinctrl@f0000e20 {
 66                 compatible = "cnxt,cx92755-pinctrl";
 67                 reg = <0xf0000e20 0x100>;
 68 
 69                 uart0_default: uart0_active {
 70                         data_signals {
 71                                 pins = "GP_O0", "GP_O1";
 72                                 function = "client_b";
 73                         };
 74                 };
 75         };
 76 
 77         uart0: uart@f0000740 {
 78                 compatible = "cnxt,cx92755-usart";
 79                 ...
 80                 pinctrl-0 = <&uart0_default>;
 81                 pinctrl-names = "default";
 82         };
 83 
 84 In the example above, a single pin group configuration node defines the
 85 "client select" for the Rx and Tx signals of uart0. The uart0 node references
 86 that pin configuration node using the &uart0_default phandle.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php