#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_gpio.h>
#include <linux/gpio.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <asm/qe.h>
Go to the source code of this file.
#define QE_PIN_REQUESTED 0 |
arch_initcall |
( |
qe_add_gpiochips |
| ) |
|
qe_pin_request - Request a QE pin : device node to get a pin from : index of a pin in the device tree Context: non-atomic
This function return qe_pin so that you could use it with the rest of the QE Pin Multiplexing API.
Definition at line 139 of file gpio.c.
qe_pin_set_dedicated - Revert a pin to a dedicated peripheral function mode : pointer to the qe_pin structure Context: any
This function resets a pin to a dedicated peripheral function that has been set up by the firmware.
Definition at line 222 of file gpio.c.