From mboxrd@z Thu Jan 1 00:00:00 1970 From: shawnguo@kernel.org (Shawn Guo) Date: Mon, 23 Jan 2017 18:10:06 +0800 Subject: [PATCH 1/1] ARM: dts: imx6dl: fix GPIO4 range In-Reply-To: <1484734191-18556-1-git-send-email-sebastien.szymanski@armadeus.com> References: <1484734191-18556-1-git-send-email-sebastien.szymanski@armadeus.com> Message-ID: <20170123101004.GQ5662@dragon> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Jan 18, 2017 at 11:09:51AM +0100, S?bastien Szymanski wrote: > GPIO4_11 is on pin 152(MX6DL_PAD_KEY_ROW2) and not on pin > 151(MX6DL_PAD_KEY_ROW1). > > I found the error while booting a mainline kernel on APF6S SoM and > noticed the following message: > > [ 2.609337] imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_KEY_ROW1 > already requested by 20a8000.gpio:105; cannot claim for 20a8000.gpio:107 > [ 2.621884] imx6dl-pinctrl 20e0000.iomuxc: pin-151 (20a8000.gpio:107) > status -22 > [ 2.629303] spi_imx 2008000.ecspi: Can't get CS GPIO 107 > > With this patch, the message is gone and spi_imx driver probes correctly. > > Fixes: bb728d662bed ("ARM: dts: add gpio-ranges property to iMX GPIO > controllers") > > Signed-off-by: S?bastien Szymanski Applied, thanks. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH 1/1] ARM: dts: imx6dl: fix GPIO4 range Date: Mon, 23 Jan 2017 18:10:06 +0800 Message-ID: <20170123101004.GQ5662@dragon> References: <1484734191-18556-1-git-send-email-sebastien.szymanski@armadeus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <1484734191-18556-1-git-send-email-sebastien.szymanski-d2DlULPkwbNWk0Htik3J/w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: =?iso-8859-1?Q?S=E9bastien?= Szymanski Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Mark Rutland , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Russell King , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring , Sascha Hauer , Fabio Estevam , Julien Boibessot List-Id: devicetree@vger.kernel.org On Wed, Jan 18, 2017 at 11:09:51AM +0100, Sébastien Szymanski wrote: > GPIO4_11 is on pin 152(MX6DL_PAD_KEY_ROW2) and not on pin > 151(MX6DL_PAD_KEY_ROW1). > > I found the error while booting a mainline kernel on APF6S SoM and > noticed the following message: > > [ 2.609337] imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_KEY_ROW1 > already requested by 20a8000.gpio:105; cannot claim for 20a8000.gpio:107 > [ 2.621884] imx6dl-pinctrl 20e0000.iomuxc: pin-151 (20a8000.gpio:107) > status -22 > [ 2.629303] spi_imx 2008000.ecspi: Can't get CS GPIO 107 > > With this patch, the message is gone and spi_imx driver probes correctly. > > Fixes: bb728d662bed ("ARM: dts: add gpio-ranges property to iMX GPIO > controllers") > > Signed-off-by: Sébastien Szymanski Applied, thanks. -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751064AbdAWKKd (ORCPT ); Mon, 23 Jan 2017 05:10:33 -0500 Received: from mail.kernel.org ([198.145.29.136]:57166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751032AbdAWKKa (ORCPT ); Mon, 23 Jan 2017 05:10:30 -0500 Date: Mon, 23 Jan 2017 18:10:06 +0800 From: Shawn Guo To: =?iso-8859-1?Q?S=E9bastien?= Szymanski Cc: linux-arm-kernel@lists.infradead.org, Mark Rutland , devicetree@vger.kernel.org, Russell King , linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Fabio Estevam , Julien Boibessot Subject: Re: [PATCH 1/1] ARM: dts: imx6dl: fix GPIO4 range Message-ID: <20170123101004.GQ5662@dragon> References: <1484734191-18556-1-git-send-email-sebastien.szymanski@armadeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1484734191-18556-1-git-send-email-sebastien.szymanski@armadeus.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 18, 2017 at 11:09:51AM +0100, Sébastien Szymanski wrote: > GPIO4_11 is on pin 152(MX6DL_PAD_KEY_ROW2) and not on pin > 151(MX6DL_PAD_KEY_ROW1). > > I found the error while booting a mainline kernel on APF6S SoM and > noticed the following message: > > [ 2.609337] imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_KEY_ROW1 > already requested by 20a8000.gpio:105; cannot claim for 20a8000.gpio:107 > [ 2.621884] imx6dl-pinctrl 20e0000.iomuxc: pin-151 (20a8000.gpio:107) > status -22 > [ 2.629303] spi_imx 2008000.ecspi: Can't get CS GPIO 107 > > With this patch, the message is gone and spi_imx driver probes correctly. > > Fixes: bb728d662bed ("ARM: dts: add gpio-ranges property to iMX GPIO > controllers") > > Signed-off-by: Sébastien Szymanski Applied, thanks.