From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH 3/3] firmware: imx: scu-pd: add fallback compatible string support Date: Sat, 12 Jan 2019 09:39:44 +0800 Message-ID: <20190112013942.GJ32649@dragon> References: <1545148524-658-1-git-send-email-aisheng.dong@nxp.com> <1545148524-658-4-git-send-email-aisheng.dong@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1545148524-658-4-git-send-email-aisheng.dong@nxp.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Aisheng Dong Cc: "ulf.hansson@linaro.org" , "dongas86@gmail.com" , "linux-pm@vger.kernel.org" , "khilman@kernel.org" , "rjw@rjwysocki.net" , Rob Herring , dl-linux-imx , "kernel@pengutronix.de" , Fabio Estevam , "linux-arm-kernel@lists.infradead.org" List-Id: linux-pm@vger.kernel.org On Tue, Dec 18, 2018 at 04:01:29PM +0000, Aisheng Dong wrote: > 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 > Cc: Rob Herring > Cc: Shawn Guo > Cc: Sascha Hauer > Cc: Fabio Estevam > Cc: "Rafael J. Wysocki" > Cc: Kevin Hilman > Cc: linux-pm@vger.kernel.org > Signed-off-by: Dong Aisheng > --- > 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}, As the fallback compatible, it makes more sense to put it at end of the table. I fixed it up and applied the series. Shawn > { .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