From patchwork Mon Jul 20 11:52:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 6826531 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 0CE75C05AC for ; Mon, 20 Jul 2015 11:57:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 459F820601 for ; Mon, 20 Jul 2015 11:57:27 +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 62819205F7 for ; Mon, 20 Jul 2015 11:57:26 +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 1ZH9f8-0002BX-2u; Mon, 20 Jul 2015 11:55:14 +0000 Received: from mail-pa0-f45.google.com ([209.85.220.45]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZH9f5-0000z4-Ah for linux-arm-kernel@lists.infradead.org; Mon, 20 Jul 2015 11:55:11 +0000 Received: by pabkd10 with SMTP id kd10so28451161pab.2 for ; Mon, 20 Jul 2015 04:54:49 -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; bh=PrMHRAw4odWWDxATUT9K+xf5cucpZygVX+IH+dP/w2I=; b=gq/UodTjeuQrLWVsLNUfZ81fuuy2aBvbhZkGbj6DGSe8Or36Mfai0qpzoCgbD565UN /oYXh74PF8dY2waf7TQ9HPn7r2mOXQHQdTdQpwPhEtuye08XmUgUKbmtnAO63J5qtmPh otN4hwHVV8kKoDJ8hXHuhpCchjVf0+LF5f/SOaCDDaJf7fA6409kvAd7T5hL3QScMBiC +87HG3yLjiV/ne/8nSJdsAZ3wEkcYD0iigyrCZeorOlwWk+ryrebn1JgZcyYiYLXgfVk ASU0ufC680RIx6O4FkVkXnPH9cIpm+5frWXm7tdBV4H+rmD9/Q9nR3sn/NJ5+Br0KHId ROSA== X-Gm-Message-State: ALoCoQnFdwgb434vGXzh6JWkoKnWmX76ai6RQypti6aWYLqXOF+Ct+jX2+Y7nF+oN7wftYFzdWOK X-Received: by 10.70.96.226 with SMTP id dv2mr59704172pdb.36.1437393289503; Mon, 20 Jul 2015 04:54:49 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by smtp.gmail.com with ESMTPSA id dc8sm21455952pdb.23.2015.07.20.04.54.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Jul 2015 04:54:48 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Subject: [PATCH-v3] mfd: 88pm80x: Add 88pm860 chip type support Date: Mon, 20 Jul 2015 17:22:31 +0530 Message-Id: <1437393151-5362-1-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150720_045511_407429_EC0EEE40 X-CRM114-Status: GOOD ( 12.13 ) 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: sameo@linux.intel.com, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, Vaibhav Hiremath , broonie@kernel.org, lee.jones@linaro.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.4 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 Acked-by: Lee Jones --- 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, };