Received: by 10.192.165.156 with SMTP id m28csp901882imm; Thu, 19 Apr 2018 09:22:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx495at3LSg5562/OPCsSAHYLrpfvxKhsWezkZT239ysCMVSi6vR0VORxOUno4VWcDXkR/umg X-Received: by 2002:a17:902:407:: with SMTP id 7-v6mr6732151ple.47.1524154924042; Thu, 19 Apr 2018 09:22:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524154923; cv=none; d=google.com; s=arc-20160816; b=DOx0JccKyzNVun2qTCw/gj2Cis0dj30qVwVFu7OenDoobBB+Uw/yY6P9QYD6RUdjri a1w+t0McqHI98TZDQM2WppmN12xvm+DUleKgeTNNiLmZrs9GmIwveOM4tqm6oE3rHqZf Qe2A4dR1BviDYbRHx0i9M5xOOIi6bhnDuEBvahVWzNR1qhY7rMJQQ7CvxnhVIVUsVlUq AK9wIBRrEn6JpUfyNxnZin+hFTPAmA9fv5cz5csAoywSbtfu6T9SuAMf+8HxfCg+MaMF w2pHzOlp8jfHrs44gusr0W+TtRZZfe+MEk5Ty57RmNc7Kh2qWtgNy2C9zI4SitCeA7QI GQzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=8GT9JsN2CjmuZnH6ZCLptP3ReElCTdMqzGOpE8KX6No=; b=ekzMRnK/ECBWOUIRj3Us4/bYeuQk4PJRX7XUSGbsFSiJvnRz1ClvydLL99qacJ6wm5 lmOAiW5ePbjBcrZFkHakLxfAhwB+AonA+2rfoephbNeX4FlH+l2y6S8mj3ouMVbUuCZb 8kppEK1x4DO61/DjIf5YTEK0+498n/M2Mr/3L4LAm3i16dYOLDU5mm8D56G16pi17l0I GzSFDEsRHuHHYb30AjlrRasK1hSwiitEliThNkwEcZHuX22bVdTwty7HPJOMOfpDLuFg xFggMRkVATSsZm9LifD5ey3nvV8ox6vbjycZvdgsTfyAM4tK081OhUUuDt70tHX3aqle RLTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=L4UCGk5s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r4si158613pgp.264.2018.04.19.09.21.48; Thu, 19 Apr 2018 09:22:03 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=L4UCGk5s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753868AbeDSQSy (ORCPT + 99 others); Thu, 19 Apr 2018 12:18:54 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:34275 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753855AbeDSQSx (ORCPT ); Thu, 19 Apr 2018 12:18:53 -0400 Received: by mail-io0-f194.google.com with SMTP id d6-v6so7271614iog.1 for ; Thu, 19 Apr 2018 09:18:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=8GT9JsN2CjmuZnH6ZCLptP3ReElCTdMqzGOpE8KX6No=; b=L4UCGk5sQmmzaE6LPmbWzDr/DCiYz+0wqI3KptT7TWi6qqU1SAwk7mUUjbHwSiYxyE ZGJcXsPJQ0+GAI+wN8uGHNgepHMn/uwh6SH82sTsWfJyHEuttoc4jNEo1/xTCYCEqXjc 8Sy7+z45PFYLqQ6Aa4q7k00YL4rSbq3FY/2zXh5Qfcp0D1SPRIO6UPXYnbYseh5wENR6 yEvvIE92ZNOygkX9uPWQhZV+vAmnh5yyvBQ8CbD3wh5+0DRkYOJhlSk6dkb4WcJF2f49 ILrWTwRPQ2s5PgwJX5IraX63zI/hTLXDwUNCU4kWUH9uSZHvPI2SJQJlx4SYKg4LZLPA eLPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=8GT9JsN2CjmuZnH6ZCLptP3ReElCTdMqzGOpE8KX6No=; b=aoDRqFBzDLuUMf2NNbJEyOrhqnHK9b4o9uCXPDSAZoTCicEPc46wlaCwxEX4j+JXRV xyYaye3DGaj1H3uSufuciEhr1BYQT62A/7jJ3rJ00wusgsS6MtLPH6gdCpryP1N+64HO QW52J5tPyhqvWROawS4b5B2Xe6QOCdaTXW3cQrgowulcVdEKCu8BQPgwPG/k/iTq8UFf 6gCGkF5O8Aq+hMCJKlcBrsOQpIkmrmY7ah0iseUfg165hQTi9AvdLncbVviaDnwY5tBk 3ein7KGcniHzNX76wpb0vaMDywePJLnzwXrNnjPw0Ek28nYBTrKVDBokrELbvotvyfsE ZnZA== X-Gm-Message-State: ALQs6tCsTCr9ErH3hz8NB240+U5uKWoD9finLTFEFVmKGt/RIpok4eO9 St4Px7wLURpSd5obOYkrFA== X-Received: by 2002:a6b:a292:: with SMTP id l140-v6mr6839164ioe.39.1524154732878; Thu, 19 Apr 2018 09:18:52 -0700 (PDT) Received: from computer (CPE1cabc0918a93-CM1cabc0918a90.cpe.net.cable.rogers.com. [99.228.86.148]) by smtp.gmail.com with ESMTPSA id s2-v6sm1950639iod.56.2018.04.19.09.18.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 09:18:52 -0700 (PDT) Date: Thu, 19 Apr 2018 12:18:50 -0400 From: ryang To: Liam Girdwood , Mark Brown Cc: linux-kernel@vger.kernel.org Subject: [PATCH] regulator: tps6586x: Add support for TPS658624 Message-ID: <20180419161850.GA9144@computer> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This version is exists in the Samsung Galaxy Tab 10.1 which is based on the Nvidia Tegra 2 board. The TPS658624 has the same SM2 voltage table as TPS658623. Signed-off-by: ryang --- drivers/regulator/tps6586x-regulator.c | 1 + include/linux/mfd/tps6586x.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c index 9e9d220..ba3dae7 100644 --- a/drivers/regulator/tps6586x-regulator.c +++ b/drivers/regulator/tps6586x-regulator.c @@ -342,6 +342,7 @@ static struct tps6586x_regulator *find_regulator_info(int id, int version) switch (version) { case TPS658623: + case TPS658624: table = tps658623_regulator; num = ARRAY_SIZE(tps658623_regulator); break; diff --git a/include/linux/mfd/tps6586x.h b/include/linux/mfd/tps6586x.h index 2fe68e4..b19c280 100644 --- a/include/linux/mfd/tps6586x.h +++ b/include/linux/mfd/tps6586x.h @@ -18,6 +18,7 @@ #define TPS658621A 0x15 #define TPS658621CD 0x2c #define TPS658623 0x1b +#define TPS658624 0x0a #define TPS658640 0x01 #define TPS658640v2 0x02 #define TPS658643 0x03 -- 2.7.4