[PATCH/RFC 0/2] clk / soc: renesas: Rework Kconfig and Makefile logic

Simon Horman horms at verge.net.au
Wed Apr 26 03:36:01 EDT 2017


On Tue, Apr 25, 2017 at 06:27:04PM +0200, Geert Uytterhoeven wrote:
> 	Hi all,
> 
> This RFC patch series reworks the Kconfig and Makefile logic for the
> Renesas clock and SoC drivers. It was sparked by a discussion with Olof
> about the Renesas clock driver dependencies.
> 
> The goals are to:
>   - Allow precise control over and automatic selection of which
>     (sub)drivers are used for which SoC (which may change in the
>     future),
>   - Allow adding support for new SoCs easily,
>   - Allow compile-testing of all (sub)drivers,
>   - Keep driver selection logic in the subsystem-specific Kconfig
>     independent from the architecture-specific Kconfig (i.e. no "select"
>     from arch/arm64/Kconfig.platforms), to avoid dependencies.
> 
> The series can't be applied as-is, because compile-testing all drivers
> depends on independent fixes, some in other subsystems.
> 
> More details are provided in the individual patch descriptions.
> 
> For testing, this patch series, plus several fixes to allow more
> compile-testing, are available in the
> topic/clk-soc-renesas-Kconfig-rework branch of my renesas-drivers git
> repository at 
> git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git.
> 
> This has been tested on R-Car Gen2 and Gen3, and compile-tested for
> various other configurations.
> 
> Thanks for your comments!

Hi Geert,

thanks for working on this. I am very pleased to see something that
is more robust with regards to adding new platforms without causing
build breakage - I have been burnt by this several times.

Acked-by: Simon Horman <horms+renesas at verge.net.au>




More information about the linux-arm-kernel mailing list