From: Aisheng Dong <aisheng.dong@nxp.com> To: "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org> Cc: Aisheng Dong <aisheng.dong@nxp.com>, "ulf.hansson@linaro.org" <ulf.hansson@linaro.org>, "dongas86@gmail.com" <dongas86@gmail.com>, "khilman@kernel.org" <khilman@kernel.org>, "linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>, "rjw@rjwysocki.net" <rjw@rjwysocki.net>, Rob Herring <robh+dt@kernel.org>, dl-linux-imx <linux-imx@nxp.com>, "kernel@pengutronix.de" <kernel@pengutronix.de>, Fabio Estevam <fabio.estevam@nxp.com>, "shawnguo@kernel.org" <shawnguo@kernel.org> Subject: [PATCH 3/3] firmware: imx: scu-pd: add fallback compatible string support Date: Tue, 18 Dec 2018 16:01:29 +0000 [thread overview] Message-ID: <1545148524-658-4-git-send-email-aisheng.dong@nxp.com> (raw) In-Reply-To: <1545148524-658-1-git-send-email-aisheng.dong@nxp.com> SCU power domain can be used in the same way by IMX8QXP and IMX8QM SoCs. Make the driver support the fallback compatible string "fsl,scu-pd" to allow other SoCs to reuse the common part. Cc: Ulf Hansson <ulf.hansson@linaro.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net> Cc: Kevin Hilman <khilman@kernel.org> Cc: linux-pm@vger.kernel.org Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> --- drivers/firmware/imx/scu-pd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c index 407245f..1aaae98 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -321,6 +321,7 @@ static int imx_sc_pd_probe(struct platform_device *pdev) } static const struct of_device_id imx_sc_pd_match[] = { + { .compatible = "fsl,scu-pd", &imx8qxp_scu_pd}, { .compatible = "fsl,imx8qxp-scu-pd", &imx8qxp_scu_pd}, { /* sentinel */ } }; -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Aisheng Dong <aisheng.dong@nxp.com> To: "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org> Cc: Aisheng Dong <aisheng.dong@nxp.com>, "ulf.hansson@linaro.org" <ulf.hansson@linaro.org>, "dongas86@gmail.com" <dongas86@gmail.com>, "khilman@kernel.org" <khilman@kernel.org>, "linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>, "rjw@rjwysocki.net" <rjw@rjwysocki.net>, Rob Herring <robh+dt@kernel.org>, dl-linux-imx <linux-imx@nxp.com>, "kernel@pengutronix.de" <kernel@pengutronix.de>, Fabio Estevam <fabio.estevam@nxp.com>, "shawnguo@kernel.org" <shawnguo@kernel.org> Subject: [PATCH 3/3] firmware: imx: scu-pd: add fallback compatible string support Date: Tue, 18 Dec 2018 16:01:29 +0000 [thread overview] Message-ID: <1545148524-658-4-git-send-email-aisheng.dong@nxp.com> (raw) In-Reply-To: <1545148524-658-1-git-send-email-aisheng.dong@nxp.com> SCU power domain can be used in the same way by IMX8QXP and IMX8QM SoCs. Make the driver support the fallback compatible string "fsl,scu-pd" to allow other SoCs to reuse the common part. Cc: Ulf Hansson <ulf.hansson@linaro.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net> Cc: Kevin Hilman <khilman@kernel.org> Cc: linux-pm@vger.kernel.org Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> --- drivers/firmware/imx/scu-pd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c index 407245f..1aaae98 100644 --- a/drivers/firmware/imx/scu-pd.c +++ b/drivers/firmware/imx/scu-pd.c @@ -321,6 +321,7 @@ static int imx_sc_pd_probe(struct platform_device *pdev) } static const struct of_device_id imx_sc_pd_match[] = { + { .compatible = "fsl,scu-pd", &imx8qxp_scu_pd}, { .compatible = "fsl,imx8qxp-scu-pd", &imx8qxp_scu_pd}, { /* sentinel */ } }; -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2018-12-18 16:01 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-12-18 16:01 [PATCH 0/3] firmware: imx: scu-pd: add fallback compatible string support Aisheng Dong 2018-12-18 16:01 ` Aisheng Dong 2018-12-18 16:01 ` [PATCH 1/3] dt-bindings: fsl: scu: add fallback compatible string for power domain Aisheng Dong 2018-12-18 16:01 ` Aisheng Dong 2018-12-28 23:28 ` Rob Herring 2018-12-28 23:28 ` Rob Herring 2019-01-11 9:00 ` Shawn Guo 2019-01-11 9:00 ` Shawn Guo 2019-01-11 9:06 ` Shawn Guo 2019-01-11 9:06 ` Shawn Guo 2019-01-11 10:48 ` Aisheng Dong 2019-01-11 10:48 ` Aisheng Dong 2019-01-11 13:03 ` Shawn Guo 2019-01-11 13:03 ` Shawn Guo 2019-01-11 15:24 ` Aisheng Dong 2019-01-11 15:24 ` Aisheng Dong 2019-01-21 16:31 ` Rob Herring 2019-01-21 16:31 ` Rob Herring 2018-12-18 16:01 ` [PATCH 2/3] dt-bindings: fsl: scu: add imx8qm scu power domain support Aisheng Dong 2018-12-18 16:01 ` Aisheng Dong 2018-12-28 23:28 ` Rob Herring 2018-12-28 23:28 ` Rob Herring 2018-12-18 16:01 ` Aisheng Dong [this message] 2018-12-18 16:01 ` [PATCH 3/3] firmware: imx: scu-pd: add fallback compatible string support Aisheng Dong 2019-01-12 1:39 ` Shawn Guo 2019-01-12 1:39 ` Shawn Guo 2018-12-28 2:38 ` [PATCH 0/3] " Aisheng Dong 2018-12-28 2:38 ` Aisheng Dong 2018-12-28 13:24 ` Ulf Hansson 2018-12-28 13:24 ` Ulf Hansson
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1545148524-658-4-git-send-email-aisheng.dong@nxp.com \ --to=aisheng.dong@nxp.com \ --cc=dongas86@gmail.com \ --cc=fabio.estevam@nxp.com \ --cc=kernel@pengutronix.de \ --cc=khilman@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-imx@nxp.com \ --cc=linux-pm@vger.kernel.org \ --cc=rjw@rjwysocki.net \ --cc=robh+dt@kernel.org \ --cc=shawnguo@kernel.org \ --cc=ulf.hansson@linaro.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.