diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-08-13 12:59:28 +0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-10-21 05:14:54 +0400 |
commit | a28875462bd493fc1bb041c21f811b4a0577a497 (patch) | |
tree | c35823e0705c4e173f38aad2b4e5764e18692f94 /arch/arm/mach-imx/Kconfig | |
parent | d8ce823fb34e6b50b1d9cb804c1067546eab9cee (diff) | |
download | linux-a28875462bd493fc1bb041c21f811b4a0577a497.tar.xz |
ARM: imx6: report soc info via soc device
The patch enables soc bus infrastructure and adds a function
imx_soc_device_init() to report soc info via soc device interface for
imx6qdl and imx6sl. With the support, user space can get soc related
info by looking at sysfs like below.
$ cat /sys/devices/soc0/machine
Freescale i.MX6 Quad SABRE Smart Device Board
$ cat /sys/devices/soc0/family
Freescale i.MX
$ cat /sys/devices/soc0/soc_id
i.MX6Q
$ cat /sys/devices/soc0/revision
1.2
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 9f67338ac2ee..e0179158aec6 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -11,6 +11,7 @@ config ARCH_MXC select GENERIC_IRQ_CHIP select MIGHT_HAVE_CACHE_L2X0 if ARCH_MULTI_V6_V7 select MULTI_IRQ_HANDLER + select SOC_BUS select SPARSE_IRQ select USE_OF help |