From: Sascha Hauer <s.hauer@pengutronix.de>
To: Chuanhua Han <chuanhua.han@nxp.com>
Cc: mark.rutland@arm.com, devicetree@vger.kernel.org,
sumit.batra@nxp.com, eha@deif.com, festevam@gmail.com,
linux-kernel@vger.kernel.org, leoyang.li@nxp.com,
wsa+renesas@sang-engineering.com, robh+dt@kernel.org,
l.stach@pengutronix.de, linux-i2c@vger.kernel.org,
u.kleine-koenig@pengutronix.de, linux@rempel-privat.de,
shawnguo@kernel.org, peda@axentia.se,
linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com
Subject: Re: [PATCH 2/2] arm64: dts: fsl: ls1046a: Add the guts node in dts
Date: Mon, 6 May 2019 09:41:07 +0200 [thread overview]
Message-ID: <20190506074106.eqa7xhktn2vlmtio@pengutronix.de> (raw)
In-Reply-To: <20190430044719.30720-2-chuanhua.han@nxp.com>
On Tue, Apr 30, 2019 at 12:47:19PM +0800, Chuanhua Han wrote:
> For NXP ls1046a SoC, the i2c clock needs to be configured with the
> appropriate bit of RCW, so we add the guts node (GUTS/DCFG global
> utilities block) for the driver to read.
>
> Signed-off-by: Sumit Batra <sumit.batra@nxp.com>
> Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> index 373310e4c0ea..f88599df18bb 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> @@ -205,6 +205,11 @@
> status = "disabled";
> };
>
> + guts: global-utilities@1ee0000 {
> + compatible = "fsl,qoriq-device-config";
> + reg = <0x0 0x1ee0000 0x0 0x1000>;
> + };
According to Documentation/devicetree/bindings/soc/fsl/guts.txt we have
the following compatibles:
"fsl,qoriq-device-config-1.0"
"fsl,qoriq-device-config-2.0"
"fsl,<chip>-device-config"
"fsl,<chip>-guts"
"fsl,qoriq-device-config" is none of them and I don't think you should
give this SoC specific thing a generic compatible.
"fsl,ls1046a-device-config" would be better.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2019-05-06 7:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-30 4:47 [PATCH 1/2] i2c: imx: I2C Driver doesn't consider I2C_IPGCLK_SEL RCW bit when using ls1046a SoC Chuanhua Han
2019-04-30 4:47 ` [PATCH 2/2] arm64: dts: fsl: ls1046a: Add the guts node in dts Chuanhua Han
2019-05-06 7:41 ` Sascha Hauer [this message]
2019-05-06 7:44 ` [EXT] " Chuanhua Han
2019-05-08 11:38 ` Chuanhua Han
2019-04-30 12:50 ` [PATCH 1/2] i2c: imx: I2C Driver doesn't consider I2C_IPGCLK_SEL RCW bit when using ls1046a SoC Sascha Hauer
2019-05-04 9:28 ` [EXT] " Chuanhua Han
2019-05-06 7:37 ` Sascha Hauer
2019-05-06 7:46 ` Chuanhua Han
2019-05-08 11:34 ` Chuanhua Han
2019-05-09 4:35 ` Sumit Batra
2019-05-09 5:10 ` Sumit Batra
2019-05-09 7:48 ` Sascha Hauer
2019-05-09 7:55 ` Wolfram Sang
2019-05-06 7:47 ` Sascha Hauer
2019-05-06 7:53 ` [EXT] " Chuanhua Han
2019-05-08 11:42 ` Chuanhua Han
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=20190506074106.eqa7xhktn2vlmtio@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=chuanhua.han@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=eha@deif.com \
--cc=festevam@gmail.com \
--cc=l.stach@pengutronix.de \
--cc=leoyang.li@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rempel-privat.de \
--cc=mark.rutland@arm.com \
--cc=peda@axentia.se \
--cc=robh+dt@kernel.org \
--cc=shawnguo@kernel.org \
--cc=sumit.batra@nxp.com \
--cc=u.kleine-koenig@pengutronix.de \
--cc=wsa+renesas@sang-engineering.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).