[PATCH 08/16] clk: samsung: Use clk.h as a single header for Samsung CCF

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Tue Feb 20 02:55:06 PST 2024


On 16/02/2024 23:32, Sam Protsenko wrote:
> Make both CPU and PLL clock headers to be included indirectly via clk.h.
> All Samsung clock drivers already include clk.h, which provides API for
> Samsung CCF clocks like muxes, gates, etc. Both CPU and PLL Samsung
> clock are not that different. It makes sense to only use both clk-cpu.h
> and clk-pll.h internally for Samsung CCF framework, and make clk.h the
> facade for Samsung CCF. This way all clock drivers only have to include
> clk.h.

Each header and unit file should include only what's necessary, so this
change is contradictory with basic rule.

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list