ARM: OMAP2+: Export SoC information to userspace

In some situations it is useful for userspace to
know some SoC-specific information. For example,
this may be used for deciding what kernel module to
use or how to better configure some settings etc.
This patch exports OMAP SoC information to userspace
using existing in Linux kernel SoC infrastructure.

This information can be read under
/sys/devices/socX directory

Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
[tony@atomide.com: updated for multiplatform changes]
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
Ruslan Bilovol
2013-02-14 13:55:24 +02:00
gecommit door Tony Lindgren
bovenliggende f9d41eefcf
commit 6770b21143
4 gewijzigde bestanden met toevoegingen van 75 en 0 verwijderingen

Bestand weergeven

@@ -389,6 +389,7 @@ static void __init omap_common_late_init(void)
{
omap_mux_late_init();
omap2_common_pm_late_init();
omap_soc_device_init();
}
#ifdef CONFIG_SOC_OMAP2420