Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757687Ab3HQA0d (ORCPT ); Fri, 16 Aug 2013 20:26:33 -0400 Received: from mail-oa0-f49.google.com ([209.85.219.49]:61846 "EHLO mail-oa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756777Ab3HQA03 (ORCPT ); Fri, 16 Aug 2013 20:26:29 -0400 MIME-Version: 1.0 In-Reply-To: <5024472.WsjusA1KXL@flatron> References: <1376387195-27469-1-git-send-email-larsi@wh2.tu-dresden.de> <1955836.AOXICuVgjP@flatron> <201308151412.43932.poeschel@lemonage.de> <5024472.WsjusA1KXL@flatron> Date: Sat, 17 Aug 2013 02:26:28 +0200 Message-ID: Subject: Re: [PATCH v2] RFC: interrupt consistency check for OF GPIO IRQs From: Linus Walleij To: Tomasz Figa Cc: Lars Poeschel , 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: 941 Lines: 20 On Thu, Aug 15, 2013 at 2:31 PM, Tomasz Figa wrote: > On Thursday 15 of August 2013 14:12:43 Lars Poeschel wrote: > Well, there are basically no restrictions over the format of GPIO and > interrupt specifiers. Any driver is free to define its own and provide > private .xlate() callback to parse it. No assumptions should be made about > the format, other than each GPIO/interrupt is specified by numer of cells > specified in #interrupt- or #gpio-cells property of the controller. Surely we can assume that the binding documents can be trusted? And for this we only need this: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 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/