From patchwork Thu Mar 15 18:50:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 7317 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 1870123E12 for ; Thu, 15 Mar 2012 18:51:02 +0000 (UTC) Received: from mail-ee0-f52.google.com (mail-ee0-f52.google.com [74.125.83.52]) by fiordland.canonical.com (Postfix) with ESMTP id 0A42FA1883B for ; Thu, 15 Mar 2012 18:51:02 +0000 (UTC) Received: by mail-ee0-f52.google.com with SMTP id d4so2164898eek.11 for ; Thu, 15 Mar 2012 11:51:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :x-gm-message-state; bh=+cuOe2sXGyrIPNsuswI/wThRjVdjWZTZ2RV9wWYG+Ls=; b=nKBnRyBpTpuL7zO7UBKLL3ZLPBbRBW/w6n8DAHREJHNSl8+e/vvTlI+sUOBREU6XmP pv7pHd0CrZemcOsH8TJJyoMee3xO9VPFZTfCF0kTvUZSwFMOkbxl1sj1Yc7G1fUrrdY8 DIwpdu/E3kvJS5j7ZE0h+ejVAhiEXezX+Q7OTsO2TW1zNZ39gkKeKZ/3xlML50UdSxUp 0vtX0BBNwYkTfR3oZsTwgXOoY/F5rfcs4cZ0pf+pJH1h3Izi/hKVVXjvxwFuQadyo7yD 4TLOj3vXl0uEAqTjUFNvq6CJqeJ6MAmu8ZJUaljH/A/pPWft/OTGmJQrMDF4VFm6mZCg 1VHg== Received: by 10.50.159.198 with SMTP id xe6mr108455igb.74.1331837461580; Thu, 15 Mar 2012 11:51:01 -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.231.53.18 with SMTP id k18csp43904ibg; Thu, 15 Mar 2012 11:51:01 -0700 (PDT) Received: by 10.14.136.10 with SMTP id v10mr1094355eei.76.1331837460366; Thu, 15 Mar 2012 11:51:00 -0700 (PDT) Received: from eu1sys200aog119.obsmtp.com (eu1sys200aog119.obsmtp.com. [207.126.144.147]) by mx.google.com with SMTP id x42si898258een.62.2012.03.15.11.50.55 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Mar 2012 11:51:00 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.147 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.147; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.147 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-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob119.postini.com ([207.126.147.11]) with SMTP ID DSNKT2I6Dyl25lUHzIDobKFNiVHsNonJVmdi@postini.com; Thu, 15 Mar 2012 18:51:00 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.16.71]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id 654E249; Thu, 15 Mar 2012 18:50:42 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id 7BB3F45; Thu, 15 Mar 2012 17:11:28 +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 BB07F24C075; Thu, 15 Mar 2012 19:50:44 +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; Thu, 15 Mar 2012 19:50:53 +0100 From: Linus Walleij To: Samuel Ortiz , Cc: Bengt Jonsson , Linus Walleij Subject: [PATCH 3/3] mfd: db8500-prcmu: Add 8420 variant Date: Thu, 15 Mar 2012 19:50:51 +0100 Message-ID: <1331837451-17834-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.9.2 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlyPeEhh+Cj7dpaoRbTCiLgghU2N6eApIyybLYP8AXOF64H3/nR0iwE1onoUjB0oDD/PeJD From: Bengt Jonsson Signed-off-by: Bengt Jonsson Signed-off-by: Linus Walleij --- drivers/mfd/db8500-prcmu.c | 2 ++ include/linux/mfd/db8500-prcmu.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index b088156..eec8f91 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -2500,6 +2500,8 @@ static char *fw_project_name(u8 project) return "U9500 C2"; case PRCMU_FW_PROJECT_U8520: return "U8520"; + case PRCMU_FW_PROJECT_U8420: + return "U8420"; default: return "Unknown"; } diff --git a/include/linux/mfd/db8500-prcmu.h b/include/linux/mfd/db8500-prcmu.h index aed4e5e..dc4bf4c 100644 --- a/include/linux/mfd/db8500-prcmu.h +++ b/include/linux/mfd/db8500-prcmu.h @@ -498,6 +498,7 @@ struct prcmu_auto_pm_config { #define PRCMU_FW_PROJECT_U8500_C2 7 #define PRCMU_FW_PROJECT_U9500_C2 11 #define PRCMU_FW_PROJECT_U8520 13 +#define PRCMU_FW_PROJECT_U8420 14 struct prcmu_fw_version { u8 project;