[PATCH 2/3] clk: samsung: cpu: prepare for adding Exynos5433 CPU clocks

Tomasz Figa tomasz.figa at gmail.com
Sat Jun 18 07:53:36 PDT 2016


Hi Bart,

2016-05-24 22:19 GMT+09:00 Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>:
> Exynos5433 uses different register layout for CPU clock registers
> than earlier SoCs so add new code for handling this layout.  Also
> add new CLK_CPU_HAS_E5433_REGS_LAYOUT flag to request using it.

Have you considered abstracting this? Comparing existing code with
newly added one, the differences don't really seem to be that huge and
it looks like there is more common code than different, except maybe
some numeric constants that could be put into a struct.

Best regards,
Tomasz



More information about the linux-arm-kernel mailing list