From: "Petr Štetiar" <ynezz@true.cz>
To: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: "Mark Rutland" <mark.rutland@arm.com>,
devicetree@vger.kernel.org,
"Joshua Clayton" <stillcompiling@gmail.com>,
"Russell King" <linux@arm.linux.org.uk>,
"Pawel Moll" <pawel.moll@arm.com>,
"Ian Campbell" <ijc+devicetree@hellion.org.uk>,
"Fabio Estevam" <festevam@gmail.com>,
linux-kernel@vger.kernel.org, "Stefan Agner" <stefan@agner.ch>,
"Rob Herring" <robh+dt@kernel.org>,
"Sascha Hauer" <kernel@pengutronix.de>,
"Kumar Gala" <galak@codeaurora.org>,
"Petr Štetiar" <ynezz@true.cz>,
"Shawn Guo" <shawn.guo@linaro.org>,
"Shawn Guo" <shawnguo@kernel.org>,
linux-arm-kernel@lists.infradead.org,
"Lucas Stach" <l.stach@pengutronix.de>
Subject: Re: [PATCH v2 1/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM
Date: Wed, 6 Jan 2016 09:03:58 +0100 [thread overview]
Message-ID: <20160106080358.GD9030@ibawizard.net> (raw)
In-Reply-To: <1452011942-11940-2-git-send-email-marcel.ziswiler@toradex.com>
Marcel Ziswiler <marcel.ziswiler@toradex.com> [2016-01-05 17:39:01]:
Hi Marcel,
thanks for taking care of this, I'm quite busy with other tasks :(
> - integrated review feedback from Lucas
You've probably missed few of them :) See my nitpicks bellow.
> - left and even added some more comments as I don't see why putting any
> explanatory comments in dts' should be such a bad thing to do
You've marked this as v2 so I think, that you should only work on the
feedback. Ideally you shouldn't add any new stuff if it wasn't requested
otherwise you're wasting reviewer time.
> - completely got rid of the memory node as that is something typically filled
> in by the boot loader e.g. U-Boot
If I'm not mistaken, it wasn't requested by the reviewer.
> - without the regulators simple-bus it no longer boots
It works for me on 4.4.0-rc3 with following DTS[1]. BTW, this DTS is my
preparation for v2 patch series.
> - fixed Ethernet PHY reset & interrupt (requires Micrel PHY driver to be
> enabled)
Great!
> + * This file is dual-licensed: you can use it either under the terms
> + * of the GPL or the X11 license, at your option. Note that this dual
> + * licensing only applies to this file, and not this project as a
> + * whole.
Hope you've some kind of ACK from FSL and Linaro :)
> + reg_usb_otg_vbus: usb_otg_vbus {
> + compatible = "regulator-fixed";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_regulator_usbotg_pwr>;
> + regulator-name = "usb_otg_vbus";
> + regulator-min-microvolt = <5000000>;
> + regulator-max-microvolt = <5000000>;
> + gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
> + enable-active-high;
> + status = "disabled";
> + };
I'm not sure, but it seems to me, that we should move this regulator into the
carrier board DTS. On our custom carrier board we've this regulator always on
and we use this GPIO for heartbeat LED, so I've this in our carrier board
DTS[2]:
reg_usb_otg_vbus: usb_otg_vbus {
/* Regulator is always on, and we use GPIO for heartbeat LED */
pinctrl-0 = <>;
gpio = <>;
compatible = "regulator-fixed";
regulator-name = "usb_otg_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
...
usbotg {
/* GPIO3_IO22 is Heartbeat LED */
pinctrl_regulator_usbotg_pwr: gpio_regulator_usbotg_pwr {
};
};
> +/* PAD Ctrl values for common settings */
> +/*
> + * (PAD_CTL_HYS | PAD_CTL_PUS_100K_UP | PAD_CTL_PUE | PAD_CTL_PKE |
> + * PAD_CTL_SPEED_MED | PAD_CTL_DSE_40ohm)
> + */
> +#define PAD_CTRL_HYS_PU 0x1b0b0
This was requested to be reworked. I've simply replaced all the macros with
hex values.
> + pinctrl_usdhc3_100mhz: usdhc3grp-100mhz { /* 100Mhz */
> + fsl,pins = <
> + MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170B9
As per review comments, all hex values should be lowercase.
1. https://github.com/ynezz/linux-2.6/blob/b27de46e67605fe1a8e386b065845a9708e8e792/arch/arm/boot/dts/imx6qdl-apalis.dtsi
2. https://github.com/ynezz/linux-2.6/blob/ec678e3734d9fff35f7ba9605469a68a3e424020/arch/arm/boot/dts/imx6qdl-apalis-gaben-flexisbc.dtsi#L143
Thanks!
-- ynezz
next prev parent reply other threads:[~2016-01-06 8:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-05 16:39 [PATCH v2 0/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM/Ixora carrier board Marcel Ziswiler
2016-01-05 16:39 ` [PATCH v2 1/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM Marcel Ziswiler
2016-01-06 8:03 ` Petr Štetiar [this message]
2016-01-06 9:15 ` Marcel Ziswiler
[not found] ` <1452071716.30372.61.camel-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>
2016-01-08 8:42 ` Petr Štetiar
2016-01-08 10:59 ` Marcel Ziswiler
2016-01-07 6:29 ` Stefan Agner
2016-01-08 8:28 ` Marcel Ziswiler
[not found] ` <1452011942-11940-2-git-send-email-marcel.ziswiler-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>
2016-01-08 8:57 ` Petr Štetiar
2016-01-08 10:59 ` Marcel Ziswiler
2016-01-05 16:39 ` [PATCH v2 2/2] ARM: dts: imx6: Add support for Toradex Ixora carrier board Marcel Ziswiler
[not found] ` <1452011942-11940-3-git-send-email-marcel.ziswiler-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>
2016-01-07 6:38 ` Stefan Agner
2016-01-08 8:29 ` Marcel Ziswiler
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=20160106080358.GD9030@ibawizard.net \
--to=ynezz@true.cz \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=kernel@pengutronix.de \
--cc=l.stach@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=marcel.ziswiler@toradex.com \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=shawn.guo@linaro.org \
--cc=shawnguo@kernel.org \
--cc=stefan@agner.ch \
--cc=stillcompiling@gmail.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).