diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-11 17:07:37 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-11 17:07:37 -0400 |
commit | 30a8a0b352141783af855948e0fcf463330736ce (patch) | |
tree | e1e3c09dcb2831316ee1040af499614e7215a2d0 /arch/arm | |
parent | 633842f1734fd2c92f02acc1a0a122764d6f79c1 (diff) | |
parent | d252f644789188743b55339f5756a8bcc86fbaa5 (diff) |
Merge branch 'renesas-kzm9d' into renesas-board
* renesas-kzm9d:
ARM: mach-shmobile: kzm9d: Add defconfig
ARM: mach-shmobile: add fixed voltage regulators to kzm9d
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/configs/kzm9d_defconfig | 89 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/board-kzm9d.c | 10 |
2 files changed, 99 insertions, 0 deletions
diff --git a/arch/arm/configs/kzm9d_defconfig b/arch/arm/configs/kzm9d_defconfig new file mode 100644 index 000000000000..26146ffea1a5 --- /dev/null +++ b/arch/arm/configs/kzm9d_defconfig | |||
@@ -0,0 +1,89 @@ | |||
1 | # CONFIG_ARM_PATCH_PHYS_VIRT is not set | ||
2 | CONFIG_EXPERIMENTAL=y | ||
3 | CONFIG_SYSVIPC=y | ||
4 | CONFIG_NO_HZ=y | ||
5 | CONFIG_IKCONFIG=y | ||
6 | CONFIG_IKCONFIG_PROC=y | ||
7 | CONFIG_LOG_BUF_SHIFT=16 | ||
8 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
9 | CONFIG_SYSCTL_SYSCALL=y | ||
10 | CONFIG_EMBEDDED=y | ||
11 | CONFIG_SLAB=y | ||
12 | # CONFIG_BLK_DEV_BSG is not set | ||
13 | # CONFIG_IOSCHED_DEADLINE is not set | ||
14 | # CONFIG_IOSCHED_CFQ is not set | ||
15 | CONFIG_ARCH_SHMOBILE=y | ||
16 | CONFIG_ARCH_EMEV2=y | ||
17 | CONFIG_MACH_KZM9D=y | ||
18 | CONFIG_MEMORY_START=0x40000000 | ||
19 | CONFIG_MEMORY_SIZE=0x10000000 | ||
20 | # CONFIG_SH_TIMER_TMU is not set | ||
21 | # CONFIG_SWP_EMULATE is not set | ||
22 | # CONFIG_CACHE_L2X0 is not set | ||
23 | CONFIG_SMP=y | ||
24 | CONFIG_NR_CPUS=2 | ||
25 | CONFIG_HOTPLUG_CPU=y | ||
26 | # CONFIG_LOCAL_TIMERS is not set | ||
27 | CONFIG_AEABI=y | ||
28 | # CONFIG_OABI_COMPAT is not set | ||
29 | # CONFIG_CROSS_MEMORY_ATTACH is not set | ||
30 | CONFIG_FORCE_MAX_ZONEORDER=13 | ||
31 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
32 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
33 | CONFIG_ARM_APPENDED_DTB=y | ||
34 | CONFIG_CMDLINE="console=tty0 console=ttyS1,115200n81 earlyprintk=serial8250-em.1,115200n81 mem=128M@0x40000000 ignore_loglevel root=/dev/nfs ip=dhcp nfsroot=,rsize=4096,wsize=4096" | ||
35 | CONFIG_CMDLINE_FORCE=y | ||
36 | CONFIG_VFP=y | ||
37 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
38 | # CONFIG_SUSPEND is not set | ||
39 | CONFIG_NET=y | ||
40 | CONFIG_PACKET=y | ||
41 | CONFIG_UNIX=y | ||
42 | CONFIG_INET=y | ||
43 | CONFIG_IP_PNP=y | ||
44 | CONFIG_IP_PNP_DHCP=y | ||
45 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
46 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
47 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
48 | # CONFIG_INET_LRO is not set | ||
49 | # CONFIG_INET_DIAG is not set | ||
50 | # CONFIG_IPV6 is not set | ||
51 | # CONFIG_WIRELESS is not set | ||
52 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
53 | # CONFIG_BLK_DEV is not set | ||
54 | CONFIG_NETDEVICES=y | ||
55 | # CONFIG_NET_VENDOR_BROADCOM is not set | ||
56 | # CONFIG_NET_VENDOR_CHELSIO is not set | ||
57 | # CONFIG_NET_VENDOR_CIRRUS is not set | ||
58 | # CONFIG_NET_VENDOR_FARADAY is not set | ||
59 | # CONFIG_NET_VENDOR_INTEL is not set | ||
60 | # CONFIG_NET_VENDOR_MARVELL is not set | ||
61 | # CONFIG_NET_VENDOR_MICREL is not set | ||
62 | # CONFIG_NET_VENDOR_NATSEMI is not set | ||
63 | # CONFIG_NET_VENDOR_SEEQ is not set | ||
64 | CONFIG_SMSC911X=y | ||
65 | # CONFIG_NET_VENDOR_STMICRO is not set | ||
66 | # CONFIG_NET_VENDOR_WIZNET is not set | ||
67 | # CONFIG_WLAN is not set | ||
68 | # CONFIG_INPUT_MOUSEDEV is not set | ||
69 | # CONFIG_INPUT_KEYBOARD is not set | ||
70 | # CONFIG_INPUT_MOUSE is not set | ||
71 | # CONFIG_SERIO is not set | ||
72 | # CONFIG_LEGACY_PTYS is not set | ||
73 | # CONFIG_DEVKMEM is not set | ||
74 | CONFIG_SERIAL_8250=y | ||
75 | CONFIG_SERIAL_8250_CONSOLE=y | ||
76 | CONFIG_SERIAL_8250_EM=y | ||
77 | # CONFIG_HW_RANDOM is not set | ||
78 | CONFIG_GPIOLIB=y | ||
79 | CONFIG_GPIO_EM=y | ||
80 | # CONFIG_HWMON is not set | ||
81 | # CONFIG_HID_SUPPORT is not set | ||
82 | # CONFIG_USB_SUPPORT is not set | ||
83 | # CONFIG_IOMMU_SUPPORT is not set | ||
84 | # CONFIG_DNOTIFY is not set | ||
85 | CONFIG_TMPFS=y | ||
86 | # CONFIG_MISC_FILESYSTEMS is not set | ||
87 | CONFIG_NFS_FS=y | ||
88 | CONFIG_ROOT_NFS=y | ||
89 | # CONFIG_FTRACE is not set | ||
diff --git a/arch/arm/mach-shmobile/board-kzm9d.c b/arch/arm/mach-shmobile/board-kzm9d.c index 6a33cf393428..2c986eaae7b4 100644 --- a/arch/arm/mach-shmobile/board-kzm9d.c +++ b/arch/arm/mach-shmobile/board-kzm9d.c | |||
@@ -21,6 +21,8 @@ | |||
21 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
22 | #include <linux/interrupt.h> | 22 | #include <linux/interrupt.h> |
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | #include <linux/regulator/fixed.h> | ||
25 | #include <linux/regulator/machine.h> | ||
24 | #include <linux/smsc911x.h> | 26 | #include <linux/smsc911x.h> |
25 | #include <mach/common.h> | 27 | #include <mach/common.h> |
26 | #include <mach/emev2.h> | 28 | #include <mach/emev2.h> |
@@ -28,6 +30,12 @@ | |||
28 | #include <asm/mach/arch.h> | 30 | #include <asm/mach/arch.h> |
29 | #include <asm/hardware/gic.h> | 31 | #include <asm/hardware/gic.h> |
30 | 32 | ||
33 | /* Dummy supplies, where voltage doesn't matter */ | ||
34 | static struct regulator_consumer_supply dummy_supplies[] = { | ||
35 | REGULATOR_SUPPLY("vddvario", "smsc911x"), | ||
36 | REGULATOR_SUPPLY("vdd33a", "smsc911x"), | ||
37 | }; | ||
38 | |||
31 | /* Ether */ | 39 | /* Ether */ |
32 | static struct resource smsc911x_resources[] = { | 40 | static struct resource smsc911x_resources[] = { |
33 | [0] = { | 41 | [0] = { |
@@ -63,6 +71,8 @@ static struct platform_device *kzm9d_devices[] __initdata = { | |||
63 | 71 | ||
64 | void __init kzm9d_add_standard_devices(void) | 72 | void __init kzm9d_add_standard_devices(void) |
65 | { | 73 | { |
74 | regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies)); | ||
75 | |||
66 | emev2_add_standard_devices(); | 76 | emev2_add_standard_devices(); |
67 | 77 | ||
68 | platform_add_devices(kzm9d_devices, ARRAY_SIZE(kzm9d_devices)); | 78 | platform_add_devices(kzm9d_devices, ARRAY_SIZE(kzm9d_devices)); |