Linux Kernel
3.7.1
|
#include <linux/err.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/bitops.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/pinctrl/pinctrl.h>
#include "pinctrl-mvebu.h"
Go to the source code of this file.
Functions | |
module_platform_driver (dove_pinctrl_driver) | |
MODULE_AUTHOR ("Sebastian Hesselbarth <[email protected]>") | |
MODULE_DESCRIPTION ("Marvell Dove pinctrl driver") | |
MODULE_LICENSE ("GPL v2") | |
#define CONFIG_PMU BIT(4) |
Definition at line 53 of file pinctrl-dove.c.
#define DOVE_AU0_AC97_SEL BIT(16) |
Definition at line 28 of file pinctrl-dove.c.
#define DOVE_AU1_GPIO_SEL BIT(3) |
Definition at line 44 of file pinctrl-dove.c.
#define DOVE_AU1_SPDIFO_GPIO_EN BIT(1) |
Definition at line 38 of file pinctrl-dove.c.
#define DOVE_CAM_GPIO_SEL BIT(2) |
Definition at line 45 of file pinctrl-dove.c.
#define DOVE_GLOBAL_CONFIG_1 (DOVE_SB_REGS_VIRT_BASE | 0xe802C) |
Definition at line 29 of file pinctrl-dove.c.
#define DOVE_GLOBAL_CONFIG_2 (DOVE_SB_REGS_VIRT_BASE | 0xe8030) |
Definition at line 31 of file pinctrl-dove.c.
#define DOVE_GPIO_LO_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE | 0xd0400) |
Definition at line 40 of file pinctrl-dove.c.
#define DOVE_MPP_CTRL4_VIRT_BASE (DOVE_GPIO_LO_VIRT_BASE + 0x40) |
Definition at line 41 of file pinctrl-dove.c.
#define DOVE_MPP_GENERAL_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE | 0xe803c) |
Definition at line 37 of file pinctrl-dove.c.
#define DOVE_MPP_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE | 0xd0200) |
Definition at line 26 of file pinctrl-dove.c.
#define DOVE_NAND_GPIO_EN BIT(0) |
Definition at line 39 of file pinctrl-dove.c.
#define DOVE_PMU_MPP_GENERAL_CTRL (DOVE_MPP_VIRT_BASE + 0x10) |
Definition at line 27 of file pinctrl-dove.c.
#define DOVE_SB_REGS_VIRT_BASE 0xfde00000 |
Definition at line 25 of file pinctrl-dove.c.
#define DOVE_SD0_GPIO_SEL BIT(0) |
Definition at line 47 of file pinctrl-dove.c.
#define DOVE_SD1_GPIO_SEL BIT(1) |
Definition at line 46 of file pinctrl-dove.c.
#define DOVE_SPI_GPIO_SEL BIT(5) |
Definition at line 42 of file pinctrl-dove.c.
#define DOVE_SSP_CTRL_STATUS_1 (DOVE_SB_REGS_VIRT_BASE | 0xe8034) |
Definition at line 35 of file pinctrl-dove.c.
#define DOVE_SSP_ON_AU1 BIT(0) |
Definition at line 36 of file pinctrl-dove.c.
#define DOVE_TWSI_ENABLE_OPTION1 BIT(7) |
Definition at line 30 of file pinctrl-dove.c.
#define DOVE_TWSI_ENABLE_OPTION2 BIT(20) |
Definition at line 32 of file pinctrl-dove.c.
#define DOVE_TWSI_ENABLE_OPTION3 BIT(21) |
Definition at line 33 of file pinctrl-dove.c.
#define DOVE_TWSI_OPTION3_GPIO BIT(22) |
Definition at line 34 of file pinctrl-dove.c.
#define DOVE_UART1_GPIO_SEL BIT(4) |
Definition at line 43 of file pinctrl-dove.c.
#define MPP_BITS 4 |
Definition at line 50 of file pinctrl-dove.c.
#define MPP_MASK 0xf |
Definition at line 51 of file pinctrl-dove.c.
#define MPPS_PER_REG 8 |
Definition at line 49 of file pinctrl-dove.c.
MODULE_AUTHOR | ( | "Sebastian Hesselbarth <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |
module_platform_driver | ( | dove_pinctrl_driver | ) |