Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754761Ab3HQACa (ORCPT ); Fri, 16 Aug 2013 20:02:30 -0400 Received: from mail-oa0-f42.google.com ([209.85.219.42]:59401 "EHLO mail-oa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754680Ab3HQACM (ORCPT ); Fri, 16 Aug 2013 20:02:12 -0400 MIME-Version: 1.0 In-Reply-To: <1376387195-27469-1-git-send-email-larsi@wh2.tu-dresden.de> References: <1376387195-27469-1-git-send-email-larsi@wh2.tu-dresden.de> Date: Sat, 17 Aug 2013 02:02:11 +0200 Message-ID: Subject: Re: [PATCH v2] RFC: interrupt consistency check for OF GPIO IRQs From: Linus Walleij To: Lars Poeschel Cc: Lars Poeschel , Grant Likely , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , Javier Martinez Canillas , Enric Balletbo i Serra , Jean-Christophe PLAGNIOL-VILLARD , Santosh Shilimkar , Kevin Hilman , Balaji T K , Tony Lindgren , Jon Hunter Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 919 Lines: 24 Hi Lars, On Tue, Aug 13, 2013 at 11:46 AM, Lars Poeschel wrote: > From: Linus Walleij > > Currently the kernel is ambigously treating GPIOs and interrupts > from a GPIO controller: GPIOs and interrupts are treated as > orthogonal. This unfortunately makes it unclear how to actually > retrieve and request a GPIO line or interrupt from a GPIO > controller in the device tree probe path. I took the liberty to take your tweaked V2 version of my patch, tweak it a bit more (addressing some of Tomasz comments) and re-submit, along with two patches making it do the trick on my Nomadik test-system. Yours, Linus Walleij -- 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/