#include <linux/device.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include "pinctrl-pxa3xx.h"
Go to the source code of this file.
|
#define | MMP2_DS_MASK 0x1800 |
|
#define | MMP2_DS_SHIFT 11 |
|
#define | MMP2_SLEEP_MASK 0x38 |
|
#define | MMP2_SLEEP_SELECT (1 << 9) |
|
#define | MMP2_SLEEP_DATA (1 << 8) |
|
#define | MMP2_SLEEP_DIR (1 << 7) |
|
#define | MFPR_MMP2(a, r, f0, f1, f2, f3, f4, f5, f6, f7) |
|
#define | GRP_MMP2(a, m, p) { .name = a, .mux = MMP2_MUX_##m, .pins = p, .npins = ARRAY_SIZE(p), } |
|
|
enum | mmp2_pin_list {
TWSI4_SCL = 169,
TWSI4_SDA,
G_CLKREQ,
VCXO_REQ,
VCXO_OUT
} |
|
enum | mmp2_mux {
MMP2_MUX_GPIO = 0,
MMP2_MUX_G_CLKREQ,
MMP2_MUX_VCXO_REQ,
MMP2_MUX_VCXO_OUT,
MMP2_MUX_KP_MK,
MMP2_MUX_KP_DK,
MMP2_MUX_CCIC1,
MMP2_MUX_CCIC2,
MMP2_MUX_SPI,
MMP2_MUX_SSPA2,
MMP2_MUX_ROT,
MMP2_MUX_I2S,
MMP2_MUX_TB,
MMP2_MUX_CAM2,
MMP2_MUX_HDMI,
MMP2_MUX_TWSI2,
MMP2_MUX_TWSI3,
MMP2_MUX_TWSI4,
MMP2_MUX_TWSI5,
MMP2_MUX_TWSI6,
MMP2_MUX_UART1,
MMP2_MUX_UART2,
MMP2_MUX_UART3,
MMP2_MUX_UART4,
MMP2_MUX_SSP1_RX,
MMP2_MUX_SSP1_FRM,
MMP2_MUX_SSP1_TXRX,
MMP2_MUX_SSP2_RX,
MMP2_MUX_SSP2_FRM,
MMP2_MUX_SSP1,
MMP2_MUX_SSP2,
MMP2_MUX_SSP3,
MMP2_MUX_SSP4,
MMP2_MUX_MMC1,
MMP2_MUX_MMC2,
MMP2_MUX_MMC3,
MMP2_MUX_MMC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|
MMP2_MUX_SSP1_TXRX |
|
MMP2_MUX_SSP2_RX |
|
MMP2_MUX_SSP2_FRM |
|
MMP2_MUX_SSP1 |
|
MMP2_MUX_SSP2 |
|
MMP2_MUX_SSP3 |
|
MMP2_MUX_SSP4 |
|
MMP2_MUX_MMC1 |
|
MMP2_MUX_MMC2 |
|
MMP2_MUX_MMC3 |
|
MMP2_MUX_MMC4 |
|
MMP2_MUX_ULPI |
|
MMP2_MUX_AC |
|
MMP2_MUX_CA |
|
MMP2_MUX_PWM |
|
MMP2_MUX_USIM |
|
MMP2_MUX_TIPU |
|
MMP2_MUX_PLL |
|
MMP2_MUX_NAND |
|
MMP2_MUX_FSIC |
|
MMP2_MUX_SLEEP_IND |
|
MMP2_MUX_EXT_DMA |
|
MMP2_MUX_ONE_WIRE |
|
MMP2_MUX_LCD |
|
MMP2_MUX_SMC |
|
MMP2_MUX_SMC_INT |
|
MMP2_MUX_MSP |
|
MMP2_MUX_G_CLKOUT |
|
MMP2_MUX_32K_CLKOUT |
|
MMP2_MUX_PRI_JTAG |
|
MMP2_MUX_AAS_JTAG |
|
MMP2_MUX_AAS_GPIO |
|
MMP2_MUX_AAS_SPI |
|
MMP2_MUX_AAS_TWSI |
|
MMP2_MUX_AAS_DEU_EX |
|
MMP2_MUX_NONE |
|
Definition at line 57 of file pinctrl-mmp2.c.
- Enumerator:
TWSI4_SCL |
|
TWSI4_SDA |
|
G_CLKREQ |
|
VCXO_REQ |
|
VCXO_OUT |
|
Definition at line 48 of file pinctrl-mmp2.c.
core_initcall_sync |
( |
mmp2_pinmux_init |
| ) |
|
module_exit |
( |
mmp2_pinmux_exit |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|