arm: ep93xx: use soc bus
H Hartley Sweeten
maintainerPATCH 1/1 arm: ep93xx: use soc bus
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.
Signed-off-by H Hartley Sweeten <[email protected]>
Cc Ryan Mallon <[email protected]>
Cc Alexander Shiyan <[email protected]>
---
v4: refresh to next-20130718
v3: use the full name for the family as suggested by Alexander Shiyan
v2: address some comments from Ryan Mallon
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
@@ -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
@@ -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.8.3.2