ARM: mxs: Use soc bus infrastructure
commit2046338dcbc60404ede8f034a13f02548ac70054
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 4 Jun 2013 13:18:45 +0000 (4 10:18 -0300)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 17 Jun 2013 07:41:48 +0000 (17 15:41 +0800)
tree7941058c783ee26955af656a6d5d54b36d870d14
parent115581cfc9dc868b5f2c230d0236976276bc9dbb
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>
arch/arm/mach-mxs/Kconfig
arch/arm/mach-mxs/mach-mxs.c