Re: [PATCH v5 1/3] ARM: pxa: pxa_cplds: add lubbock and mainstone IO

From: Robert Jarzmik
Date: Sun Apr 26 2015 - 15:39:12 EST


Paul Bolle <pebolle@xxxxxxxxxx> writes:

> On Sat, 2015-04-25 at 23:13 +0200, Robert Jarzmik wrote:
>> --- a/arch/arm/mach-pxa/Kconfig
>> +++ b/arch/arm/mach-pxa/Kconfig
>
>> +config PXA_SYSTEMS_CPLDS
>> + bool "Motherboard cplds"
>> + def_bool ARCH_LUBBOCK || MACH_MAINSTONE
>
> Just
> default ARCH_LUBBOCK || MACH_MAINSTONE
>
> should be enough.
Actually this will become a tristate, and I'll take your "default"
suggestion. For v2.

>> + select MFD_CORE
Ah this is an oversight now I see it. In the move from drivers/mfd to arch/arm I
forgot to remove this. For v2 also.

>> + help
>> + This driver supports the Lubbock and Mainstone multifunction chip
>> + found on the pxa25x development platform system (Lubbock) and pxa27x
>> + development platform system (Mainstone). This IO board supports the
>> + interrupts handling, ethernet controller, flash chips, etc ...
>
>> --- a/arch/arm/mach-pxa/Makefile
>> +++ b/arch/arm/mach-pxa/Makefile
>
>> +obj-$(CONFIG_PXA_SYSTEMS_CPLDS) += pxa_cplds_irqs.o
>
> PXA_SYSTEMS_CPLDS is a bool symbol, so pxa_cplds_irqs.o will never be
> part of a module, correct?
Euh no, this another mistake of mine, it should capable of being a module, to
enable the lubbock/mainstone generic device tree support. I'll fix that for v2
also.

I removed the below comments as the built-in is an error of mine.

Thanks for the review Paul.

Cheers.

--
Robert
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/