From patchwork Fri May 17 16:24:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 2583841 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 6D95B3FD4E for ; Fri, 17 May 2013 16:29:00 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UdNUZ-000095-BN; Fri, 17 May 2013 16:26:56 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UdNTw-0001Sx-IQ; Fri, 17 May 2013 16:26:12 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UdNTF-0001O0-Te for linux-arm-kernel@lists.infradead.org; Fri, 17 May 2013 16:25:30 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MMY003AFAXG67C0@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 17 May 2013 17:25:02 +0100 (BST) X-AuditID: cbfec7f4-b7fd76d0000035e1-09-519659de985c Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id A6.95.13793.ED956915; Fri, 17 May 2013 17:25:02 +0100 (BST) Received: from amdc1227.digital.local ([106.116.147.199]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0MMY00K5ZAXKIM00@eusync2.samsung.com>; Fri, 17 May 2013 17:25:02 +0100 (BST) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Subject: [PATCH 5/6] pinctrl: samsung: Allow per-bank SoC-specific private data Date: Fri, 17 May 2013 18:24:31 +0200 Message-id: <1368807872-2601-6-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.8.2.1 In-reply-to: <1368807872-2601-1-git-send-email-t.figa@samsung.com> References: <1368807872-2601-1-git-send-email-t.figa@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGLMWRmVeSWpSXmKPExsVy+t/xK7r3IqcFGkzoZbP4O+kYu8XZZQfZ LP4/es1q0bvgKpvF2aY37BZT/ixnstj0+BqrxYzz+5gsTl3/zGZxYcVGdotXB9tYLNbPeM1i cWzGEkYHXo/fvyYxesxuuMjicefaHjaPzUvqPa6caGL16NuyitFj+7V5zB6fN8l5bJwbGsAZ xWWTkpqTWZZapG+XwJUxa9ET9oKZbBXrTp1nb2Ccw9rFyMkhIWAicW7DByYIW0ziwr31bF2M XBxCAksZJTp2n2GFcPqYJJpPvgSrYhNQk/jc8IgNxBYRUJX43LaAHaSIWWAns8TlBzdZQBLC Av4SH578BGrg4GABKnq8wQMkzCvgKLH8ylZGiG0KEse3bwOzOQWcJN7MmsMMYgsB1dzsOss6 gZF3ASPDKkbR1NLkguKk9FxDveLE3OLSvHS95PzcTYyQsP2yg3HxMatDjAIcjEo8vDOdpwUK sSaWFVfmHmKU4GBWEuE9/nFqoBBvSmJlVWpRfnxRaU5q8SFGJg5OqQZGrnW9mg5xf17K78mI /3FaLH13dvZHv0XaLyu/rP9tZ2xyeKGibv7H+c1l50Nk+pPm5db4KL4qPFbg/kWGR1r8SPNn YwG2jhX2BfcM2LsTpN44f/jZ7yAcEHt7juTBY45VtcErM5PXffW68k/vhu6sn/L+sT7a+S8v n1ibaajt6Bb1f+nxqiIlluKMREMt5qLiRAAreht3OQIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130517_122530_081601_E0823D5B X-CRM114-Status: UNSURE ( 5.98 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.5 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [210.118.77.13 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.6 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kgene.kim@samsung.com, =?UTF-8?q?Heiko=20St=C3=BCbner?= , arnd@arndb.de, Stephen Warren , Linus Walleij , Prathyush K , Doug Anderson , Kyungmin Park , Thomas Abraham , olof@lixom.net, Tomasz Figa , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch extends pin bank descriptor structure with SoC-specific private data field that allows SoC-specific drivers to store their own private data. Signed-off-by: Tomasz Figa Signed-off-by: Kyungmin Park Tested-by: Doug Anderson Reviewed-by: Doug Anderson --- drivers/pinctrl/pinctrl-samsung.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/pinctrl-samsung.h b/drivers/pinctrl/pinctrl-samsung.h index b316d9f..26d3519 100644 --- a/drivers/pinctrl/pinctrl-samsung.h +++ b/drivers/pinctrl/pinctrl-samsung.h @@ -139,6 +139,7 @@ struct samsung_pin_bank { u32 eint_mask; u32 eint_offset; char *name; + void *soc_priv; struct device_node *of_node; struct samsung_pinctrl_drv_data *drvdata; struct irq_domain *irq_domain;