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/gpio/rockchip,rk3328-grf-gpio.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 Rockchip RK3328 GRF (General Register Files) GPIO controller.
    2 
    3 In Rockchip RK3328, the output only GPIO_MUTE pin, originally for codec mute
    4 control, can also be used for general purpose. It is manipulated by the
    5 GRF_SOC_CON10 register in GRF. Aside from the GPIO_MUTE pin, the HDMI pins can
    6 also be set in the same way.
    7 
    8 Currently this GPIO controller only supports the mute pin. If needed in the
    9 future, the HDMI pins support can also be added.
   10 
   11 Required properties:
   12 - compatible: Should contain "rockchip,rk3328-grf-gpio".
   13 - gpio-controller: Marks the device node as a gpio controller.
   14 - #gpio-cells: Should be 2. The first cell is the pin number and
   15   the second cell is used to specify the gpio polarity:
   16     0 = Active high,
   17     1 = Active low.
   18 
   19 Example:
   20 
   21         grf: syscon@ff100000 {
   22                 compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd";
   23 
   24                 grf_gpio: grf-gpio {
   25                         compatible = "rockchip,rk3328-grf-gpio";
   26                         gpio-controller;
   27                         #gpio-cells = <2>;
   28                 };
   29         };
   30 
   31 Note: The grf_gpio node should be declared as the child of the GRF (General
   32 Register File) node. The GPIO_MUTE pin is referred to as <&grf_gpio 0>.

Cache object: b3ea2bfaccdaed14b1868a1696446054


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