Skip to content

Commit

Permalink
clk: imx: scu: add fallback compatible string support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Aisheng Dong authored and Stephen Boyd committed Feb 21, 2019
1 parent 402564a commit cd67d32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/imx/clk-imx8qxp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */ }
};
Expand Down

0 comments on commit cd67d32

Please sign in to comment.