RE: [PATCH V3 5/5] clk: imx: scu: add fallback compatible string support
From: Aisheng Dong <aisheng.dong@nxp.com>
Date: 2019-02-20 07:09:57
Also in:
linux-arm-kernel, linux-clk
Hi Stephen, Can you help picked this one? SCU clock is likely to be common, so we add a common compatible string to handle it. BTW Patch 1~2 already picked up by Shawn. Patch 3~4 dropped. Regards Dong Aisheng
quoted hunk ↗ jump to hunk
-----Original Message----- From: Aisheng Dong Sent: Thursday, January 24, 2019 9:23 PM To: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org; sboyd@kernel.org; mturquette@baylibre.com; shawnguo@kernel.org; Fabio Estevam [off-list ref]; dl-linux-imx [off-list ref]; kernel@pengutronix.de; robh+dt@kernel.org; devicetree@vger.kernel.org; Aisheng Dong [off-list ref] Subject: [PATCH V3 5/5] 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 <redacted> Cc: Stephen Boyd <sboyd@kernel.org> Cc: Michael Turquette <mturquette@baylibre.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> --- drivers/clk/imx/clk-imx8qxp.c | 1 + 1 file changed, 1 insertion(+)diff --git a/drivers/clk/imx/clk-imx8qxp.c b/drivers/clk/imx/clk-imx8qxp.c index83e2ef9..5e2903e 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 */ } }; -- 2.7.4