clk / soc: renesas: Rework Kconfig and Makefile logic
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Simon Horman |
|---|---|
| Series | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH/RFC 0/2] clk / soc: renesas: Rework Kconfig and Makefile logic
Quoted 27 lines · Geert Uytterhoeven
Hi all,
This RFC patch series reworks the
KconfigandMakefilelogic 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-specificKconfigindependent from the architecture-specificKconfig(i.e. no "select" fromarch/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.
Quoted 4 lines
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.