From patchwork Tue Dec 17 08:51:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 181844 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp5458011ile; Tue, 17 Dec 2019 00:50:19 -0800 (PST) X-Google-Smtp-Source: APXvYqyJGlutKpek4Z7Vmu+9uA6lFundwrkQzWRram3rA8b8Yg4yyz9E7xgm89fa58CJNkYw/jXU X-Received: by 2002:a05:6830:1607:: with SMTP id g7mr36901793otr.320.1576572619305; Tue, 17 Dec 2019 00:50:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576572619; cv=none; d=google.com; s=arc-20160816; b=kY9CsCRsOa1DjeiOlTrhMy/Iq/pEEQBlMFPtdh+QLoUr1t8RbSb5z51DG5tbsY1PMa Q44GdilHmAGzHtGrgwzpERn49XqkgmHSSpPrzlYQQ9Q4vFwBUZTvvrlLXoG6GKy22Wcj XbctzjkKBg1u26cQNlaDovMexvkkFXvawQGFV4j4f/aY8DvqG1htyT9No2D//7vlDNlB saySjqH1Mf2sxIz4LzluCKqeFlfCJGrMquxdRzTjDOfLc83WRNrQ+A1skWFyBKkC+LSY ef0Xvrdv2yh39pAbb0DUXjZ2PTZz6Bqx6edKwP+QaLe0BlVxAIZW/2Y/gh82pDntRc+9 mGxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=YXtLTj89js37cLsNHord1gEpvjrsNcBGcdKN+dgAREk=; b=wSVLQ6G6BaGBupo4A7nubKrF2L5CQMjRCmzW67+JO9/8nUrEUlgVm3OR/0r9NGUH+1 bjbQEGVbgdKf9mxtwM9Q7LSPPaBokp66Yx1ws3PjkOfP/PLIOZQdZZXwZroWuGo0r/DX otgiY9/Mz9sDvOB2WXwyDbFukcDfTM7ZIrje3LkfoqwY8TpCxJY+yCs61z8asE49xnAB uywl4jDmt6LeVhVDHAoIWoDj48sjHSxQEB8+QHMHbkYC12/EJDrTrNOw1n6FKYshXw+4 h/yjxk9YU+7p/Dr3HInV3OTn/zleYyAp+gvjbb3te2aIpY6UC6Gfcl1+uo5F6+v+kYt6 69Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=llXfGmTb; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y14si11874009otk.237.2019.12.17.00.50.19; Tue, 17 Dec 2019 00:50:19 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=llXfGmTb; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727007AbfLQIuS (ORCPT + 27 others); Tue, 17 Dec 2019 03:50:18 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:33412 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbfLQIuQ (ORCPT ); Tue, 17 Dec 2019 03:50:16 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBH8oDNH105909; Tue, 17 Dec 2019 02:50:13 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1576572613; bh=YXtLTj89js37cLsNHord1gEpvjrsNcBGcdKN+dgAREk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=llXfGmTb15yKvxs9lbSm+QrPavst7Ogw8S8RmSV4wXMnTWqpBEb3hsBVPc+lyigrt kLMa7DlDLLiNGQE8Xz+gqqYbiMMsY0ntxiGX7Bjo+hyjg+XzktXSgok8xBvD/NxEcQ 25cW3swd19dpi/j/a4kPOyd/Kz1Li/kW6xKHlus4= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBH8oCiP040003 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 17 Dec 2019 02:50:13 -0600 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 17 Dec 2019 02:50:12 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Tue, 17 Dec 2019 02:50:12 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBH8o6dW062966; Tue, 17 Dec 2019 02:50:10 -0600 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren CC: Rob Herring , Kishon Vijay Abraham I , , , Subject: [PATCH 1/3] ARM: dts: am57xx-beagle-x15/am57xx-idk: Remove "gpios" for endpoint dt nodes Date: Tue, 17 Dec 2019 14:21:22 +0530 Message-ID: <20191217085124.22480-2-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191217085124.22480-1-kishon@ti.com> References: <20191217085124.22480-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PERST# line in the PCIE connector is driven by the host mode and not EP mode. The gpios property here is used for driving the PERST# line. Remove gpios property from all endpoint device tree nodes. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/am571x-idk.dts | 4 ---- arch/arm/boot/dts/am572x-idk-common.dtsi | 4 ---- arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi | 4 ---- 3 files changed, 12 deletions(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/am571x-idk.dts b/arch/arm/boot/dts/am571x-idk.dts index 820ce3b60bb6..67239f7c22b8 100644 --- a/arch/arm/boot/dts/am571x-idk.dts +++ b/arch/arm/boot/dts/am571x-idk.dts @@ -170,10 +170,6 @@ gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; }; -&pcie1_ep { - gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; -}; - &mmc1 { pinctrl-names = "default", "hs"; pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; diff --git a/arch/arm/boot/dts/am572x-idk-common.dtsi b/arch/arm/boot/dts/am572x-idk-common.dtsi index a064f13b3880..ddf123620e96 100644 --- a/arch/arm/boot/dts/am572x-idk-common.dtsi +++ b/arch/arm/boot/dts/am572x-idk-common.dtsi @@ -147,10 +147,6 @@ gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; }; -&pcie1_ep { - gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; -}; - &mailbox5 { status = "okay"; mbox_ipu1_ipc3x: mbox_ipu1_ipc3x { diff --git a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi index bc76f1705c0f..9a94c96b0350 100644 --- a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi +++ b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi @@ -547,10 +547,6 @@ gpios = <&gpio2 8 GPIO_ACTIVE_LOW>; }; -&pcie1_ep { - gpios = <&gpio2 8 GPIO_ACTIVE_LOW>; -}; - &mcasp3 { #sound-dai-cells = <0>; assigned-clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP3_CLKCTRL 24>; From patchwork Tue Dec 17 08:51:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 181846 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp5458050ile; Tue, 17 Dec 2019 00:50:22 -0800 (PST) X-Google-Smtp-Source: APXvYqx+TS85tFIX8q3+u5NOl4ktWX+edEz6iRkXD3phZXtTCF6ieRZjprbJLT637Lea8e23PrqJ X-Received: by 2002:a05:6830:2110:: with SMTP id i16mr35628370otc.337.1576572621885; Tue, 17 Dec 2019 00:50:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576572621; cv=none; d=google.com; s=arc-20160816; b=msO3faCwD/F1170DF4EAczNYiYlZs4J0fzLNsT8+WaHSc0jius6TKnf5daG3fSIeS0 7cLukxUT//FGvLka55FlxGQaPi90+KhLBOzR9/sfK3VKk7C09LN3mGv7JZbLmREKBqtr hCFq67QXLtI0QZ7h9fAn+W7xhNeSP6T8zAwVMhKz9nibKLeQkF5u+/cNSdX63avSo0Kf uGY4a44PbyyOX5Drd6Nq6iUsdsbvNQRM95YUbafsYUyRT8qNCBHt1tWGRxkY7WgcR6ZQ XAjwwwfpdXlrdg3gzissipu52b/bY+nFnDXZ8Dkczy4VTJ1Mewj91ki2r92OWdnlwDe4 e5yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Oyi7OikDDT1O2GSXSF0FaFnaghRdiLKuGoGiKhDYnMI=; b=yHSRZQET1y9bqlxUVM89TiurbSMmPhn49KU/ClWLuvgBIH8DENpUeT1TiqDsB1IemQ rqSvoScWrY3RHEPE5/ndffFP8/FeEIOtvqLxR5rDLNiH8BOW9gLM0hMVS0Hx9QHgkUz2 0Yd31MA+Zr7+3kQezJPlyKD/5zcOrum4sWbtUa6kD7faS2OO+sJFW/hg2bHCumfq/trM vdzyiXqTWTFRNbUaPAvDcBOrCBWfP/GeYsiVpEo/lFJUHYVp4BqDVhiRTfrNOwDYDgfW RhCa1hCvxoxYidgw5JV7JuiMTThY6Q99mOEpPJPCQMQBgck0YS6y+mL0sAvJMv9AM+DJ dL+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xjE0nmCl; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y14si11874009otk.237.2019.12.17.00.50.21; Tue, 17 Dec 2019 00:50:21 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xjE0nmCl; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727053AbfLQIuV (ORCPT + 27 others); Tue, 17 Dec 2019 03:50:21 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:47496 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725893AbfLQIuT (ORCPT ); Tue, 17 Dec 2019 03:50:19 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBH8oFZx072970; Tue, 17 Dec 2019 02:50:15 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1576572615; bh=Oyi7OikDDT1O2GSXSF0FaFnaghRdiLKuGoGiKhDYnMI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xjE0nmClIxXmz5oMnWj+CG7ZNRXToQ4EECWYgPdQpWqhyT4pwa47M7DaWlDA+6nLT n9bhskdFCa+Vuyo+i6H1cfsKPE+2SaHSxrNRtfMFCmy/l2/YYiBT2PTwjN3CVOPM7c R1UkJ2YtVJn2NHzmOSoN+UCXfZv7gN3sOiwSZm6o= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBH8oFBo006629 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 17 Dec 2019 02:50:15 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 17 Dec 2019 02:50:15 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Tue, 17 Dec 2019 02:50:15 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBH8o6dX062966; Tue, 17 Dec 2019 02:50:13 -0600 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren CC: Rob Herring , Kishon Vijay Abraham I , , , , stable Subject: [PATCH 2/3] ARM: dts: am571x-idk: Fix gpios property to have the correct gpio number Date: Tue, 17 Dec 2019 14:21:23 +0530 Message-ID: <20191217085124.22480-3-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191217085124.22480-1-kishon@ti.com> References: <20191217085124.22480-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit d23f3839fe97d8dce03d ("ARM: dts: DRA7: Add pcie1 dt node for EP mode") while adding the dt node for EP mode for DRA7 platform, added rc node for am571x-idk and populated gpios property with "gpio3 23". However the GPIO_PCIE_SWRST line is actually connected to "gpio5 18". Fix it here. (The patch adding "gpio3 23" was tested with another am57x board in EP mode which doesn't rely on reset from host). Fixes: d23f3839fe97d8dce03d ("ARM: dts: DRA7: Add pcie1 dt node for EP mode") Cc: stable # 4.14+ Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/am571x-idk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/am571x-idk.dts b/arch/arm/boot/dts/am571x-idk.dts index 67239f7c22b8..669559c9c95b 100644 --- a/arch/arm/boot/dts/am571x-idk.dts +++ b/arch/arm/boot/dts/am571x-idk.dts @@ -167,7 +167,7 @@ &pcie1_rc { status = "okay"; - gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; + gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>; }; &mmc1 {