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: 51272 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7AB61228F7 for ; Mon, 20 Jul 2015 11:54:59 +0000 (UTC) Received: by laef2 with SMTP id f2sf40180360lae.0 for ; Mon, 20 Jul 2015 04:54:58 -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:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=+QO65iGQCqR7BJu3cMOWhR8YL0dD1TA5BPW8cZFhxk0=; b=mU0hzPZKzAV3fH+489anoWUZ8q4UxzJ0jIXM5EO97hDLL0VB+6r3qZUFtBqt0aCdEn i/PRze2fvb6qzvNCktB0qYLGTxjOwHHaI7WksIpWBkWqdG1zlVuxLIB+9LkxxzbIfqL/ upsu+Ep/SyGut+Nclg7ohKIZ2pjd9Q3uKVoIl4nQwfLj7YTWO2b1YsCGl7bcp+JQwsg/ iD5ujCRbikueXU7DdsSy6L+0AAOBP8sz7ikNHLME/9nCG4wuJt6Qyr+tQWlkQOboVySj 8L/ut9M/JUp2GKvVeMcklbY4fLV90GMZYmcDczy38w9jxG8isYhoqCFOzKJoQ9L3w3T0 Ox4A== X-Gm-Message-State: ALoCoQl4gg0YoqKBgeDpLw3XN2Sez3DGrdIt1CPheyQIcrfhLX/4mGEKmb4/r9c1UXnGix8M2Ro8 X-Received: by 10.112.51.177 with SMTP id l17mr1888886lbo.1.1437393298449; Mon, 20 Jul 2015 04:54:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.199 with SMTP id m7ls754823lam.83.gmail; Mon, 20 Jul 2015 04:54:58 -0700 (PDT) X-Received: by 10.152.43.202 with SMTP id y10mr26759523lal.118.1437393298197; Mon, 20 Jul 2015 04:54:58 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id jc5si17729491lbc.127.2015.07.20.04.54.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jul 2015 04:54:58 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lblf12 with SMTP id f12so93585334lbl.2 for ; Mon, 20 Jul 2015 04:54:58 -0700 (PDT) X-Received: by 10.152.88.42 with SMTP id bd10mr23028984lab.112.1437393298107; Mon, 20 Jul 2015 04:54:58 -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.7.198 with SMTP id l6csp752807lba; Mon, 20 Jul 2015 04:54:57 -0700 (PDT) X-Received: by 10.107.136.160 with SMTP id s32mr35850341ioi.174.1437393296432; Mon, 20 Jul 2015 04:54:56 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bs1si1343913pad.232.2015.07.20.04.54.55; Mon, 20 Jul 2015 04:54:56 -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 S1754295AbbGTLyx (ORCPT + 28 others); Mon, 20 Jul 2015 07:54:53 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:36562 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752739AbbGTLyu (ORCPT ); Mon, 20 Jul 2015 07:54:50 -0400 Received: by pachj5 with SMTP id hj5so100636200pac.3 for ; Mon, 20 Jul 2015 04:54:49 -0700 (PDT) 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 Cc: broonie@kernel.org, lgirdwood@gmail.com, sameo@linux.intel.com, linux-kernel@vger.kernel.org, lee.jones@linaro.org, Vaibhav Hiremath 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 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.217.180 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 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, };