]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Export SoC information to userspace
authorRuslan Bilovol <ruslan.bilovol@ti.com>
Thu, 14 Feb 2013 11:55:24 +0000 (13:55 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 8 Apr 2013 23:04:25 +0000 (16:04 -0700)
commitd2153bface8fbda2dbfac882f04cdff32437611e
treef2f1dadcad28470f3aa6221d97b6392f1d7f5d33
parentb5ecf29f189f92c47cdc29b09feaa029bc80d303
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>
arch/arm/mach-omap2/Kconfig
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/id.c
arch/arm/mach-omap2/io.c