From patchwork Tue Aug 25 09:04:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 7069731 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D2E789F305 for ; Tue, 25 Aug 2015 09:09:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DCAC5208B7 for ; Tue, 25 Aug 2015 09:09:02 +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 F23FE20890 for ; Tue, 25 Aug 2015 09:09:01 +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 1ZUACA-0001Ys-Hn; Tue, 25 Aug 2015 09:07:06 +0000 Received: from mail-pa0-f52.google.com ([209.85.220.52]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZUAC8-0001U1-HK for linux-arm-kernel@lists.infradead.org; Tue, 25 Aug 2015 09:07:05 +0000 Received: by pacdd16 with SMTP id dd16so118830992pac.2 for ; Tue, 25 Aug 2015 02:06:43 -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=s74C3Wz2JppZs3FITrjIoGNtiLq/31PRGn9y8QUe518=; b=fR/pIARV4r11QhnB5EsHvL1CrXmgPBkUbEF84P42w6f6zqeq1gVXpHzg3g+7Ww/m9k WmvXYrfF41AkXKJUIYrJQdGS1U23TK0RYg75p6k+npHsWUoUaDRbwmxNyKK75dpsUswe Do4Cwm24VDy6a+mkyIGxJCTgfBQP3iZFAq6oFXKKTQ1QlfK1U3TixFnvqOBYw/qhJ4w4 D/dI8+26l6XBS0cO8+4T4gnFK/4CI3VRL2q99hZl+LUbVuiu6tmX+2snQTnChp3QYqm7 IMICqK6trFwujRPg1/SkQnPsyPfBTmatwTPHSWMusnYvBiBejp7HgamSkpWzP/DzxNrN O4YA== X-Gm-Message-State: ALoCoQk+NQocxHoqFkMyvcX/0ZxQdMipsHmllscgcovfJ5pIWPj6NfjtKqJhjJ91xYv8ym5BsYO0 X-Received: by 10.66.241.130 with SMTP id wi2mr54452314pac.130.1440493603596; Tue, 25 Aug 2015 02:06:43 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by smtp.gmail.com with ESMTPSA id bz4sm20197213pbd.6.2015.08.25.02.06.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Aug 2015 02:06:42 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Subject: [PATCH-v3 RESEND] mfd: 88pm80x: Add 88pm860 chip type support Date: Tue, 25 Aug 2015 14:34:28 +0530 Message-Id: <1440493468-5471-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-20150825_020704_612334_8D9DA7A2 X-CRM114-Status: GOOD ( 12.45 ) 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 , broonie@kernel.org, lee.jones@linaro.org, lgirdwood@gmail.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.5 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 8fcad63..d409ceb 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, };