Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752970AbbETHMq (ORCPT ); Wed, 20 May 2015 03:12:46 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:60919 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbbETHMo (ORCPT ); Wed, 20 May 2015 03:12:44 -0400 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Sanchayan Maity , shawn.guo@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stefan@agner.ch, kernel@pengutronix.de Subject: Re: [PATCH v2 2/2] ARM: vf610: Add SoC bus support for Vybrid Date: Wed, 20 May 2015 09:12:08 +0200 Message-ID: <9691074.oWRy1bscbz@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <27733a88b73adb7000205e020bafdb6f7ebe1843.1432099651.git.maitysanchayan@gmail.com> References: <27733a88b73adb7000205e020bafdb6f7ebe1843.1432099651.git.maitysanchayan@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:NOCfw+MxfAnAKrFjC8+nzV6Ie5p0hOwa5n9ZPalcdq9UFcboqTi HRK0auZcC40+JBMJ6J7fD9WHcmsVVBxwqp002jzm/CxQ9gUWv+RA2gmABZRNESJljMdVVH3 mNqykIja+AELUdaSsFm+R7fo9G98M17+0ON+gG6dnHZ+KdJw03Qm9CgeJdKHchLyb7ioKJJ j3iOFchhK4aMAODcSuJAQ== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 29 On Wednesday 20 May 2015 11:06:52 Sanchayan Maity wrote: > Implements SoC bus support to export SoC specific information. Read > the unique SoC ID from the Vybrid On Chip One Time Programmable > (OCOTP) controller, SoC specific information from the Miscellaneous > System Control Module (MSCM), revision from the ROM revision register > and expose it via the SoC bus infrastructure. > > Sample Output: > > root@vf:/sys/devices/soc0# cat soc_id > df63c12a2e2161d4 > root@vf:/sys/devices/soc0# cat family > Freescale Vybrid VF500 > root@vf:/sys/devices/soc0# cat revision > 00000013 > root@vf:/sys/devices/soc0# cat machine > Freescale Vybrid > I would prefer to see this as a driver in drivers/soc that registers to a platform device. Is there any DT node that would be a reasonable device to bind to? Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/