Received: by 10.223.185.116 with SMTP id b49csp1095939wrg; Fri, 23 Feb 2018 11:52:13 -0800 (PST) X-Google-Smtp-Source: AH8x227JV05s3s/5TiVZjaWXSxz4g19NHqhq9UiGRiRWtIcFduaWojASQbo9IHpELVt5sCp13TUA X-Received: by 2002:a17:902:14cb:: with SMTP id y11-v6mr2738237plg.294.1519415532972; Fri, 23 Feb 2018 11:52:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519415532; cv=none; d=google.com; s=arc-20160816; b=BTtcgnr51XHX9SRodqwEuayr7XO1+ljKmg1xXF+OO1Kh33+xjv7A6tr66A3hhDlZyj hrLubcJFzPLwUEHePSiyS8KRpPEZJ+xlDYqD+vXzniECJdHRIRZE9ROcSA7LTGz03JWw xIH2OG3XZU3Ffzjag/K90oPjuyB1q/WWP6j7CAZJgyKIdEPxVJcE61rMwFtCwcVNvO6a yYKpJNgryd59mKvG6iguEcgeiZIgCp09VQkUUdrOZZvHwKTr5U9jWm7v4QquMQVyGiiX K/39j1P+aadgs31F7toanbZkxrKYPWZzw3iuvSYpnul1xjmcOskCFzb+7C4GDJEkxLtH QM0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ddVSzeAF8OwBFzO++OqaDBPpbge/1pgH7lbO5JM0J+Y=; b=mIe/nttuUQjU7DT/x8+OycLLfBn4QNHWITaL2Un8Hv/7xd9AkF84GiN0Tr41KYZBv9 UCR0UpLSwxQSE/gctK4blfgYer5oHcK+uiFN49Ntwv1zjMZ3ng9PONA1IWWrt4wiwaXY mtQv50pclF/TS7O6dvc7LPao0KKCW9O/EpcTZcgRuUsTUYlw3iaB60kz7205EQvEcW2P AHPoRfurIKZDB93co/se38rs+BFUlWrL0YqIVs/0Zgbjyg76wKYnVYXWq3LrwAyxz7IR kJgYhabppOrxbC+0Ssv6lVntho7x8hqRXPvgHiG3B+nsTCGXXFRwkgeAoSAxDBLAeeVC 0j4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11si1862217pgq.332.2018.02.23.11.51.58; Fri, 23 Feb 2018 11:52:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933927AbeBWSqE (ORCPT + 99 others); Fri, 23 Feb 2018 13:46:04 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:43556 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933587AbeBWSqB (ORCPT ); Fri, 23 Feb 2018 13:46:01 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 2CE0712C2; Fri, 23 Feb 2018 18:46:01 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Adam Ford , Tony Lindgren , Sasha Levin Subject: [PATCH 4.9 047/145] ARM: dts: logicpd-somlv: Fix wl127x pinmux Date: Fri, 23 Feb 2018 19:25:53 +0100 Message-Id: <20180223170731.009562305@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170724.669759283@linuxfoundation.org> References: <20180223170724.669759283@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Adam Ford [ Upstream commit cd7594ac3281722cb8f10d6f6c7e4287747c7a9d ] The pin assignment for the wl127x interrupt was incorrect. I am not sure how this every worked. This also eliminates a conflict with the SMC911x ethernet driver and properly moves pinmuxes for the related gpio to omap3_pmx_wkup from omap3_pmx_core. Fixes: ab8dd3aed011 ("ARM: DTS: Add minimal Support for Logic PD DM3730 SOM-LV") Signed-off-by: Adam Ford Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/logicpd-som-lv.dtsi | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) --- a/arch/arm/boot/dts/logicpd-som-lv.dtsi +++ b/arch/arm/boot/dts/logicpd-som-lv.dtsi @@ -121,7 +121,7 @@ &mmc3 { interrupts-extended = <&intc 94 &omap3_pmx_core2 0x46>; - pinctrl-0 = <&mmc3_pins>; + pinctrl-0 = <&mmc3_pins &wl127x_gpio>; pinctrl-names = "default"; vmmc-supply = <&wl12xx_vmmc>; non-removable; @@ -132,8 +132,8 @@ wlcore: wlcore@2 { compatible = "ti,wl1273"; reg = <2>; - interrupt-parent = <&gpio5>; - interrupts = <24 IRQ_TYPE_LEVEL_HIGH>; /* gpio 152 */ + interrupt-parent = <&gpio1>; + interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; /* gpio 2 */ ref-clock-frequency = <26000000>; }; }; @@ -157,8 +157,6 @@ OMAP3_CORE1_IOPAD(0x2166, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat5.sdmmc3_dat1 */ OMAP3_CORE1_IOPAD(0x2168, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat2 */ OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE3) /* sdmmc2_dat6.sdmmc3_dat3 */ - OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT_PULLUP | MUX_MODE4) /* mcbsp4_clkx.gpio_152 */ - OMAP3_CORE1_IOPAD(0x2a0c, PIN_OUTPUT | MUX_MODE4) /* sys_boot1.gpio_3 */ OMAP3_CORE1_IOPAD(0x21d0, PIN_INPUT_PULLUP | MUX_MODE3) /* mcspi1_cs1.sdmmc3_cmd */ OMAP3_CORE1_IOPAD(0x21d2, PIN_INPUT_PULLUP | MUX_MODE3) /* mcspi1_cs2.sdmmc_clk */ >; @@ -228,6 +226,12 @@ OMAP3_WKUP_IOPAD(0x2a0e, PIN_OUTPUT | MUX_MODE4) /* sys_boot2.gpio_4 */ >; }; + wl127x_gpio: pinmux_wl127x_gpio_pin { + pinctrl-single,pins = < + OMAP3_WKUP_IOPAD(0x2a0c, PIN_INPUT | MUX_MODE4) /* sys_boot0.gpio_2 */ + OMAP3_WKUP_IOPAD(0x2a0c, PIN_OUTPUT | MUX_MODE4) /* sys_boot1.gpio_3 */ + >; + }; }; &omap3_pmx_core2 {