From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 18/19] Documentation: Define the MSP Driver Device Tree bindings Date: Tue, 31 Jul 2012 16:10:24 +0100 Message-ID: <20120731151024.GA4468@opensource.wolfsonmicro.com> References: <1343741953-17828-1-git-send-email-lee.jones@linaro.org> <1343741953-17828-19-git-send-email-lee.jones@linaro.org> <20120731135539.GO4468@opensource.wolfsonmicro.com> <5017F2E2.4040100@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 25C3E265D64 for ; Tue, 31 Jul 2012 17:10:24 +0200 (CEST) Content-Disposition: inline In-Reply-To: <5017F2E2.4040100@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Lee Jones Cc: ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, linus.walleij@stericsson.com, arnd@arndb.de, linux-kernel@vger.kernel.org, olalilja@yahoo.se, STEricsson_nomadik_linux@list.st.com, lrg@ti.com, linux-arm-kernel@lists.infradead.org List-Id: alsa-devel@alsa-project.org On Tue, Jul 31, 2012 at 03:59:46PM +0100, Lee Jones wrote: > On 31/07/12 14:55, Mark Brown wrote: > >>+Optional properties: > >>+ - interrupts : The interrupt outputs from the device. > >If there's more than one interrupt then how are they ordered? > It doesn't matter. If there are any more than one (which there > aren't in this case), we usually use the interrupt-names property > then request them by name in the driver. So the binding therefore needs to say "The interrupt output from the device" as there's only one output supported. If we were using interrupt-names then we'd need to document what the supported names are. From mboxrd@z Thu Jan 1 00:00:00 1970 From: broonie@opensource.wolfsonmicro.com (Mark Brown) Date: Tue, 31 Jul 2012 16:10:24 +0100 Subject: [PATCH 18/19] Documentation: Define the MSP Driver Device Tree bindings In-Reply-To: <5017F2E2.4040100@linaro.org> References: <1343741953-17828-1-git-send-email-lee.jones@linaro.org> <1343741953-17828-19-git-send-email-lee.jones@linaro.org> <20120731135539.GO4468@opensource.wolfsonmicro.com> <5017F2E2.4040100@linaro.org> Message-ID: <20120731151024.GA4468@opensource.wolfsonmicro.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jul 31, 2012 at 03:59:46PM +0100, Lee Jones wrote: > On 31/07/12 14:55, Mark Brown wrote: > >>+Optional properties: > >>+ - interrupts : The interrupt outputs from the device. > >If there's more than one interrupt then how are they ordered? > It doesn't matter. If there are any more than one (which there > aren't in this case), we usually use the interrupt-names property > then request them by name in the driver. So the binding therefore needs to say "The interrupt output from the device" as there's only one output supported. If we were using interrupt-names then we'd need to document what the supported names are. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754950Ab2GaPK3 (ORCPT ); Tue, 31 Jul 2012 11:10:29 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:47091 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754926Ab2GaPK1 (ORCPT ); Tue, 31 Jul 2012 11:10:27 -0400 Date: Tue, 31 Jul 2012 16:10:24 +0100 From: Mark Brown To: Lee Jones Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, olalilja@yahoo.se, ola.o.lilja@stericsson.com, alsa-devel@alsa-project.org, lrg@ti.com, STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de Subject: Re: [PATCH 18/19] Documentation: Define the MSP Driver Device Tree bindings Message-ID: <20120731151024.GA4468@opensource.wolfsonmicro.com> References: <1343741953-17828-1-git-send-email-lee.jones@linaro.org> <1343741953-17828-19-git-send-email-lee.jones@linaro.org> <20120731135539.GO4468@opensource.wolfsonmicro.com> <5017F2E2.4040100@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5017F2E2.4040100@linaro.org> X-Cookie: Give him an evasive answer. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 31, 2012 at 03:59:46PM +0100, Lee Jones wrote: > On 31/07/12 14:55, Mark Brown wrote: > >>+Optional properties: > >>+ - interrupts : The interrupt outputs from the device. > >If there's more than one interrupt then how are they ordered? > It doesn't matter. If there are any more than one (which there > aren't in this case), we usually use the interrupt-names property > then request them by name in the driver. So the binding therefore needs to say "The interrupt output from the device" as there's only one output supported. If we were using interrupt-names then we'd need to document what the supported names are.