From patchwork Tue Feb 11 17:10:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Moll X-Patchwork-Id: 24481 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f70.google.com (mail-qa0-f70.google.com [209.85.216.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6C400203F3 for ; Tue, 11 Feb 2014 17:12:20 +0000 (UTC) Received: by mail-qa0-f70.google.com with SMTP id ii20sf16266437qab.9 for ; Tue, 11 Feb 2014 09:12:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=0oxt9Eq0fgBFmIM7gyZL+pS8s7n5m7qPGDmA3pb5OB0=; b=TgEZH6zD1p3SELU+022oUohAXZXt2zbhqoLYtKa3xQCj6HAaXSgoCCi+gZjDkjFc9m XsNx9tcZSRSN68Rjqf30dFNw6J07vSQv83ZRWtb2JDE3rN6hn36CA9bf0Jg5SJNZlorw BaNK5EfSsqQ+smbML4cuk0jY6yjnNvcMB9drn1DrjN7Y8zfbcpyzmL/tri9SuUtDuWyq /naXK0o+a0fCzekJxi0WSDWS4prrLYIjvUpqD7PiNE1+vtnPY05fnREyepxcg3AtZpnQ SNU6Zm2Wzgq/2YZPEO3IvUnjFtAJkp1IQMq9a7FmHcPWHcwsIJ0MJyS/Yhp5eFvnNs3r L4ow== X-Gm-Message-State: ALoCoQnprUw1E8Z0Xu+hNTEMnbPBay1Qr1M5cwAoVfhWGU4EnCbQOZ5/svVVW79iH1VeNukJ3CRj X-Received: by 10.236.92.202 with SMTP id j50mr173517yhf.26.1392138739454; Tue, 11 Feb 2014 09:12:19 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.110 with SMTP id y101ls2709137qgd.0.gmail; Tue, 11 Feb 2014 09:12:19 -0800 (PST) X-Received: by 10.52.237.167 with SMTP id vd7mr167833vdc.54.1392138739332; Tue, 11 Feb 2014 09:12:19 -0800 (PST) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id n8si6132890vdv.3.2014.02.11.09.12.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Feb 2014 09:12:19 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id ld13so6004540vcb.4 for ; Tue, 11 Feb 2014 09:12:19 -0800 (PST) X-Received: by 10.52.246.42 with SMTP id xt10mr24330834vdc.9.1392138739154; Tue, 11 Feb 2014 09:12:19 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp262304vcz; Tue, 11 Feb 2014 09:12:18 -0800 (PST) X-Received: by 10.67.22.38 with SMTP id hp6mr34068148pad.53.1392138738247; Tue, 11 Feb 2014 09:12:18 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4si19614236pao.215.2014.02.11.09.12.15; Tue, 11 Feb 2014 09:12:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752333AbaBKRK4 (ORCPT + 27 others); Tue, 11 Feb 2014 12:10:56 -0500 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:25451 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752189AbaBKRKv (ORCPT ); Tue, 11 Feb 2014 12:10:51 -0500 Received: from hornet.Cambridge.Arm.com (hornet.cambridge.arm.com [10.2.201.45]) by collaborate-mta1.arm.com (Postfix) with ESMTP id 00CE61401C3; Tue, 11 Feb 2014 11:10:49 -0600 (CST) From: Pawel Moll To: arm@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Pawel Moll , Linus Walleij , Alexandre Courbot , Samuel Ortiz , Lee Jones Subject: [PATCH 06/12] mfd: vexpress-sysreg: Add labels to gpio banks Date: Tue, 11 Feb 2014 17:10:30 +0000 Message-Id: <1392138636-29240-7-git-send-email-pawel.moll@arm.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1392138636-29240-1-git-send-email-pawel.moll@arm.com> References: <1392138636-29240-1-git-send-email-pawel.moll@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: pawel.moll@arm.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , ... so debugfs interfaces are easier to use. Cc: Linus Walleij Cc: Alexandre Courbot Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Pawel Moll Acked-by: Lee Jones --- drivers/mfd/vexpress-sysreg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/vexpress-sysreg.c b/drivers/mfd/vexpress-sysreg.c index f639dff..ece5ac8 100644 --- a/drivers/mfd/vexpress-sysreg.c +++ b/drivers/mfd/vexpress-sysreg.c @@ -133,16 +133,19 @@ void __init vexpress_sysreg_early_init(void __iomem *base) /* The sysreg block is just a random collection of various functions... */ static struct bgpio_pdata vexpress_sysreg_sys_led_pdata = { + .label = "sys_led", .base = -1, .ngpio = 8, }; static struct bgpio_pdata vexpress_sysreg_sys_mci_pdata = { + .label = "sys_mci", .base = -1, .ngpio = 2, }; static struct bgpio_pdata vexpress_sysreg_sys_flash_pdata = { + .label = "sys_flash", .base = -1, .ngpio = 1, };