From patchwork Thu Mar 21 15:59:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 15498 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 B768E23E14 for ; Thu, 21 Mar 2013 16:00:52 +0000 (UTC) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by fiordland.canonical.com (Postfix) with ESMTP id 2081EA19E7A for ; Thu, 21 Mar 2013 16:00:52 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id ht11so2417912vcb.41 for ; Thu, 21 Mar 2013 09:00:51 -0700 (PDT) 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:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=+SgZMKpsXgQKQZKpHZbfWj0fRfKlLiPMUeCIgAwdcIc=; b=k3gQpwG/5o5YQZ97Hyw/XxgYmrWEgNWRdk8MvLk69OT1U5BJp+g1Hxy2Rmh24Zy+Di jPU6GNUZNYbV3z7jGFecxy/2iaHaif18xFIdOmqWtuIZjtQ/yrv6bS9k/RtPWHK5J4mJ Pt8P0tZa+s1JOeG5UTym5zyOsxkUWw2HfbYQylpjyP9nNwk8GWosMUN0i873emmIlB6P wKnBxWW8zJ9Ok1MUwj663dW+CiiTU8CiwyE/9azBqzI3E4tIbLP3subHKMaJlkBWVHr8 UvmPE0Y3vDZuJQScqPnO8Ju58tKa4EWFjEW7Mzk16jDGgCMqFw2lzYp/UCC8F5Mna2MB I9BA== X-Received: by 10.220.154.199 with SMTP id p7mr14255144vcw.46.1363881651681; Thu, 21 Mar 2013 09:00:51 -0700 (PDT) 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.233.198 with SMTP id ty6csp66797vec; Thu, 21 Mar 2013 09:00:51 -0700 (PDT) X-Received: by 10.180.13.197 with SMTP id j5mr5714840wic.21.1363881650608; Thu, 21 Mar 2013 09:00:50 -0700 (PDT) Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by mx.google.com with ESMTPS id cs7si1453369wib.35.2013.03.21.09.00.50 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Mar 2013 09:00:50 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.43 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.43; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.43 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wg0-f43.google.com with SMTP id e12so2326716wge.34 for ; Thu, 21 Mar 2013 09:00:50 -0700 (PDT) X-Received: by 10.194.120.195 with SMTP id le3mr3912123wjb.46.1363881650213; Thu, 21 Mar 2013 09:00:50 -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 ESMTPS id h10sm6110847wic.8.2013.03.21.09.00.48 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Mar 2013 09:00:49 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, broonie@opensource.wolfsonmicro.com Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones Subject: [PATCH 24/46] ARM: ux500: regulator: Add accelerometer and fix magnetometer supply device ID Date: Thu, 21 Mar 2013 15:59:21 +0000 Message-Id: <1363881583-15234-25-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1363881583-15234-1-git-send-email-lee.jones@linaro.org> References: <1363881583-15234-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmuP5P7AITHwtCjMVFPs3x7Le0FoWSenVP3xyVaQ4FITuCVgVxSGlc35AtPQHv7oqe9S+S5 This patch adds the LSM303DLHC Accelerometer to the list of VAUX1 consumers, as well as amending the already added LSM303DLHC Magnetometer's device ID. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c b/arch/arm/mach-ux500/board-mop500-regulators.c index 4f880df..8161519 100644 --- a/arch/arm/mach-ux500/board-mop500-regulators.c +++ b/arch/arm/mach-ux500/board-mop500-regulators.c @@ -67,8 +67,10 @@ static struct regulator_consumer_supply ab8500_vaux1_consumers[] = { REGULATOR_SUPPLY("vcc", "2-0029"), /* lsm303dlh accelerometer */ REGULATOR_SUPPLY("vdd", "3-0018"), + /* lsm303dlhc accelerometer */ + REGULATOR_SUPPLY("vdd", "2-0019"), /* lsm303dlh magnetometer */ - REGULATOR_SUPPLY("vdd", "3-001e"), + REGULATOR_SUPPLY("vdd", "2-001e"), /* Rohm BU21013 Touchscreen devices */ REGULATOR_SUPPLY("avdd", "3-005c"), REGULATOR_SUPPLY("avdd", "3-005d"),