From patchwork Fri Jun 7 16:11:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 17683 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gg0-f198.google.com (mail-gg0-f198.google.com [209.85.161.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 09A062395F for ; Fri, 7 Jun 2013 16:11:57 +0000 (UTC) Received: by mail-gg0-f198.google.com with SMTP id p4sf1574880ggn.1 for ; Fri, 07 Jun 2013 09:11:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=tAuusqx3cTn12y/IDiWh72nHm57AQ/vDiqubwJyojsE=; b=hz7esRlA9gxsB4Mc9lu4MTjrabse3ZXQ60J2ff10YHXwC3msZWgwycXiSEFDaJL4gC fIvMkThZslgq23d21rBq5y8oDrINdhejkXRgrv+lfi8xLN83PLst705h3uhvTxOVDlbN gsCOZXIB6v387TEtDcr8wVHGgwE0I4q53q5fahfXf9NXmY9unHLk79rHeMBmJ/HI5yW5 hhwnfMg83IrS8Zvwdc2l468djTZMuzqwdPaZsL4KMpah5P4YiGVWkm3B+2LmS/LGu4eZ JA42AOmcNoJFjNsAkmZCWle9Uzjva7wWExEksDTHde+Yukbt5VJwQqPmuyy+RZFXhjlN jL4Q== X-Received: by 10.224.53.198 with SMTP id n6mr1631010qag.2.1370621516546; Fri, 07 Jun 2013 09:11:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.0.113 with SMTP id 17ls1922596qed.28.gmail; Fri, 07 Jun 2013 09:11:56 -0700 (PDT) X-Received: by 10.52.36.115 with SMTP id p19mr20287771vdj.8.1370621516302; Fri, 07 Jun 2013 09:11:56 -0700 (PDT) Received: from mail-ve0-x229.google.com (mail-ve0-x229.google.com [2607:f8b0:400c:c01::229]) by mx.google.com with ESMTPS id ia10si9151654vdb.90.2013.06.07.09.11.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 09:11:56 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::229 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::229; Received: by mail-ve0-f169.google.com with SMTP id m1so3262949ves.0 for ; Fri, 07 Jun 2013 09:11:56 -0700 (PDT) X-Received: by 10.52.155.67 with SMTP id vu3mr20409428vdb.94.1370621516221; Fri, 07 Jun 2013 09:11:56 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp120720vcb; Fri, 7 Jun 2013 09:11:55 -0700 (PDT) X-Received: by 10.14.175.199 with SMTP id z47mr39657734eel.43.1370621514729; Fri, 07 Jun 2013 09:11:54 -0700 (PDT) Received: from mail-ee0-x235.google.com (mail-ee0-x235.google.com [2a00:1450:4013:c00::235]) by mx.google.com with ESMTPS id g7si1772503eew.75.2013.06.07.09.11.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 09:11:54 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4013:c00::235 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:4013:c00::235; Received: by mail-ee0-f53.google.com with SMTP id c41so1813548eek.40 for ; Fri, 07 Jun 2013 09:11:54 -0700 (PDT) X-Received: by 10.15.83.73 with SMTP id b49mr38783609eez.154.1370621514264; Fri, 07 Jun 2013 09:11:54 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPSA id c5sm97260340eeu.8.2013.06.07.09.11.50 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Jun 2013 09:11:52 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, broonie@linaro.org, Lee Jones Subject: [PATCH 05/10] mfd: ab8500-core: Add AB8500 external regulators as MFD devices Date: Fri, 7 Jun 2013 17:11:23 +0100 Message-Id: <1370621488-18130-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1370621488-18130-1-git-send-email-lee.jones@linaro.org> References: <1370621488-18130-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQli+S7nyg0Glw3KDVpIxcDCchx4v9wCTNfXnue+QeagU0fkgIjjisZ9mIf4cIfnMafM+CQ7 X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::229 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The AB8500 external regulator driver is now a device in its own right, so it requires registering and probing in the normal way. This patch will ensure the driver is probed once registered for all devices which support them. Signed-off-by: Lee Jones --- drivers/mfd/ab8500-core.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index 258b367..710f117 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c @@ -1051,6 +1051,10 @@ static struct mfd_cell ab8500_devs[] = { .of_compatible = "stericsson,ab8500-sysctrl", }, { + .name = "ab8500-ext-regulator", + .of_compatible = "stericsson,ab8500-ext-regulator", + }, + { .name = "ab8500-regulator", .of_compatible = "stericsson,ab8500-regulator", }, @@ -1139,6 +1143,9 @@ static struct mfd_cell ab9540_devs[] = { .name = "ab8500-sysctrl", }, { + .name = "ab8500-ext-regulator", + }, + { .name = "ab8500-regulator", }, { @@ -1274,6 +1281,9 @@ static struct mfd_cell ab8540_devs[] = { .name = "ab8500-sysctrl", }, { + .name = "ab8500-ext-regulator", + }, + { .name = "ab8500-regulator", }, {