From patchwork Wed Dec 30 00:55:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 7930991 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B7F959F318 for ; Wed, 30 Dec 2015 00:58:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 98BD320173 for ; Wed, 30 Dec 2015 00:58:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C8DA720160 for ; Wed, 30 Dec 2015 00:58:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aE54W-0000kT-2T; Wed, 30 Dec 2015 00:57:00 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aE53n-0000Zf-MN for linux-arm-kernel@lists.infradead.org; Wed, 30 Dec 2015 00:56:17 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O0500EYXBX4VH70@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 30 Dec 2015 09:55:52 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.115]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 4D.F3.04964.79B23865; Wed, 30 Dec 2015 09:55:51 +0900 (KST) X-AuditID: cbfee68f-f793a6d000001364-83-56832b97a558 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 4D.5E.13906.79B23865; Wed, 30 Dec 2015 09:55:51 +0900 (KST) Received: from chan.10.32.193.11 ([10.113.62.212]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O05008OGBX3D650@mmp1.samsung.com>; Wed, 30 Dec 2015 09:55:51 +0900 (KST) From: Chanwoo Choi To: tony@atomide.com, robh+dt@kernel.org, lee.jones@linaro.org, balbi@ti.com Subject: [PATCH v2 3/3] arm: boot: beaglex15: pass correct interrupt Date: Wed, 30 Dec 2015 09:55:47 +0900 Message-id: <1451436947-22163-4-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1451436947-22163-1-git-send-email-cw00.choi@samsung.com> References: <1451436947-22163-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpnkeLIzCtJLcpLzFFi42JZI2JSrDtDuznM4KyIxcH79RbXvzxntZh/ 5ByrxamDy1ktLjztYbO4//Uoo8Wmx9dYLS7vmsNmMXtJP4vF7cu8FrcbV7BZtO49wm7R80jL Yv8VLwc+j5bmHjaPb18nsXhsWtXJ5nHn2h42j81L6j36tqxi9Dh+YzuTx+dNcgEcUVw2Kak5 mWWpRfp2CVwZJ+88Yy1o56zYPqGRpYHxPHsXIyeHhICJxPe1n5kgbDGJC/fWs3UxcnEICaxg lJi4/hRcUefpv+wQiaWMEr0X/zJBOF8YJd60XmcEqWIT0JLY/+IGG4gtIuAjsX73XWaQImaB JiaJ3ysmMYMkhAVcJPY/ngDWwCKgKvH63iSgsRwcvAKuEm0f/CC2yUl82PMIbDOngJvE2s0/ wcqFgEpObvzPDFFzj12iu1cKYoyAxLfJh1hAxkgIyEpsOgBVIilxcMUNlgmMwgsYGVYxiqYW JBcUJ6UXGesVJ+YWl+al6yX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jUw7uNQ33Aoon+JjGKX7C7BL38/71gSeWuJwYvg/6dqZwS+D2ReK3Pocqbw7xiemYvW8R2y mM/Xoj9XpY1VjE2O6eN3admDs3p3JxY3rjVe33PrQO9v//NJGwqzS1cn/Ji5p7y8ujL/IRe7 118zXfOlB3cl791yWdIo4RPL5ve527pzLpjummSgrsRSnJFoqMVcVJwIANkySUrpAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151229_165615_911275_ADDF7FDE X-CRM114-Status: GOOD ( 11.70 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, george.cherian@ti.com, linux@arm.linux.org.uk, linux-kernel@vger.kernel.org, kishon@ti.com, cw00.choi@samsung.com, myungjoo.ham@samsung.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rogerq@ti.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Felipe Balbi According to latest schematics [1], GPIO_1/VBUSDET on TPS659038 is tied to AM57x GPIO4_21. We can use that as a VBUS interrupt, instead of relying on PMIC's VBUS interrupts which don't seem to be firing on x15 at all. A follow up patch will add support for using this GPIO-based interrupt mechanism for notifying about VBUS. [1] https://github.com/beagleboard/beagleboard-x15/blob/master/BeagleBoard-X15_RevA2.pdf Signed-off-by: Felipe Balbi [cw00.choi: Use the 'vbus-gpio' property instead of 'interrupts-extended'] Signed-off-by: Chanwoo Choi --- arch/arm/boot/dts/am57xx-beagle-x15.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts index be4990608c77..3887ba89d2a5 100644 --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts @@ -560,6 +560,7 @@ extcon_usb2: tps659038_usb { compatible = "ti,palmas-usb-vid"; ti,enable-vbus-detection; + vbus-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>; }; };