diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-06-04 13:18:45 (GMT) |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-06-17 07:41:48 (GMT) |
commit | 2046338dcbc60404ede8f034a13f02548ac70054 (patch) | |
tree | 7941058c783ee26955af656a6d5d54b36d870d14 /arch/arm/mach-mxs/Kconfig | |
parent | 115581cfc9dc868b5f2c230d0236976276bc9dbb (diff) | |
download | linux-fsl-qoriq-2046338dcbc60404ede8f034a13f02548ac70054.tar.xz |
ARM: mxs: Use soc bus infrastructure
Using the soc bus infrastructure is helpful for reporting several SoC related
information such as: family, machine, SoC name and SoC revision.
$ cat /sys/bus/soc/devices/soc0/family
Freescale MXS Family
$ cat /sys/bus/soc/devices/soc0/machine
Freescale i.MX28 Evaluation Kit
$ cat /sys/bus/soc/devices/soc0/soc_id
i.MX28
$ cat /sys/bus/soc/devices/soc0/revision
TO1.2
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-mxs/Kconfig')
-rw-r--r-- | arch/arm/mach-mxs/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/Kconfig b/arch/arm/mach-mxs/Kconfig index 4dc2fbb..59c30ef 100644 --- a/arch/arm/mach-mxs/Kconfig +++ b/arch/arm/mach-mxs/Kconfig @@ -25,6 +25,7 @@ config ARCH_MXS select GENERIC_CLOCKEVENTS select HAVE_CLK_PREPARE select PINCTRL + select SOC_BUS select SOC_IMX23 select SOC_IMX28 select STMP_DEVICE |