From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH 1/3] dt-bindings: fsl: scu: add fallback compatible string for power domain Date: Fri, 11 Jan 2019 17:06:55 +0800 Message-ID: <20190111090653.GH32649@dragon> References: <1545148524-658-1-git-send-email-aisheng.dong@nxp.com> <1545148524-658-2-git-send-email-aisheng.dong@nxp.com> <20190111090009.GG32649@dragon> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20190111090009.GG32649@dragon> 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: Mark Rutland , "devicetree@vger.kernel.org" , "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: devicetree@vger.kernel.org On Fri, Jan 11, 2019 at 05:00:11PM +0800, Shawn Guo wrote: > On Tue, Dec 18, 2018 at 04:01:20PM +0000, Aisheng Dong wrote: > > SCU power domain can be used in the same way by IMX8QXP and IMX8QM SoCs. > > Let's add a "fsl,scu-pd" fallback compatible string to allow other SoCs > > to reuse the common part. > > This is not the practice we used to match devices with compatibilities, > i.e. coding the compatible string with the SoC name that firstly > introduces the device, and use the compatible as fallback for new SoCs. For example, in imx8qm device tree, we can use compatible below to get it work without change on kernel driver, while we still need to document the compatible "fsl,imx8qm-scu-pd". compatible = "fsl,imx8qm-scu-pd", "fsl,imx8qxp-scu-pd"; Shawn