Thread (32 messages) 32 messages, 10 authors, 2011-03-11

[RFC PATCHv1 2/2] ux500: Export U8500 SoC info through sysfs

From: arnd@arndb.de (Arnd Bergmann)
Date: 2011-03-09 20:02:36
Also in: linux-arm-msm, linux-omap

On Wednesday 09 March 2011 17:59:21 Maxime Coquelin wrote:
ST-Ericsson's U8500 implementation.
Register sysfs SoC interface, and export SoC ID, process and silicon revision
number.
+static char *ux500_get_soc_id(struct sys_soc_info *si)
+{
+	void __iomem *uid_base = __io_address(U8500_BB_UID_BASE);
+static char *ux500_get_revision(struct sys_soc_info *si)
+{
+	unsigned int rev = dbx500_revision();

+
+static char *ux500_get_process(struct sys_soc_info *si)
+{
These should all just be attributes of the platform device that
represents your SoC.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help