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: 51194 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7D23D22A28 for ; Thu, 16 Jul 2015 17:58:38 +0000 (UTC) Received: by wgfk9 with SMTP id k9sf20584857wgf.1 for ; Thu, 16 Jul 2015 10:58:37 -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=+QO65iGQCqR7BJu3cMOWhR8YL0dD1TA5BPW8cZFhxk0=; b=IOOj+fiujWz+XZ5e3dncDDW1TdKG2c368IjzjSc8WyvaH2jWhI73/o02VJg1B+jtwA TEKZqdENyJzxLOHnA1LhQ4UamcLPhq8aU5lK1dcZnErRGwaz7Dco2Dzs1ndIoEAozugS S8PPtQn9ZTslQQa6LnPhmc7gFNlGcUHakqRkWWRR7nG1IoeJWUbE7+pYpxSl+Ij2yyYt QvaI11Py9fsM6IsoykXiWUPBwDCQ5JQN7mEm6zn/OeNRdjaqaBEMs6Vor4n5CyjxWk6N gF/azenwH/dfbSOM4qZ9+IcB0duRpwrNZydH2PTIthFyLSk8iatzYT5m6mHdOygKONWd RVew== X-Gm-Message-State: ALoCoQlArmFDDiEXmoBR1lMqB4woSD0Pgusba07r8AixznSSB+h7RF+thmKnJv54l6v2XGL+oM16 X-Received: by 10.152.2.196 with SMTP id 4mr5410186law.10.1437069517634; Thu, 16 Jul 2015 10:58:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.30.103 with SMTP id r7ls335542lah.106.gmail; Thu, 16 Jul 2015 10:58:37 -0700 (PDT) X-Received: by 10.112.141.8 with SMTP id rk8mr10275288lbb.87.1437069517453; Thu, 16 Jul 2015 10:58:37 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id l7si7559791lae.121.2015.07.16.10.58.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jul 2015 10:58:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by lahh5 with SMTP id h5so48045402lah.2 for ; Thu, 16 Jul 2015 10:58:37 -0700 (PDT) X-Received: by 10.112.219.70 with SMTP id pm6mr10246137lbc.41.1437069517343; Thu, 16 Jul 2015 10:58:37 -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 hn6csp410333lbb; Thu, 16 Jul 2015 10:58:35 -0700 (PDT) X-Received: by 10.68.94.131 with SMTP id dc3mr21079471pbb.127.1437069515047; Thu, 16 Jul 2015 10:58:35 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nw8si14199388pbb.84.2015.07.16.10.58.34; Thu, 16 Jul 2015 10:58:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 S1756164AbbGPR6W (ORCPT + 28 others); Thu, 16 Jul 2015 13:58:22 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:36600 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755647AbbGPR6T (ORCPT ); Thu, 16 Jul 2015 13:58:19 -0400 Received: by pachj5 with SMTP id hj5so46476877pac.3 for ; Thu, 16 Jul 2015 10:58:18 -0700 (PDT) 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 Cc: sameo@linux.intel.com, lee.jones@linaro.org, linux-kernel@vger.kernel.org, k.kozlowski@samsung.com, Vaibhav Hiremath 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.215.54 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 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, };