From: Aisheng Dong Date: Thu, 24 Jan 2019 13:22:49 +0000 (+0000) Subject: clk: imx: scu: add fallback compatible string support X-Git-Tag: v5.1-rc1~34^2~9^2~15 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=cd67d3272768aa3f44c0f7cc71b82a112dce01fa;p=linux-block.git 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 Cc: Sascha Hauer Cc: Fabio Estevam Cc: Stephen Boyd Cc: Michael Turquette Signed-off-by: Dong Aisheng Signed-off-by: Stephen Boyd --- 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 */ } };