From: Fabio Estevam <festevam@gmail.com>
To: Lukasz Majewski <lukma@denx.de>
Cc: Rob Herring <robh+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
NXP Linux Team <linux-imx@nxp.com>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
"moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
<linux-arm-kernel@lists.infradead.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/3] ARM: dts: imx28: Add DTS description of imx28 based XEA board
Date: Tue, 22 Dec 2020 14:58:27 -0300 [thread overview]
Message-ID: <CAOMZO5AkSZf3p7n1UdE9HXPcVciBATH1k5mZLCoNKZ6o2M8maQ@mail.gmail.com> (raw)
In-Reply-To: <20201125161815.2361-3-lukma@denx.de>
Hi Lukasz,
On Wed, Nov 25, 2020 at 1:19 PM Lukasz Majewski <lukma@denx.de> wrote:
> diff --git a/arch/arm/boot/dts/imx28-lwe.dtsi b/arch/arm/boot/dts/imx28-lwe.dtsi
> new file mode 100644
> index 000000000000..cb2eb4377d9c
> --- /dev/null
> +++ b/arch/arm/boot/dts/imx28-lwe.dtsi
> @@ -0,0 +1,185 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
> +/*
> + * Copyright 2020
> + * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
> + */
> +
> +/dts-v1/;
> +#include "imx28.dtsi"
> +
> +/ {
> + compatible = "fsl,imx28";
You can drop this one.
> +
> + aliases {
> + spi2 = &ssp3;
> + };
> +
> + chosen {
> + bootargs = "root=/dev/mmcblk0p2 rootfstype=ext4 ro rootwait console=ttyAMA0,115200 panic=1";
You could remove bootargs and let the bootloader pass it.
We usually don't pass bootargs in the i.MX dts files.
> + };
> +
> + memory {
memory@40000000
otherwise you will get dtc build warnings with W=1.
> + reg = <0x40000000 0x08000000>;
> + };
> +
> + regulators {
> + compatible = "simple-bus";
> + #address-cells = <1>;
> + #size-cells = <0>;
No need for this 'regulators' container.
> +
> + reg_3v3: regulator@0 {
reg_3v3: regulator-reg-3v3 {
> + compatible = "regulator-fixed";
> + reg = <0>;
Remove the reg = <0>
Same applies to other regulators.
> + reg_usb_5v: regulator@1 {
> + compatible = "regulator-fixed";
> + reg = <1>;
> + regulator-name = "usb_vbus";
> + regulator-min-microvolt = <5000000>;
> + regulator-max-microvolt = <5000000>;
> + enable-active-high;
Why passing 'enable-active-high' when this is not gpio controlled?
> + };
> +
> + reg_fec_3v3: regulator@2 {
> + compatible = "regulator-fixed";
> + reg = <2>;
> + regulator-name = "fec-phy";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + enable-active-high;
Same here.
> +&ssp3 {
> + compatible = "fsl,imx28-spi";
> + pinctrl-names = "default";
> + pinctrl-0 = <&spi3_pins_a>;
> + status = "okay";
> +
> + flash0: s25fl256s0@0 {
Node names should be generic
flash@0
> +
> +/dts-v1/;
> +#include "imx28-lwe.dtsi"
> +
> +/ {
> + model = "XEA";
compatible = "xea,imx20-lwe", "fsl,imx28";
You should add xea to the vendor prefix in a separate patch.
You also need to add thie board to
Documentation/devicetree/bindings/arm/fsl.yaml
next prev parent reply other threads:[~2020-12-22 17:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-25 16:18 [PATCH 1/3] ARM: dts: imx28: Fix label name for L2 switch Lukasz Majewski
2020-11-25 16:18 ` [PATCH 2/3] ARM: dts: imx28: add pinmux for USB1 overcurrent on pwm2 Lukasz Majewski
2020-12-01 1:43 ` Shawn Guo
2020-11-25 16:18 ` [PATCH 3/3] ARM: dts: imx28: Add DTS description of imx28 based XEA board Lukasz Majewski
2020-12-09 22:11 ` Lukasz Majewski
2020-12-22 17:42 ` Lukasz Majewski
2020-12-22 17:58 ` Fabio Estevam [this message]
2020-12-01 1:42 ` [PATCH 1/3] ARM: dts: imx28: Fix label name for L2 switch Shawn Guo
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=CAOMZO5AkSZf3p7n1UdE9HXPcVciBATH1k5mZLCoNKZ6o2M8maQ@mail.gmail.com \
--to=festevam@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lukma@denx.de \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.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: 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).