#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/bug.h>
#include <linux/string.h>
#include <linux/pinctrl/machine.h>
#include <asm/mach-types.h>
#include <plat/pincfg.h>
#include <plat/gpio-nomadik.h>
#include <mach/hardware.h>
#include "pins-db8500.h"
#include "board-mop500.h"
Go to the source code of this file.
|
#define | BIAS(a, b) static unsigned long a[] = { b } |
|
#define | DB8500_MUX_HOG(group, func) PIN_MAP_MUX_GROUP_HOG_DEFAULT("pinctrl-db8500", group, func) |
|
#define | DB8500_PIN_HOG(pin, conf) PIN_MAP_CONFIGS_PIN_HOG_DEFAULT("pinctrl-db8500", pin, conf) |
|
#define | DB8500_PIN_SLEEP(pin, conf, dev) |
|
#define | DB8500_MUX(group, func, dev) PIN_MAP_MUX_GROUP_DEFAULT(dev, "pinctrl-db8500", group, func) |
|
#define | DB8500_PIN(pin, conf, dev) PIN_MAP_CONFIGS_PIN_DEFAULT(dev, "pinctrl-db8500", pin, conf) |
|
#define | DB8500_PIN_SLEEP(pin, conf, dev) |
|
#define | DB8500_PIN_SLEEP(pin, conf, dev) |
|
|
| BIAS (pd, PIN_PULL_DOWN) |
|
| BIAS (in_nopull, PIN_INPUT_NOPULL) |
|
| BIAS (in_nopull_slpm_nowkup, PIN_INPUT_NOPULL|PIN_SLPM_WAKEUP_DISABLE) |
|
| BIAS (in_pu, PIN_INPUT_PULLUP) |
|
| BIAS (in_pd, PIN_INPUT_PULLDOWN) |
|
| BIAS (in_pd_slpm_in_pu, PIN_INPUT_PULLDOWN|PIN_SLPM_INPUT_PULLUP) |
|
| BIAS (in_pu_slpm_out_lo, PIN_INPUT_PULLUP|PIN_SLPM_OUTPUT_LOW) |
|
| BIAS (out_hi, PIN_OUTPUT_HIGH) |
|
| BIAS (out_lo, PIN_OUTPUT_LOW) |
|
| BIAS (out_lo_slpm_nowkup, PIN_OUTPUT_LOW|PIN_SLPM_WAKEUP_DISABLE) |
|
| BIAS (gpio_in_pu, PIN_INPUT_PULLUP|PIN_GPIOMODE_ENABLED) |
|
| BIAS (gpio_in_pd, PIN_INPUT_PULLDOWN|PIN_GPIOMODE_ENABLED) |
|
| BIAS (gpio_in_pu_slpm_gpio_nopull, PIN_INPUT_PULLUP|PIN_GPIOMODE_ENABLED|PIN_SLPM_GPIO|PIN_SLPM_INPUT_NOPULL) |
|
| BIAS (gpio_in_pd_slpm_gpio_nopull, PIN_INPUT_PULLDOWN|PIN_GPIOMODE_ENABLED|PIN_SLPM_GPIO|PIN_SLPM_INPUT_NOPULL) |
|
| BIAS (gpio_out_hi, PIN_OUTPUT_HIGH|PIN_GPIOMODE_ENABLED) |
|
| BIAS (gpio_out_lo, PIN_OUTPUT_LOW|PIN_GPIOMODE_ENABLED) |
|
| BIAS (slpm_in_wkup_pdis, PIN_SLEEPMODE_ENABLED|PIN_SLPM_DIR_INPUT|PIN_SLPM_WAKEUP_ENABLE|PIN_SLPM_PDIS_DISABLED) |
|
| BIAS (slpm_in_nopull_wkup, PIN_SLEEPMODE_ENABLED|PIN_SLPM_DIR_INPUT|PIN_SLPM_PULL_NONE|PIN_SLPM_WAKEUP_ENABLE) |
|
| BIAS (slpm_wkup_pdis, PIN_SLEEPMODE_ENABLED|PIN_SLPM_WAKEUP_ENABLE|PIN_SLPM_PDIS_DISABLED) |
|
| BIAS (slpm_out_hi_wkup_pdis, PIN_SLEEPMODE_ENABLED|PIN_SLPM_OUTPUT_HIGH|PIN_SLPM_WAKEUP_ENABLE|PIN_SLPM_PDIS_DISABLED) |
|
| BIAS (slpm_out_wkup_pdis, PIN_SLEEPMODE_ENABLED|PIN_SLPM_WAKEUP_ENABLE|PIN_SLPM_PDIS_DISABLED) |
|
| BIAS (slpm_out_lo_wkup, PIN_SLEEPMODE_ENABLED|PIN_SLPM_OUTPUT_LOW|PIN_SLPM_WAKEUP_ENABLE) |
|
| BIAS (slpm_out_lo_wkup_pdis, PIN_SLEEPMODE_ENABLED|PIN_SLPM_OUTPUT_LOW|PIN_SLPM_WAKEUP_ENABLE|PIN_SLPM_PDIS_DISABLED) |
|
| BIAS (slpm_in_nopull_wkup_pdis, PIN_SLEEPMODE_ENABLED|PIN_SLPM_INPUT_NOPULL|PIN_SLPM_WAKEUP_ENABLE|PIN_SLPM_PDIS_DISABLED) |
|
| early_param ("pinsfor", early_pinsfor) |
|
int | pins_for_u9500 (void) |
|
void __init | mop500_pinmaps_init (void) |
|
void __init | snowball_pinmaps_init (void) |
|
void __init | hrefv60_pinmaps_init (void) |
|
#define BIAS |
( |
|
a, |
|
|
|
b |
|
) |
| static unsigned long a[] = { b } |
#define DB8500_PIN_SLEEP |
( |
|
pin, |
|
|
|
conf, |
|
|
|
dev |
|
) |
| |
#define DB8500_PIN_SLEEP |
( |
|
pin, |
|
|
|
conf, |
|
|
|
dev |
|
) |
| |
#define DB8500_PIN_SLEEP |
( |
|
pin, |
|
|
|
conf, |
|
|
|
dev |
|
) |
| |
early_param |
( |
"pinsfor" |
, |
|
|
early_pinsfor |
|
|
) |
| |