From patchwork Thu Jul 9 11:47:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 50942 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 32104213FD for ; Thu, 9 Jul 2015 11:49:56 +0000 (UTC) Received: by lbbei7 with SMTP id ei7sf1906614lbb.3 for ; Thu, 09 Jul 2015 04:49:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=zqN6d9AsivLmiea6aGBPadDwN+D24X3yYmNEAMtwjao=; b=cXT1o3zB+rZsReC8zExd6Dali806XbZ8enM+35OPk2YfiexxPthNR0Yj7ZR88hgaRY /Gc4yIYUlnOvKWHA2RKEfwsHxbrc2oVEB4JMcggM/PFcT7zQVwK5KuS3w8sKRUJunmVu PGIINGbsLty69oDs+H17bXvVpTWaIBn2PrAdNPMUx3iIpllZkggQ4A9tRCBinsM27LuU qzkL7suV7OKdYF18UhtJIZdVpjnXr7jx9T8T5qjR/2kXXt0KtAVqX3hMIAciz3SXQQdN 4pJojZ2D99Eh2ks2Xn+plkQGX/FH2WvJsfPQBJH8/BuMaeGZ83X58wFsmgxx24oYmXZQ znmA== X-Gm-Message-State: ALoCoQkXRRpikwwwO4+CdWCCJXvSwXodUgXfMURC1Wgiyv8bFnIjdsFpKqH94eSId1S204gHTUJV X-Received: by 10.112.99.37 with SMTP id en5mr7783692lbb.7.1436442594777; Thu, 09 Jul 2015 04:49:54 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.200 with SMTP id u8ls10855lau.55.gmail; Thu, 09 Jul 2015 04:49:54 -0700 (PDT) X-Received: by 10.112.134.167 with SMTP id pl7mr14352980lbb.50.1436442594624; Thu, 09 Jul 2015 04:49:54 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id dn11si4261518lac.122.2015.07.09.04.49.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 04:49:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lblf12 with SMTP id f12so3999598lbl.2 for ; Thu, 09 Jul 2015 04:49:54 -0700 (PDT) X-Received: by 10.152.4.163 with SMTP id l3mr14574374lal.35.1436442594193; Thu, 09 Jul 2015 04:49:54 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp611489lbb; Thu, 9 Jul 2015 04:49:53 -0700 (PDT) X-Received: by 10.68.239.70 with SMTP id vq6mr30603203pbc.157.1436442592425; Thu, 09 Jul 2015 04:49:52 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hg5si8927778pac.34.2015.07.09.04.49.51; Thu, 09 Jul 2015 04:49:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753121AbbGILtp (ORCPT + 8 others); Thu, 9 Jul 2015 07:49:45 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:36110 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752973AbbGILtg (ORCPT ); Thu, 9 Jul 2015 07:49:36 -0400 Received: by pacgz10 with SMTP id gz10so76137321pac.3 for ; Thu, 09 Jul 2015 04:49:36 -0700 (PDT) X-Received: by 10.68.205.100 with SMTP id lf4mr30167222pbc.87.1436442576065; Thu, 09 Jul 2015 04:49:36 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by smtp.gmail.com with ESMTPSA id qo1sm5709802pbc.89.2015.07.09.04.49.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jul 2015 04:49:35 -0700 (PDT) From: Vaibhav Hiremath To: linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, sameo@linux.intel.com, lee.jones@linaro.org, k.kozlowski@samsung.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vaibhav Hiremath Subject: [PATCH 1/6] mfd: 88pm80x: Add 88pm860 chip type support Date: Thu, 9 Jul 2015 17:17:06 +0530 Message-Id: <1436442431-3471-2-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1436442431-3471-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1436442431-3471-1-git-send-email-vaibhav.hiremath@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: vaibhav.hiremath@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add chip identification support for 88PM860 device to the pm80x_chip_mapping table. Signed-off-by: Vaibhav Hiremath --- 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, };