clk: mvebu: ap806-cpu: prepare mapping of AP807 CPU clock
authorChristine Gharzuzi <chrisg@marvell.com>
Mon, 5 Aug 2019 10:03:05 +0000 (12:03 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 18 Sep 2019 05:15:40 +0000 (22:15 -0700)
commita77f45eaa266e493e2bf190b5af6b88940dc0174
tree5e58a6f1e48164405adcc59f570c1b9ba3330efe
parent64b379543e2aa64a1328ab3c7f4f34dd467b9474
clk: mvebu: ap806-cpu: prepare mapping of AP807 CPU clock

This patch allows same flow to be executed on chips with different
register mappings like AP806 and, in the future, AP807.

Note: this patch has no functional effect, and only prepares the
driver for additional chips to be supported by retrieving the right
device data depenging on the compatible property.

Signed-off-by: Christine Gharzuzi <chrisg@marvell.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lkml.kernel.org/r/20190805100310.29048-4-miquel.raynal@bootlin.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mvebu/ap-cpu-clk.c