Re: [PATCH v4 1/3] clk: samsung: Enable COMPILE_TEST for Samsung clocks

From: Javier Martinez Canillas
Date: Thu Jan 28 2016 - 14:13:02 EST


Hello Krzysztof,

On 01/27/2016 09:35 PM, Krzysztof Kozlowski wrote:
Enable the COMPILE_TEST to get build coverage of some of Samsung clock
controller drivers. Still some of them will be built only if
appropriate SoC is chosen (like SOC_EXYNOS4415 or ARCH_S3C64XX).

Anyway in case of COMPILE_TEST the Samsung clocks would show up in main
drivers section because they are not inside the "Common Clock Framework"
menu item. Move them under the "Common Clock Framework".

This changes the logic of selecting Samsung clocks from specific
architectures. Now the COMMON_CLK should be selected before selecting
specific clock (like S3C2410_COMMON_CLK or COMMON_CLK_SAMSUNG).

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>


Reviewed-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>

I have also verified that more samsung clocks drivers are built for
allyesconfig (where COMPILE_TEST is enabled) when make M=drivers/clk

Tested-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>

Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America