diff options
author | Andy Green <andy@openmoko.com> | 2008-11-21 11:56:57 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-21 11:56:57 +0000 |
commit | 51f82d8be7acb8594e82d913d1b4577462703032 (patch) | |
tree | 411fdd1f9b6efbd850b49a7b393b396d3cf3b5e7 /arch/arm/mach-s3c6410/include/mach/om-gta03.h | |
parent | 3afa93d57719fd9b1bf837f5609095237a4187c7 (diff) |
introduce-om-gta03-features.patch
This patch adds a single file that is intended to do the job of
the several neo1973_pm_* drivers used in GTA02. It exposes the
/sys nodes
/sys/bus/platform/devices/om-gta03.0/gps_power
/sys/bus/platform/devices/om-gta03.0/gsm_power
/sys/bus/platform/devices/om-gta03.0/usbhost_power
/sys/bus/platform/devices/om-gta03.0/wlan_bt_power
at the moment which allow power control of these subsystems.
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm/mach-s3c6410/include/mach/om-gta03.h')
-rw-r--r-- | arch/arm/mach-s3c6410/include/mach/om-gta03.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c6410/include/mach/om-gta03.h b/arch/arm/mach-s3c6410/include/mach/om-gta03.h index c05e014015f..17a07dd4c6f 100644 --- a/arch/arm/mach-s3c6410/include/mach/om-gta03.h +++ b/arch/arm/mach-s3c6410/include/mach/om-gta03.h @@ -16,6 +16,9 @@ #include <mach/gpio.h> #include <mach/irqs.h> +#include <linux/mfd/pcf50633/core.h> + +extern struct pcf50633_platform_data om_gta03_pcf_pdata; /* ATAG_REVISION from bootloader */ #define GTA03v1_SYSTEM_REV 0x00000001 @@ -41,11 +44,10 @@ #define GTA03_GPIO_WLAN_RESET S3C64XX_GPH(6) #define GTA03_GPIO_HDQ S3C64XX_GPH(7) #define GTA03_GPIO_WLAN_PWRDN S3C64XX_GPH(8) -#define GTA03_GPIO_WLAN_OSC S3C64XX_GPH(9) -#define GTA03_GPIO_VERSION0 S3C64XX_GPI(0) +#define GTA03_GPIO_VERSION2 S3C64XX_GPI(0) #define GTA03_GPIO_VERSION1 S3C64XX_GPI(1) -#define GTA03_GPIO_VERSION2 S3C64XX_GPI(8) +#define GTA03_GPIO_VERSION0 S3C64XX_GPI(8) #define GTA03_GPIO_NWLAN_POWER S3C64XX_GPK(0) #define GTA03_GPIO_MODEN_ON S3C64XX_GPK(2) |