[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150520010151.GZ1071@dragon>
Date: Wed, 20 May 2015 09:01:51 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: maitysanchayan@...il.com
Cc: shawn.guo@...aro.org, kernel@...gutronix.de, stefan@...er.ch,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 2/2] ARM: vf610: Add SoC bus support for Vybrid
On Tue, May 19, 2015 at 03:12:23PM +0530, maitysanchayan@...il.com wrote:
> Hello Shawn,
>
> On 15-05-19 14:24:13, Shawn Guo wrote:
> > On Mon, May 18, 2015 at 11:50:07AM +0530, 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
> > >
> > > Signed-off-by: Sanchayan Maity <maitysanchayan@...il.com>
> > > ---
> > > arch/arm/mach-imx/mach-vf610.c | 81 ++++++++++++++++++++++++++++++++++++++++++
> > > 1 file changed, 81 insertions(+)
> > >
> > > diff --git a/arch/arm/mach-imx/mach-vf610.c b/arch/arm/mach-imx/mach-vf610.c
> > > index 2e7c75b..64c78e4 100644
> > > --- a/arch/arm/mach-imx/mach-vf610.c
> > > +++ b/arch/arm/mach-imx/mach-vf610.c
> > > @@ -11,6 +11,86 @@
> > > #include <linux/irqchip.h>
> > > #include <asm/mach/arch.h>
> > > #include <asm/hardware/cache-l2x0.h>
> > > +#include <linux/slab.h>
> > > +#include <linux/sys_soc.h>
> > > +#include <linux/mfd/syscon.h>
> > > +#include <linux/regmap.h>
> > > +#include <linux/random.h>
> >
> > Please group <linux/*> headers together and sort alphabetically.
>
> Ok. Will fix this and send out a v2. The rest is acceptable?
I'm fine with the rest, but would need an ACK from Stefan to apply the
patch.
Shawn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists