From patchwork Mon Jul 2 09:57:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1146271 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 0324440AF2 for ; Mon, 2 Jul 2012 10:01:31 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SldO4-0006D0-Ob; Mon, 02 Jul 2012 09:57:44 +0000 Received: from mail-bk0-f49.google.com ([209.85.214.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SldNn-0006Bo-My for linux-arm-kernel@lists.infradead.org; Mon, 02 Jul 2012 09:57:28 +0000 Received: by bkwj4 with SMTP id j4so4788980bkw.36 for ; Mon, 02 Jul 2012 02:57:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=wjUFfwVvX4YmYOWY3fYD7noBqauPqN8xJxGOE2KW//U=; b=WDpSrm56CT70l3PnK5hkI3sCHv2SqR1RRvrHrg0FdB5kuP2iIl+wU+JfCu1AvVRSWS 8CY1/pEo4LgZu4mRq9/C87nYnnwO4JIFsYznYJdZuW3UlTZq7YYLvpdPTTP0eDbPXsAr FxApu8GvGEUMarFgPrtAgacjPycRNoiR0o0WHzk7Hf+PSsTtJsFrfc6eWH3u3BOXOesl q+sLz2FOPqDBhXgihm5ElcSj7341UuliIBn9snv00rXa52C8X/X5+4YX6GjMfD0i3E/r irD/iWgDpOrMDwN5g0FJ+YjNeZm4tJPrUsnhNqNGzUM0Cukg9WJrjH903KmoVYixwLEj 4KGw== Received: by 10.205.121.130 with SMTP id gc2mr6880524bkc.10.1341223044336; Mon, 02 Jul 2012 02:57:24 -0700 (PDT) Received: from [192.168.0.135] (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id hs2sm12764040bkc.1.2012.07.02.02.57.22 (version=SSLv3 cipher=OTHER); Mon, 02 Jul 2012 02:57:23 -0700 (PDT) Message-ID: <4FF17081.9000005@linaro.org> Date: Mon, 02 Jul 2012 10:57:21 +0100 From: Lee Jones User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Samuel Ortiz Subject: Re: [PATCH 03/15] mfd: Make MFD core code Device Tree and IRQ domain aware References: <1340197011-5435-1-git-send-email-lee.jones@linaro.org> <1340197011-5435-4-git-send-email-lee.jones@linaro.org> <20120629145503.GF22806@sortiz-mobl> <4FEDC141.8090000@linaro.org> <20120629184927.GX22806@sortiz-mobl> In-Reply-To: <20120629184927.GX22806@sortiz-mobl> X-Gm-Message-State: ALoCoQn0ijAdnIeQq0/GWfvNJRDmvzlHS1PJlpLlBCF8IwaA0F4VXDZbKVjTws+JLirWRKzMOslc X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.214.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linux@arm.linux.org.uk, linus.walleij@stericsson.com, arnd@arndb.de, broonie@opensource.wolfsonmicro.com, grant.likely@secretlab.ca, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi Sam, Something like this what you were after? From: Lee Jones Date: Mon, 2 Jul 2012 10:50:19 +0100 Subject: [PATCH] MFD: Attaching a node to new 'struct mfd_cell' of_compatible variable Applying a succinct description to the of_compatible variable recently added to the mfd_cell struct. Also link to the documentation page where more information can be found about compatible properties. Signed-off-by: Lee Jones --- include/linux/mfd/core.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h index 99b7eb1..3a8435a 100644 --- a/include/linux/mfd/core.h +++ b/include/linux/mfd/core.h @@ -36,6 +36,10 @@ struct mfd_cell { /* platform data passed to the sub devices drivers */ void *platform_data; size_t pdata_size; + /* + * Device Tree compatible string + * See: Documentation/devicetree/usage-model.txt Chapter 2.2 for details + */ const char *of_compatible; /*