Linux Kernel
3.7.1
|
#include <linux/err.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include "pinctrl-spear3xx.h"
Go to the source code of this file.
Macros | |
#define | DRIVER_NAME "spear300-pinmux" |
#define | PMX_CONFIG_REG 0x00 |
#define | MODE_CONFIG_REG 0x04 |
#define | NAND_MODE (1 << 0) |
#define | NOR_MODE (1 << 1) |
#define | PHOTO_FRAME_MODE (1 << 2) |
#define | LEND_IP_PHONE_MODE (1 << 3) |
#define | HEND_IP_PHONE_MODE (1 << 4) |
#define | LEND_WIFI_PHONE_MODE (1 << 5) |
#define | HEND_WIFI_PHONE_MODE (1 << 6) |
#define | ATA_PABX_WI2S_MODE (1 << 7) |
#define | ATA_PABX_I2S_MODE (1 << 8) |
#define | CAML_LCDW_MODE (1 << 9) |
#define | CAMU_LCD_MODE (1 << 10) |
#define | CAMU_WLCD_MODE (1 << 11) |
#define | CAML_LCD_MODE (1 << 12) |
Functions | |
arch_initcall (spear300_pinctrl_init) | |
module_exit (spear300_pinctrl_exit) | |
MODULE_AUTHOR ("Viresh Kumar <[email protected]>") | |
MODULE_DESCRIPTION ("ST Microelectronics SPEAr300 pinctrl driver") | |
MODULE_LICENSE ("GPL v2") | |
MODULE_DEVICE_TABLE (of, spear300_pinctrl_of_match) | |
#define ATA_PABX_I2S_MODE (1 << 8) |
Definition at line 34 of file pinctrl-spear300.c.
#define ATA_PABX_WI2S_MODE (1 << 7) |
Definition at line 33 of file pinctrl-spear300.c.
#define CAML_LCD_MODE (1 << 12) |
Definition at line 38 of file pinctrl-spear300.c.
#define CAML_LCDW_MODE (1 << 9) |
Definition at line 35 of file pinctrl-spear300.c.
#define CAMU_LCD_MODE (1 << 10) |
Definition at line 36 of file pinctrl-spear300.c.
#define CAMU_WLCD_MODE (1 << 11) |
Definition at line 37 of file pinctrl-spear300.c.
#define DRIVER_NAME "spear300-pinmux" |
Definition at line 19 of file pinctrl-spear300.c.
#define HEND_IP_PHONE_MODE (1 << 4) |
Definition at line 30 of file pinctrl-spear300.c.
#define HEND_WIFI_PHONE_MODE (1 << 6) |
Definition at line 32 of file pinctrl-spear300.c.
#define LEND_IP_PHONE_MODE (1 << 3) |
Definition at line 29 of file pinctrl-spear300.c.
#define LEND_WIFI_PHONE_MODE (1 << 5) |
Definition at line 31 of file pinctrl-spear300.c.
#define MODE_CONFIG_REG 0x04 |
Definition at line 23 of file pinctrl-spear300.c.
#define NAND_MODE (1 << 0) |
Definition at line 26 of file pinctrl-spear300.c.
#define NOR_MODE (1 << 1) |
Definition at line 27 of file pinctrl-spear300.c.
#define PHOTO_FRAME_MODE (1 << 2) |
Definition at line 28 of file pinctrl-spear300.c.
#define PMX_CONFIG_REG 0x00 |
Definition at line 22 of file pinctrl-spear300.c.
arch_initcall | ( | spear300_pinctrl_init | ) |
MODULE_AUTHOR | ( | "Viresh Kumar <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | of | , |
spear300_pinctrl_of_match | |||
) |
module_exit | ( | spear300_pinctrl_exit | ) |
MODULE_LICENSE | ( | "GPL v2" | ) |