[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200509172724.GG1551@shell.armlinux.org.uk>
Date: Sat, 9 May 2020 18:27:24 +0100
From: Russell King - ARM Linux admin <linux@...linux.org.uk>
To: Andrew Lunn <andrew@...n.ch>
Cc: Hui Song <hui.song_1@....com>, u-boot@...ux.nxdi.nxp.com,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, jiafei.pan@....com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v1 2/3] armv8: gpio: add gpio feature
On Sat, May 09, 2020 at 05:33:15PM +0200, Andrew Lunn wrote:
> On Sat, May 09, 2020 at 06:39:55PM +0800, Hui Song wrote:
> > From: "hui.song" <hui.song_1@....com>
> >
> > add one struct mpc8xxx_gpio_plat to enable gpio feature.
> >
> > Signed-off-by: hui.song <hui.song_1@....com>
> > ---
> > .../include/asm/arch-fsl-layerscape/gpio.h | 22 +++++++++++++++++++
> > 1 file changed, 22 insertions(+)
> > create mode 100644 arch/arm/include/asm/arch-fsl-layerscape/gpio.h
> >
> > diff --git a/arch/arm/include/asm/arch-fsl-layerscape/gpio.h b/arch/arm/include/asm/arch-fsl-layerscape/gpio.h
> > new file mode 100644
> > index 0000000000..d8dd750a72
> > --- /dev/null
> > +++ b/arch/arm/include/asm/arch-fsl-layerscape/gpio.h
> > @@ -0,0 +1,22 @@
> > +/* SPDX-License-Identifier: GPL-2.0+ */
> > +/*
> > + * Copyright 2014 Freescale Semiconductor, Inc.
> > + */
> > +
> > +/*
> > + * Dummy header file to enable CONFIG_OF_CONTROL.
> > + * If CONFIG_OF_CONTROL is enabled, lib/fdtdec.c is compiled.
> > + * It includes <asm/arch/gpio.h> via <asm/gpio.h>, so those SoCs that enable
> > + * OF_CONTROL must have arch/gpio.h.
> > + */
>
> This does not seem right. You would expect each sub arch to have a
> subdirectory in arch/arm/include/asm/ when in fact none do.
>From what I can tell, these patches are not for the kernel. The
filenames don't match th kernel layout.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 10.2Mbps down 587kbps up
Powered by blists - more mailing lists