From patchwork Thu Nov 12 17:53:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 56456 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp559214lbb; Thu, 12 Nov 2015 09:53:38 -0800 (PST) X-Received: by 10.68.65.6 with SMTP id t6mr24911791pbs.90.1447350818753; Thu, 12 Nov 2015 09:53:38 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5si21285123pbt.98.2015.11.12.09.53.38; Thu, 12 Nov 2015 09:53:38 -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 S1753893AbbKLRxf (ORCPT + 28 others); Thu, 12 Nov 2015 12:53:35 -0500 Received: from comal.ext.ti.com ([198.47.26.152]:48823 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753718AbbKLRxc (ORCPT ); Thu, 12 Nov 2015 12:53:32 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id tACHr5hL009204; Thu, 12 Nov 2015 11:53:05 -0600 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id tACHr4iF001530; Thu, 12 Nov 2015 11:53:05 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.224.2; Thu, 12 Nov 2015 11:53:05 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id tACHr4v9001095; Thu, 12 Nov 2015 11:53:04 -0600 From: Felipe Balbi To: Tony Lindgren , Rob Herring , MyungJoo Ham , Chanwoo Choi CC: Linux OMAP Mailing List , Linux ARM Kernel Mailing List , Linux Kernel Mailing List , Felipe Balbi Subject: [PATCH 2/2] arm: boot: beaglex15: pass correct interrupt Date: Thu, 12 Nov 2015 11:53:01 -0600 Message-ID: <1447350781-20649-3-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1447350781-20649-1-git-send-email-balbi@ti.com> References: <1447350781-20649-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm/boot/dts/am57xx-beagle-x15.dts | 1 + 1 file changed, 1 insertion(+) -- 2.6.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts index 6f3a1a7ec5f9..5e47162f7883 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; + interrupts-extended = <&gpio4 21 IRQ_TYPE_EDGE_RISING>; }; };