summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAisheng Dong <aisheng.dong@nxp.com>2019-01-24 16:22:49 +0300
committerStephen Boyd <sboyd@kernel.org>2019-02-21 23:41:16 +0300
commitcd67d3272768aa3f44c0f7cc71b82a112dce01fa (patch)
tree3ee974a77b33d97c4a8457735e8dea8aa67dab18 /drivers
parent402564aee071a9d1139bbca47f5a25242f215deb (diff)
downloadlinux-cd67d3272768aa3f44c0f7cc71b82a112dce01fa.tar.xz
clk: imx: scu: add fallback compatible string support
SCU clock can be used in a similar way by IMX8QXP and IMX8QM SoCs. Make the driver support "fsl,scu-clk" fallback compatible string to allow other SoCs to reuse the common part. Cc: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Stephen Boyd <sboyd@kernel.org> Cc: Michael Turquette <mturquette@baylibre.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/imx/clk-imx8qxp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-imx8qxp.c b/drivers/clk/imx/clk-imx8qxp.c
index 83e2ef96d81d..5e2903efc488 100644
--- a/drivers/clk/imx/clk-imx8qxp.c
+++ b/drivers/clk/imx/clk-imx8qxp.c
@@ -138,6 +138,7 @@ static int imx8qxp_clk_probe(struct platform_device *pdev)
}
static const struct of_device_id imx8qxp_match[] = {
+ { .compatible = "fsl,scu-clk", },
{ .compatible = "fsl,imx8qxp-clk", },
{ /* sentinel */ }
};