From: Shawn Guo <shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: alison-hh6fLRYtCEIS+FvcfC7Uqw@public.gmane.org
Cc: kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org,
alison_chaiken-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
bparrot-l0cyMroinI0@public.gmane.org
Subject: Re: [PATCHv2 1/2] i.MX6-SabreAuto: DTS: use gpio-hog to enable WEIM-NOR at boot
Date: Mon, 27 Apr 2015 15:49:44 +0800 [thread overview]
Message-ID: <20150427074929.GA9231@dragon> (raw)
In-Reply-To: <1429862420-15434-2-git-send-email-alison_chaiken-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
On Fri, Apr 24, 2015 at 01:00:20AM -0700, alison-hh6fLRYtCEIS+FvcfC7Uqw@public.gmane.org wrote:
> From: Alison Chaiken <alison_chaiken-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
>
> Create an imx6qdl-sabreauto-weim-nor.dtsi file whose inclusion in
> a DTS file sets GPIO5 to the level at boot that the WEIM-NOR
> device requires. The GPIO is set via the gpio-hogging mechanism.
> Devices whose pinmux needs conflict with those of NOR are disabled.
>
> Signed-off-by: Alison Chaiken <alison_chaiken-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
- The patch numbering is confusing. It says this 1/2, but I never saw
patch 2/2.
- The patch is prefixed in a way different than what we usually do -
'ARM: dts: ...'
- The commit log is vague. GPIO5 is not a GPIO pin but a GPIO port.
- The patch is incomplete if I understand WEIM NOR on SabreAuto
correctly. Not only EIM_D18 but also EIM_D30 needs to be steered,
right? And how are the steering pins EIMD18_I2C3_STEER and
EIMD30_BTUART3_STEER being configured as GPIO in pinctrl?
Shawn
> ---
> arch/arm/boot/dts/imx6qdl-sabreauto-weim-nor.dtsi | 43 +++++++++++++++++++++++
> 1 file changed, 43 insertions(+)
> create mode 100644 arch/arm/boot/dts/imx6qdl-sabreauto-weim-nor.dtsi
>
> diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto-weim-nor.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto-weim-nor.dtsi
> new file mode 100644
> index 0000000..a126335
> --- /dev/null
> +++ b/arch/arm/boot/dts/imx6qdl-sabreauto-weim-nor.dtsi
> @@ -0,0 +1,43 @@
> +/*
> + * Copyright 2012 Freescale Semiconductor, Inc.
> + * Copyright 2011 Linaro Ltd.
> + * Copyright (c) 2015 Mentor Graphics Inc.
> + *
> + * The code contained herein is licensed under the GNU General Public
> + * License. You may obtain a copy of the GNU General Public License
> + * Version 2 or later at the following locations:
> + *
> + * http://www.opensource.org/licenses/gpl-license.html
> + * http://www.gnu.org/copyleft/gpl.html
> + */
> +
> +&gpio5 {
> + weim_nor {
> + gpio-hog;
> + gpios = <4 0>;
> + output-low;
> + line-name = "weim-nor-gpio";
> + };
> +};
> +
> +&weim {
> + status = "okay";
> +};
> +
> +/* Disable devices that have pinmux conflicts with WEIM */
> +
> +&i2c3 {
> + status = "disabled";
> +};
> +
> +&uart3 {
> + status = "disabled";
> +};
> +
> +&ecspi1 {
> + status = "disabled";
> +};
> +
> +&usdhc3 {
> + status = "disabled";
> +};
> --
> 2.1.4
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-04-27 7:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1421278609-8446-1-git-send-email-alison_chaiken@mentor.com>
[not found] ` <1421278609-8446-1-git-send-email-alison_chaiken-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
2015-01-15 0:03 ` [PATCH] i.MX6-SabreAuto: EIM: pull PAD_EIM_D18 low for NOR probe Brian Norris
2015-01-15 7:56 ` Sascha Hauer
[not found] ` <20150115075646.GM23940-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-01-15 18:46 ` [PATCHv2] i.MX6-SabreAuto: WEIM: add steering-gpios to set WEIM for NOR alison-hh6fLRYtCEIS+FvcfC7Uqw
[not found] ` <1421347571-9239-1-git-send-email-alison_chaiken-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
2015-01-15 18:46 ` [PATCH] " alison-hh6fLRYtCEIS+FvcfC7Uqw
[not found] ` <1421347571-9239-2-git-send-email-alison_chaiken-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
2015-01-16 7:27 ` Sascha Hauer
[not found] ` <20150116072716.GD18220-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-04-19 21:02 ` [PATCH 0/2] i.MX6-SabreAuto: DTS: use gpio-hog to enable WEIM-NOR at boot alison-hh6fLRYtCEIS+FvcfC7Uqw
[not found] ` <1429477343-11076-1-git-send-email-alison_chaiken-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
2015-04-19 21:02 ` [PATCH 1/2] " alison-hh6fLRYtCEIS+FvcfC7Uqw
[not found] ` <1429477343-11076-2-git-send-email-alison_chaiken-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
2015-04-23 6:31 ` Sascha Hauer
[not found] ` <20150423063127.GJ6325-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-04-24 8:00 ` [PATCHv2 0/2] i.MX6-SabreAuto: DTS: use gpio-hog to enable WEIM-NOR at boo alison-hh6fLRYtCEIS+FvcfC7Uqw
[not found] ` <1429862420-15434-1-git-send-email-alison_chaiken-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
2015-04-24 8:00 ` [PATCHv2 1/2] i.MX6-SabreAuto: DTS: use gpio-hog to enable WEIM-NOR at boot alison-hh6fLRYtCEIS+FvcfC7Uqw
[not found] ` <1429862420-15434-2-git-send-email-alison_chaiken-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
2015-04-27 7:49 ` Shawn Guo [this message]
2015-04-27 5:53 ` [PATCH " Sascha Hauer
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=20150427074929.GA9231@dragon \
--to=shawn.guo-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
--cc=alison-hh6fLRYtCEIS+FvcfC7Uqw@public.gmane.org \
--cc=alison_chaiken-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org \
--cc=bparrot-l0cyMroinI0@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.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).