Re: [PATCH v4 2/4] mfd: lubbock_cplds: add lubbock IO board

Greg Kroah-Hartman
2015-03-25T14:07:34Z

On Fri, Feb 20, 2015 at 05:02:57PM +0100, Robert Jarzmik wrote:
> Lee Jones <lee.jones@linaro.org> writes:
> >> > Arnd, Greg,
> >> >
> >> > Perhaps you have some ideas WRT programmables (PLDs/CPLDs/FPGAs)?
>
> Hi Arnd and Greg,
>
> I have this driver I'm upstreaming, which comes out of
> arch/arm/mach-pxa/lubbock.c. As for the reason it is extracted, see submitted
> commit [1] for reference.
>
> The main question is : where does it belong in the kernel ?
>
> The driver is :
> - for the CPLDs on the Lubbock development platform, which is more or less an
> old motherboard for Intel Xscale pxa255 SoC (see [2] for more details)
> - these CPLDs control :
> - interrupt muxing towards the SoC
> - several leds
> - switches read back
> For the whole patch, see [4]
>
> Lee's position is that it doesn't belong to drivers/mfd, see [3].
>
> So where should I submit it ? And more generally, where should CPLDs drivers be
> pushed in the kernel tree ?
>
> If there is no solution, I'll fallback through arch/arm/plat-pxa, not very nice,
> but it has to land somewhere, I don't want lubbock to remain broken.

drivers/platform/arm ?