From patchwork Tue Feb 5 19:48:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 14568 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 25B8623E92 for ; Tue, 5 Feb 2013 19:49:27 +0000 (UTC) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by fiordland.canonical.com (Postfix) with ESMTP id D1F73A1883C for ; Tue, 5 Feb 2013 19:49:26 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id m1so459933ves.36 for ; Tue, 05 Feb 2013 11:49:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:mime-version:content-type:x-gm-message-state; bh=sURCPvhpxSOqZn7OvZGg0wV/CHM++ilBy45mQX8ELYA=; b=lC5GWmOsv/RRit0+JYJf2HFbzjbNVF8R1/HKTiES2Fw030FBv5QiUa0IBXm6bHKa2B Ik+58zQFiK7DqIQ/Eh59o+oJd7/Ep3J92BSXdNhnsT287COjr4z+LD5/OYnVJQrrGjy7 sndR9lQco24vbdzxpRh2Me2vuF6OyRbNlOTt96W06CWpFEj/70cRLhRtYioCGOEvQu5R d//FzlYlnPeq5AyZ9qp64fm94Ed1UE40whkqoSVbDABVV26tyZQRDueCK581Py/dC9Y9 jhowMTxd97Ha4rQtu5uBwYKXvSJcOovauUlDkgHHJTu3HK/VoYRflmss4og2+YPHzDGZ Qpuw== X-Received: by 10.220.151.141 with SMTP id c13mr29294303vcw.64.1360093766373; Tue, 05 Feb 2013 11:49:26 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.252.8 with SMTP id zo8csp143965vec; Tue, 5 Feb 2013 11:49:25 -0800 (PST) X-Received: by 10.180.99.227 with SMTP id et3mr577442wib.6.1360093764703; Tue, 05 Feb 2013 11:49:24 -0800 (PST) Received: from eu1sys200aog102.obsmtp.com (eu1sys200aog102.obsmtp.com [207.126.144.113]) by mx.google.com with SMTP id h41si36905627eem.230.2013.02.05.11.49.06 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 05 Feb 2013 11:49:24 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.113 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.113; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.113 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob102.postini.com ([207.126.147.11]) with SMTP ID DSNKURFiMb4o0cTXY7wERqw+GNe2s4aSsTCg@postini.com; Tue, 05 Feb 2013 19:49:24 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id CDBFFB1; Tue, 5 Feb 2013 19:40:52 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 04C98D42; Tue, 5 Feb 2013 19:49:02 +0000 (GMT) Received: from exdcvycastm022.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm022", Issuer "exdcvycastm022" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 9864D24C2AB; Tue, 5 Feb 2013 20:48:51 +0100 (CET) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.30) with Microsoft SMTP Server (TLS) id 8.3.83.0; Tue, 5 Feb 2013 20:49:01 +0100 From: Linus Walleij To: , Cc: Stephen Warren , Anmar Oueja , Lee Jones , Samuel Ortiz , Linus Walleij Subject: [PATCH 04/14] mfd: ab8500: allow AB9540 based devices to use ABX500 pinctrl Date: Tue, 5 Feb 2013 20:48:25 +0100 Message-ID: <1360093715-6348-5-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 In-Reply-To: <1360093715-6348-1-git-send-email-linus.walleij@stericsson.com> References: <1360093715-6348-1-git-send-email-linus.walleij@stericsson.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQnB2cKtbCTudLut441Zh47loldPQLLPkVAxN/r/U4/F0owkAlia36frtjVKOF5J1UGaBNxF From: Lee Jones The old AB8500 GPIO driver has been un-BROKEN and converted into a multi-platform pinctrl driver. If any AB9540 based devices wish to request any GPIO pins that it offers, they can after this patch. Cc: Samuel Ortiz Signed-off-by: Lee Jones Signed-off-by: Linus Walleij --- Sam, it'd be nice if you could ACK these first four patches, the series basically simplifies things a lot by not cascading the AB8500 IRQs and duplicate code in the pinctrl driver. --- drivers/mfd/ab8500-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index bad3fe2..a0a3f72 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c @@ -1097,7 +1097,8 @@ static struct mfd_cell ab8500_devs[] = { static struct mfd_cell ab9540_devs[] = { { - .name = "ab8500-gpio", + .name = "pinctrl-ab9540", + .of_compatible = "stericsson,ab9540-gpio", }, { .name = "ab9540-usb",