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>; +};