Skip to contentSkip to conversation

arm: ep93xx: use soc bus

PATCH New Ryan Mallon 2 participants 2 messages Nov 18, 2013 – Nov 25, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: ep93xx: use soc bus

From: H Hartley Sweeten <[email protected]>

Use the soc bus to report the silicon revision and Maverick Key. Both are not currently exposed to the user. In addition, fill in the SoC family and machine for completeness.

---
 arch/arm/mach-ep93xx/Kconfig                 |    1 +
 arch/arm/mach-ep93xx/core.c                  |  108 +++++++++++++++++++++++++-
 arch/arm/mach-ep93xx/include/mach/platform.h |    3 +-
 3 files changed, 110 insertions(+), 2 deletions(-)
arch/arm/mach-ep93xx/Kconfig +1 -0
index fe3c1fa..91eee1d 100644
@@ -5,6 +5,7 @@ menu "Cirrus EP93xx Implementation Options"
 config EP93XX_SOC_COMMON
 	bool
 	default y
+	select SOC_BUS
 	select LEDS_GPIO_REGISTER
 
 config CRUNCH
arch/arm/mach-ep93xx/core.c +107 -1

139 lines not on this page · raw message

arch/arm/mach-ep93xx/include/mach/platform.h +2 -1
index e256e0b..4c0bbd9 100644
@@ -6,6 +6,7 @@
 
 #include <linux/reboot.h>
 
+struct device;
 struct i2c_gpio_platform_data;
 struct i2c_board_info;
 struct spi_board_info;
@@ -54,7 +55,7 @@ void ep93xx_register_ide(void);
 int ep93xx_ide_acquire_gpio(struct platform_device *pdev);
 void ep93xx_ide_release_gpio(struct platform_device *pdev);
 
-void ep93xx_init_devices(void);
+struct device *ep93xx_init_devices(void);
 extern void ep93xx_timer_init(void);
 
 void ep93xx_restart(enum reboot_mode, const char *);
Signature · 1 line
1.7.9.7
#1 lore raw

PATCH 1/1 arm: ep93xx: use soc bus

Quoted 10 lines · Ryan Mallon

From: H Hartley Sweeten <[email protected]>

Use the soc bus to report the silicon revision and Maverick Key. Both are not currently exposed to the user. In addition, fill in the SoC family and machine for completeness.

Quoted 5 lines
---
 arch/arm/mach-ep93xx/Kconfig                 |    1 +
 arch/arm/mach-ep93xx/core.c                  |  108 +++++++++++++++++++++++++-
 arch/arm/mach-ep93xx/include/mach/platform.h |    3 +-
 3 files changed, 110 insertions(+), 2 deletions(-)

Applied to next/soc. Thanks!

-Olof