From patchwork Tue May 29 09:00:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 137125 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3792099lji; Tue, 29 May 2018 02:01:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL+LX1RaPoyTLGePbAzItFgQc1gMLIJzbD6iu6uybTDKEA9MMFamXfKLU7awhd0X+hiCMuE X-Received: by 2002:a62:5004:: with SMTP id e4-v6mr4518849pfb.71.1527584477868; Tue, 29 May 2018 02:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527584477; cv=none; d=google.com; s=arc-20160816; b=UONo0Gz7QJcz/aOTNvJfJibdJT5YTyRYJwSr+2HR47y+BozujLWz8ZATQF039mnNCf CP4uDPzjM/MCJaVTPJrKtRDobEapfRjRRsNEWfwAktwjyXFih74wEhjv7MsCekOvB/XD Y2Vf5xlYvTCZ0RhfUcXgIaPRwxZ+/y0z9caAcs4xyqRCaf3GPjAuP85GiwSHvhKWZkDO WlsSS9CN9LclF0ELd0AwWOE0hKFG4bccOUC5h35PCgCgfs7bbaEleUm9n/DnjJsyVeMy BmHzktcwXUmvpAZatRj1QyoKhqAZc3CcKRM9lZLozqGmvLDSGRFAK8smf9gCEH5rgtj+ ocOA== 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 :arc-authentication-results; bh=xCXEAHE3KNWo2UOfe5uJuULqRAOvSu3/W9AfXe7cJrc=; b=q7Lp/9I96QvNyKcVBdvVKTx6Zsoov2jj/bJOPfMRtFkkWYchevyq9PH1FKGvdvk3fy z/mtLEnVbZCjTS4ii3eBi02bhxqfo/tChEIRHQJSYfUQtL/EyN8RQHtxkQ3BY+S9y7cc 7nfXwN1c/l8qWxt/xjkTbXsy/1NQS5fcG4MRxE4Gbd2xltDflhV9Vt2Qa5kLh6R304n5 lZT8zXL0zKe9hBKj8eSVCFSolpGUnXlAGW+nZ0KgEkLtlYgjgE1Mn0rpEJmRlgVbOJVK w9Zaq8WoXJG9tjE8+sMgq+esahfmIk4I5bTdpyN0bfytXPD7CWPAQb7iZWmiQZIkudIt A57A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VtM3w5L/; 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 w189-v6si11612264pgb.431.2018.05.29.02.01.17; Tue, 29 May 2018 02:01:17 -0700 (PDT) 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=VtM3w5L/; 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 S932574AbeE2JBP (ORCPT + 30 others); Tue, 29 May 2018 05:01:15 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:16664 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932435AbeE2JBI (ORCPT ); Tue, 29 May 2018 05:01:08 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4T916mx008605; Tue, 29 May 2018 04:01:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1527584466; bh=xCXEAHE3KNWo2UOfe5uJuULqRAOvSu3/W9AfXe7cJrc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=VtM3w5L/iuSXcDxNQmcJOG1qH9FBnJKUgUprLlGaKgf0CldJ5vcBKHHWp9Rk8FnW2 xnT2rKfdV7EzAJmb4nyBbdUkqzTD/va1oSOE331QpdHKpA6RSph13KcJwh8/lEcKsI 9oiyWlkeRuLDsZqYNiZdlXBwbwmN4iDBBIScNBM0= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4T915mq032360; Tue, 29 May 2018 04:01:06 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 29 May 2018 04:01:03 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 29 May 2018 04:01:03 -0500 Received: from dlelxv97.itg.ti.com (dlelxv97.itg.ti.com [172.17.2.193]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4T913oW002797; Tue, 29 May 2018 04:01:03 -0500 Received: from lta0400828d.ti.com (vboxa0400828d.emea.dhcp.ti.com [172.22.238.29]) by dlelxv97.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4T90x5N008468; Tue, 29 May 2018 04:01:02 -0500 From: Roger Quadros To: CC: , , , Roger Quadros , "[4.16+]" Subject: [PATCH 1/5] ARM: dts: dra7: Disable metastability workaround for USB2 Date: Tue, 29 May 2018 12:00:54 +0300 Message-ID: <1527584458-6257-2-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527584458-6257-1-git-send-email-rogerq@ti.com> References: <1527584458-6257-1-git-send-email-rogerq@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 Disable the metastability workaround for USB2. The original patch disabled the workaround on the wrong USB port. Fixes: b8c9c6fa2002 ("ARM: dts: dra7: Disable USB metastability workaround for USB2") Cc: [4.16+] Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- cheers, -roger Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index f4ddd86..9cace9f 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -1582,7 +1582,6 @@ dr_mode = "otg"; snps,dis_u3_susphy_quirk; snps,dis_u2_susphy_quirk; - snps,dis_metastability_quirk; }; }; @@ -1610,6 +1609,7 @@ dr_mode = "otg"; snps,dis_u3_susphy_quirk; snps,dis_u2_susphy_quirk; + snps,dis_metastability_quirk; }; }; From patchwork Tue May 29 09:00:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 137129 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3793477lji; Tue, 29 May 2018 02:02:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKvcXrwFIflB6ugcfDFDEvV8K0dU+D2PZq0PGXCxBDo0VFLD+ne/jNhYCn/VqH13Un+n84B X-Received: by 2002:a65:4783:: with SMTP id e3-v6mr10167241pgs.235.1527584546008; Tue, 29 May 2018 02:02:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527584546; cv=none; d=google.com; s=arc-20160816; b=imATqvkpTP6tfOe4v7XJ8IGLiNwH5FRfMz44FUE5kZO31aof/fylbYKiwufuyK2Dtv 0s3Pe3AxW1kDmwB16Jeoy0rujjLETNRkvrC6e1pzfgX4Zsrus8M/iZCC6ba/pibRAQrh KC5UG1kXAn2pWEO6/ewTsc8tey2h6tYm/iTCktTxUgUTo7y4TNxGwmkdl9lg4MMrQeQO qpRM6G3TPRtEtL8bKS9hb5zDJrcIxFUHVwlyqHz6CPHCq6e7MM60Jo2sFzsCrTwAzFFG vkigTHrEaRhFNghbQnRmZ6TZQEYdKFSYNkEXvexFgYwFGT8jZWC4S2h7FvzfAttP/Hg+ fvvw== 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 :arc-authentication-results; bh=WQV77IcWOrEl1/UHtDHdGf6TZxOVUVJ9LoLIwW3Qjdo=; b=ZLPCc0dyyHLkUD9TDpYSZ9r9IRH3goYK+f91vi2ZTO/MMwI1PUny2GOvil1Z/gwLa3 8//jkCrrNmgtLJWkvCAV6D2FfdVRdcRUc1+/xwZ/KR7pM58HZpexnxqpT/HbcP5SUO/D QZwIgbD7+FyCjKvcJXPLMnvStem+5Y7s0AbwLD2q9FAARqIL15S21gVx+PXwEnw661Vp snzp4ncPTdkuBNIp04z4ORWiBAKpJhVaLfG7OqQPVzJdzfFYkfe4GUTKrkLCTXY/muwc 7Hq+sv1oVao0qqWK2/F+VAFEaSE7Hv6Gb/GKaLZNIBHopHwYDGgmH2CvEHJAx/o0b3P5 L/Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=h1/dSPwv; 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 h1-v6si29690084pld.343.2018.05.29.02.02.25; Tue, 29 May 2018 02:02:25 -0700 (PDT) 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=h1/dSPwv; 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 S932663AbeE2JCY (ORCPT + 30 others); Tue, 29 May 2018 05:02:24 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:16668 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932531AbeE2JBM (ORCPT ); Tue, 29 May 2018 05:01:12 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4T91BFk008625; Tue, 29 May 2018 04:01:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1527584471; bh=WQV77IcWOrEl1/UHtDHdGf6TZxOVUVJ9LoLIwW3Qjdo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=h1/dSPwvRojfrP44hhN0lyrd+WizwpBwqhLBUp66PCduYGSM5s82xSoXvRl7yjV9m BL7clCUBi85R3OhCknlarSGMQbze1ZGJToNgm5/aEgVS/4NkabhQbC/Z6Q/UJ5dXY4 RTV9fDrg4UoVfdfwPkKnWrCw1IGyirce4HVycesY= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4T91BjW004840; Tue, 29 May 2018 04:01:11 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 29 May 2018 04:01:10 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 29 May 2018 04:01:10 -0500 Received: from dlelxv97.itg.ti.com (dlelxv97.itg.ti.com [172.17.2.193]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4T91ADT017378; Tue, 29 May 2018 04:01:10 -0500 Received: from lta0400828d.ti.com (vboxa0400828d.emea.dhcp.ti.com [172.22.238.29]) by dlelxv97.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4T90x5R008468; Tue, 29 May 2018 04:01:09 -0500 From: Roger Quadros To: CC: , , , Roger Quadros Subject: [PATCH 5/5] ARM: dts: dra76-evm: Add VBUS GPIO to USB1/USB2 extcon Date: Tue, 29 May 2018 12:00:58 +0300 Message-ID: <1527584458-6257-6-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527584458-6257-1-git-send-email-rogerq@ti.com> References: <1527584458-6257-1-git-send-email-rogerq@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 The board has USB VBUS detection available over GPIO. Plug it to extcon node of USB1 and USB2 ports. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra76-evm.dts | 8 ++++++++ 1 file changed, 8 insertions(+) -- cheers, -roger Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm/boot/dts/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts index 2deb964..bec72ec 100644 --- a/arch/arm/boot/dts/dra76-evm.dts +++ b/arch/arm/boot/dts/dra76-evm.dts @@ -404,3 +404,11 @@ phys = <&pcie1_phy>, <&pcie2_phy>; phy-names = "pcie-phy0", "pcie-phy1"; }; + +&extcon_usb1 { + vbus-gpio = <&pcf_lcd 14 GPIO_ACTIVE_HIGH>; +}; + +&extcon_usb2 { + vbus-gpio = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>; +};