From patchwork Thu Jul 16 17:55:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 6809971 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 2D905C05AC for ; Thu, 16 Jul 2015 18:00:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BFBB3205B5 for ; Thu, 16 Jul 2015 18:00:49 +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 EA13F205B4 for ; Thu, 16 Jul 2015 18:00:48 +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 1ZFnQn-000141-Vr; Thu, 16 Jul 2015 17:58:49 +0000 Received: from mail-pa0-f46.google.com ([209.85.220.46]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZFnQd-0000su-Q5 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2015 17:58:41 +0000 Received: by padck2 with SMTP id ck2so46245109pad.0 for ; Thu, 16 Jul 2015 10:58:18 -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=GEGxscAdKM6vNp6Wy1tp3oqjubW7MQzacRsQEE9Avi4ZGJ1bxu0iAJk2MKNjxqIl49 aeqW1DIh2Nc94JjhHBD0LMRu6F4KKgDAfoC6IKPBz+ESHEcS7EfS1aQDxfgSeBMVkop+ VY+7pp/19C8HCqbDGom8AdR3nphPGyDlDaYdqJ7OL3iV96j+xxRB1L8rrP7NvsqMz+6v g13LitX45r9O/CygBLffSKp5rHClvwxiNYXNYCENzu1xk+SQ6xJdV/yx3cFJSEVVb0bA D/y9pmmEoANhU5ucCsfWH3QRxs8Mt5/J6R4n/3LvRCPMFFo+KoTpt7vGSlhWKUkEyuee 5WPA== X-Gm-Message-State: ALoCoQk5pthNGtgmtMyOtwtW2cLapBmpAgNRGUHG3OyNi4fEawclhvEWoqCVq3Iz7qESnU2sxiq1 X-Received: by 10.67.5.2 with SMTP id ci2mr20709824pad.97.1437069498587; Thu, 16 Jul 2015 10:58:18 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by smtp.gmail.com with ESMTPSA id vl1sm8659239pab.21.2015.07.16.10.58.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Jul 2015 10:58:17 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Subject: [PATCH-v3 1/2] mfd: 88pm80x: Add 88pm860 chip type support Date: Thu, 16 Jul 2015 23:25:48 +0530 Message-Id: <1437069349-15015-2-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437069349-15015-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1437069349-15015-1-git-send-email-vaibhav.hiremath@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150716_105839_906076_4A1111B5 X-CRM114-Status: GOOD ( 12.00 ) 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 , k.kozlowski@samsung.com, 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.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 --- 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, };