From patchwork Tue Jul 14 09:55:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 6786141 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F17C3C05AC for ; Tue, 14 Jul 2015 10:01:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 32B03205B3 for ; Tue, 14 Jul 2015 10:01:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 589DE20588 for ; Tue, 14 Jul 2015 10:01:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZEx04-0001sv-KI; Tue, 14 Jul 2015 09:59:44 +0000 Received: from mail-pd0-f176.google.com ([209.85.192.176]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZEwzs-0001B4-1C for linux-arm-kernel@lists.infradead.org; Tue, 14 Jul 2015 09:59:33 +0000 Received: by pdjr16 with SMTP id r16so3401840pdj.3 for ; Tue, 14 Jul 2015 02:59:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PrMHRAw4odWWDxATUT9K+xf5cucpZygVX+IH+dP/w2I=; b=jRV8ZVKxmNkq036tZ3+a2Y0BYXJZ7b3ZfYKe/5oMqdzjkXv2arGiXsgS6jtgaVqtEM b0m5/iP7kP5bPqWxUZr91Fq8R7EP8GWaj8Sirmpw31IduA5hnLGKEVHVNDEEZMWocHFp 5nDvI/KSuyI3JS9298mQ/cGAbLLIg1vf5u5XJtvjuf8ylBzyZs8b0JxrBiaH7VJva7BB FQggLEtfJmmOGOMyGUtC0Hg3sVYBIDkG3TFU9j5jZ+Rrf3FG3T+rW+//a11YNH7YF2hm aJk8euwaYb2PwlfomdcBoaHubkAz3QomDg8zKPmn1OcQfO1tM0PHlKsITMRPl0ERdG6d rYow== X-Gm-Message-State: ALoCoQnCH7kUG7ZmSHeFZsucZ6fqJCG7lo4OEuC86LuT1c+W3wV/o+Q5qOjMuRssal+c0xfIXDR0 X-Received: by 10.68.194.137 with SMTP id hw9mr78635566pbc.139.1436867951198; Tue, 14 Jul 2015 02:59:11 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by smtp.gmail.com with ESMTPSA id yr9sm761651pab.26.2015.07.14.02.59.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Jul 2015 02:59:09 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Subject: [PATCH-v2 1/2] mfd: 88pm80x: Add 88pm860 chip type support Date: Tue, 14 Jul 2015 15:25:27 +0530 Message-Id: <1436867728-30370-2-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436867728-30370-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1436867728-30370-1-git-send-email-vaibhav.hiremath@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150714_025932_114150_FC5790AA X-CRM114-Status: GOOD ( 12.77 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vaibhav Hiremath , lee.jones@linaro.org, sameo@linux.intel.com, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add chip identification support for 88PM860 device to the pm80x_chip_mapping table. Signed-off-by: Vaibhav Hiremath Reviewed-by: Krzysztof Kozlowski --- drivers/mfd/88pm80x.c | 2 ++ include/linux/mfd/88pm80x.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/mfd/88pm80x.c b/drivers/mfd/88pm80x.c index 5e72f65..63445ea 100644 --- a/drivers/mfd/88pm80x.c +++ b/drivers/mfd/88pm80x.c @@ -33,6 +33,8 @@ static struct pm80x_chip_mapping chip_mapping[] = { {0x3, CHIP_PM800}, /* 88PM805 chip id number */ {0x0, CHIP_PM805}, + /* 88PM860 chip id number */ + {0x4, CHIP_PM860}, }; /* diff --git a/include/linux/mfd/88pm80x.h b/include/linux/mfd/88pm80x.h index 9c5773b..2e25fb1 100644 --- a/include/linux/mfd/88pm80x.h +++ b/include/linux/mfd/88pm80x.h @@ -21,6 +21,7 @@ enum { CHIP_INVALID = 0, CHIP_PM800, CHIP_PM805, + CHIP_PM860, CHIP_MAX, };