From patchwork Thu Jun 8 22:08:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 103424 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2649534qgd; Thu, 8 Jun 2017 15:09:38 -0700 (PDT) X-Received: by 10.84.143.68 with SMTP id 62mr37513399ply.123.1496959778696; Thu, 08 Jun 2017 15:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496959778; cv=none; d=google.com; s=arc-20160816; b=jr+FnQnWN+VQvFOFffW1CiGSHbeqwetHuKyaNo3j9saHhdHGWPNSJGxEmAbj9fgYVC tK90FJMPGvf/DzwE5tpaEURc09kHKbikCyhFHFTJeJMyMpVAiOIvzNWf4yMnJvgQRbnI MM2AtrbeiEaX9QP8rcfXqhwoyU0EouDfZt5kbDvy4tdm1pAFog2qV57Dbz3vxMN/oNFV TJhiV7Lmwn74sqZr7+DwSpkHXR6XmMR11krzc5A6z3r3yTKT0cvM5UieUuTIv0S6MxRV D7NFFOMKK57AmRrHrJM38a3q0It9bdFBab0CNn5Uc9oGch68Eet6Ia7VwEwPS7dZ6NQB PZUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=FihEXuJZl4A+iLsx7Eyl8+msKkB2Wq3WUDy0xlmve3c=; b=F/K8qkqxKx68eQuRe/peq6mBll5UncVCNRdAarmk2Oht42dTpO5+eqVV6yGakODtdA NGpJoVmHd2A/CzzeKOcIi9FW9nfAKc5xGJSYj4alq3v/HjhBILKjjD3w106N9ofmzMBo 54ePRxVLVlqwwAUW9FvBu6suw+T9qP5/T5e8XFAmjqTFhTPo+S9MPdYO+SCfB5ybkoJG r7nR32D9fGsRoT1jj9wIufAo2I/nHZIvxGmVxWnbIiEVB+8ZgyiTmz5Ek36c2cxpuM0X q7fG19rM7bOO6YA0W02l7CQedyfYMZwwiKN8j1+MwfQTYs0uKhaG67ZRvbkxomsfuiNc mE2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d83si5411721pfm.211.2017.06.08.15.09.38; Thu, 08 Jun 2017 15:09:38 -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; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751835AbdFHWJh (ORCPT + 7 others); Thu, 8 Jun 2017 18:09:37 -0400 Received: from mail-pg0-f49.google.com ([74.125.83.49]:35690 "EHLO mail-pg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751757AbdFHWJg (ORCPT ); Thu, 8 Jun 2017 18:09:36 -0400 Received: by mail-pg0-f49.google.com with SMTP id k71so20155729pgd.2 for ; Thu, 08 Jun 2017 15:09:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=udzzKflFq14vHG9EY3TwfCx9TpsQQUo0b2UxmlTGAjc=; b=Tubk5apUx0XAr2x6gc0csIbR3kyXRNWDBEBnd7YSYvQMMy3YV9Us3LkzJ2QqLmmgkT K+3JFqvs4nrUCk30H6uOxAhv1rKkXX9y1/DxPgPck5XpdQqLIZeBCFjjEmNK4q2LjlHv Q5z3y+sMxAsl853pZo6WUDdMEcU/imvhNss+8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=udzzKflFq14vHG9EY3TwfCx9TpsQQUo0b2UxmlTGAjc=; b=uO5uOyPY1YukFR6wMPBxbtqqjTVHIdBXGsLSKERdjh9EdN1dLWg6R7DrhAxMAhX2p3 dkkwK/iMn3LemCILMe/pp/NJG8WuRWDYJ3nndQENrjnYNl+JoQm6ctChH9tVsQpr7Zv5 cVHOMw652Bmyji85p8ZaMkOckaDlBupBz/IRScEVmpmDPB5ZmyVH9Ydp6tthBnlowmKj jNxFkNQZkvHT/C6p46GnY63t199tpI0PCgb1Yl+QZbCYzOT4B6OveM5wNXQ9lWxFBELZ 662+4dTnKY4P3LRpiDmcIWYlVNuP2olBqjTFBSeFR5Dk0DJJx/kp8uleEgyvZ7BUg1Xo A46A== X-Gm-Message-State: AODbwcBXEmytCdwzyC4IiSoloPw4Y/hbiiJUf0qFxGEXLxb9XwNN+71r uSglykamhTS1kcz7 X-Received: by 10.99.24.66 with SMTP id 2mr39063693pgy.105.1496959775979; Thu, 08 Jun 2017 15:09:35 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.87]) by smtp.gmail.com with ESMTPSA id r85sm11963639pfb.61.2017.06.08.15.09.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 15:09:35 -0700 (PDT) From: Guodong Xu To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com, lgirdwood@gmail.com, broonie@kernel.org, khilman@baylibre.com, arnd@arndb.de, gregory.clement@free-electrons.com, horms+renesas@verge.net.au, olof@lixom.net, thomas.petazzoni@free-electrons.com, yamada.masahiro@socionext.com, riku.voipio@linaro.org, treding@nvidia.com, krzk@kernel.org, eric@anholt.net, damm+renesas@opensource.se, ard.biesheuvel@linaro.org, linus.walleij@linaro.org, geert+renesas@glider.be Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, hw.wangxiaoyin@hisilicon.com, Guodong Xu Subject: [PATCH v6 1/8] mfd: hi6421-pmic: cleanup: change license text to shorter form Date: Fri, 9 Jun 2017 06:08:34 +0800 Message-Id: <20170608220841.26531-2-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170608220841.26531-1-guodong.xu@linaro.org> References: <20170608220841.26531-1-guodong.xu@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Change license text to a shorter form of GPLv2. Signed-off-by: Guodong Xu Acked-by: Arnd Bergmann --- drivers/mfd/hi6421-pmic-core.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/mfd/hi6421-pmic-core.c b/drivers/mfd/hi6421-pmic-core.c index 3fd703f..ad9e3d8 100644 --- a/drivers/mfd/hi6421-pmic-core.c +++ b/drivers/mfd/hi6421-pmic-core.c @@ -9,17 +9,8 @@ * Author: Guodong Xu * * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. */ #include From patchwork Thu Jun 8 22:08:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 103427 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2649785qgd; Thu, 8 Jun 2017 15:10:29 -0700 (PDT) X-Received: by 10.98.80.140 with SMTP id g12mr7981846pfj.146.1496959829554; Thu, 08 Jun 2017 15:10:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496959829; cv=none; d=google.com; s=arc-20160816; b=ucYUCeNLVtn+N48rRCXdQXMpid3LYP4aNr74RYR4eCsa06h+Eg2pIIXfj75qNf+W2B VMPZAFbdBLSetcv8kj7z9UfIDO+SR802OJnTqQ2gIlXYmqrahJ65T0Xqh9M6iiZ1KyT6 ZISejldZZjtTj46kmNXjJSZYkA38LwX6Yq2syrqvzjcRNwuM+893rc8JF6ZrOuYm1vX7 TG7+sfX/MTD1nSgHwQdQwZZ6DuNY6QXA3sPr+Svboqc3V5lOwBhx1EMSLfsGyGPVFznE 1mGn7LdHQHkM9XMiw19QUZyQbjO8cGtEsOj1x+RDaYHeYhmFZynDgQBOwsF7VV+y9BMb H5Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=NQ1lXMLCd0ruANEKcoKF7NDFWL9/V5+dKkKVWHy85q0=; b=fLorKR/aoz+2VbfQvDQ5bt/vETkfdlA5GmVviAzFV/z1qjrEucipIauR6AGtD9y+dS UssuWk6Qav2fdUJZNZZgV0L2n/kL6zqU61HMmJpLqbQOfmTj42cvQWT+Nrz9xaXKrWUO 6LW053TP3LUZttw9GCqwX181yx3/yRFdn3wSlFpYhlX7FWWXII+t9rxUbryAxChzxPyw 4nng/RG++CPzzH1OhSBGKQDowVbmu/4TZWbquC/In7Kl8azmiV6eLCihhXkw8mMY+HwC Pz4l8LZsi9A4OfhbrJ2ll6By6LJBByGym1kgOzlCKAXk60DB8tuph8+T3YGj4Pnls6rA SsaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f84si5251825pfk.318.2017.06.08.15.10.29; Thu, 08 Jun 2017 15:10:29 -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; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751835AbdFHWKO (ORCPT + 7 others); Thu, 8 Jun 2017 18:10:14 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:33707 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751578AbdFHWKM (ORCPT ); Thu, 8 Jun 2017 18:10:12 -0400 Received: by mail-pf0-f171.google.com with SMTP id 83so21572663pfr.0 for ; Thu, 08 Jun 2017 15:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JAUJSqFgMuH4Te8WDWqpSI0I/XMKqIIz3WeHBUZ7x/E=; b=V8EPpeTUwvqSc/wzZuVZ+XFfhxnLOII9HYvFctjtzHIneCNu8oz70fRJ3wtqBn7VQJ mXakCQbZI4zF//NKRY4H2L5k/SrESPg2Z087A3ACHdlU3qUmRb0eeJsgPwBSCowgnLMz D75Dxo6RXc0dqV+/TPcKcpYbkrs8dOdEuO8QQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JAUJSqFgMuH4Te8WDWqpSI0I/XMKqIIz3WeHBUZ7x/E=; b=ANMHfdGe66g0rN8p9ppvHl4dkYr4EX0Oe3tBZlQ1Bz7rBTIlhd/Csa8IEuvgCzFYJE saeMFUPJ8jgs0RuYj2bCVSYxIw8xtorLsa8cW2msAVo/7GY/qS9N4MrXMYP6imdEve0K 5WWfD6fKValPpeB5SJS/4fQxjnTIzzAq1EhDhyiGImowxk9z3u861tVBobdmmyQxJDcx 1Xl1ZrW5ijm5xCNWTpVaPXDwRwWiJbJM1CwM1eO3Y01mR0L/vZVyC70CLZWDUyQZTN3l toQKKjwgfuJxlY/m8bzD6H+ku7c+LPEpg/ItppleWlSnu8mptKfBvd0qR1F4ayJQDsaV dZgg== X-Gm-Message-State: AODbwcBLZTat5YMerToa99N0mfEI09U0MEuPWC9VevO5olTwpJIXS94N puvN6eGB1V+xs4ZB X-Received: by 10.98.217.27 with SMTP id s27mr22635725pfg.228.1496959792177; Thu, 08 Jun 2017 15:09:52 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.87]) by smtp.gmail.com with ESMTPSA id r85sm11963639pfb.61.2017.06.08.15.09.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 15:09:51 -0700 (PDT) From: Guodong Xu To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com, lgirdwood@gmail.com, broonie@kernel.org, khilman@baylibre.com, arnd@arndb.de, gregory.clement@free-electrons.com, horms+renesas@verge.net.au, olof@lixom.net, thomas.petazzoni@free-electrons.com, yamada.masahiro@socionext.com, riku.voipio@linaro.org, treding@nvidia.com, krzk@kernel.org, eric@anholt.net, damm+renesas@opensource.se, ard.biesheuvel@linaro.org, linus.walleij@linaro.org, geert+renesas@glider.be Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, hw.wangxiaoyin@hisilicon.com, Guodong Xu Subject: [PATCH v6 3/8] dt-bindings: mfd: hi6421: Add hi6421v530 compatible string Date: Fri, 9 Jun 2017 06:08:36 +0800 Message-Id: <20170608220841.26531-4-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170608220841.26531-1-guodong.xu@linaro.org> References: <20170608220841.26531-1-guodong.xu@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add compatible string for HiSilicon Hi6421v530 PMIC. Signed-off-by: Guodong Xu Acked-for-mfd-by: Lee Jones Acked-by: Arnd Bergmann --- Documentation/devicetree/bindings/mfd/hi6421.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/mfd/hi6421.txt b/Documentation/devicetree/bindings/mfd/hi6421.txt index 0d5a446..22da96d 100644 --- a/Documentation/devicetree/bindings/mfd/hi6421.txt +++ b/Documentation/devicetree/bindings/mfd/hi6421.txt @@ -1,7 +1,9 @@ * HI6421 Multi-Functional Device (MFD), by HiSilicon Ltd. Required parent device properties: -- compatible : contains "hisilicon,hi6421-pmic"; +- compatible : One of the following chip-specific strings: + "hisilicon,hi6421-pmic"; + "hisilicon,hi6421v530-pmic"; - reg : register range space of hi6421; Supported Hi6421 sub-devices include: From patchwork Thu Jun 8 22:08:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 103426 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2649670qgd; Thu, 8 Jun 2017 15:10:07 -0700 (PDT) X-Received: by 10.84.247.2 with SMTP id n2mr35933174pll.74.1496959807524; Thu, 08 Jun 2017 15:10:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496959807; cv=none; d=google.com; s=arc-20160816; b=IaqBCTBvn4Z8CopqOnR8G9wq7cEo4uQsaIO25+QBcoQgvY/YSp895HTrJMZ9JNHugX pzmIwrgua0AFGD46Seg+eCkkOrw/7zEaXQDmYbaDLcAEKcT2FoWNN2WuCVxPcxuQpX1s mGG6bMJLbh8s0FApE6773rvwQR4LZaR1u1ywiYxcya8p7k2hJWaP5qFa2GzRG1h2u1uI hqTrh2gkop6o8Rb/h1PlSYjwBYXx4nl33ksQdXAZfJiHV7PTW7OAQ9oCNSkH24MiUq9h PMZMFYSYS+GG65pom+uS90c9j3HjAy1DHeRmaK+gAFQw19j0oweZjso9mDDpL/10avho t1pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=yi+QXUO/n3Dw891XN02ALKvcuL9v2luu0S2UvhmEuw0=; b=pOUhIW0SbMVXyUjpN2jVLjVA/lo3Vu2NryAeKprKM8g3Wm4Inkg/s9Ar+qbrV8alcf 2GdByQKOu1IKjrszo/ZcifdZLfonq72e6hNMmaVB7dA8kSTr382/EtBRspYayKan7s92 VzzWoefXfvzfA8eC4DkgsK/ps5phs8jghZuPd4pNHOYPj/Y/PLc3BEiXM6IY54pEMLKB faiuBkM9DUSMjjaeb+ZfT0nKfkauCFmpbeeswjccA+JQK65GWOjgarp2ZF+1VKwYETxY LKvGRyzp4Y5LJjtNpGKdZ11TDVh/j5Ye28iUQhX+zYF65sWt2FNwQml/aGdDmXeY4Ouz kxdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10si5288833plh.401.2017.06.08.15.10.07; Thu, 08 Jun 2017 15:10:07 -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; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751935AbdFHWKC (ORCPT + 7 others); Thu, 8 Jun 2017 18:10:02 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:35260 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751547AbdFHWKB (ORCPT ); Thu, 8 Jun 2017 18:10:01 -0400 Received: by mail-pf0-f178.google.com with SMTP id l89so21574924pfi.2 for ; Thu, 08 Jun 2017 15:10:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8y6Mm56GpXJdaHP+5SlUe5BYJRH8SIF4HNwWWLbOnV4=; b=NIT10JhQ5byBNye2MSRC64QthjE3UIT0XgfHDSPWi+jni1M3EkqiMlSSlr+R1KIQ2s BH3nA0vboS4EtOxSSXYgtVScQsn0q/WZwTw9290868JrmCe03JpiKwycNbtp+oi6AIe6 iaV/vKtVrSiXGnAGSwlsPiqCZyRy9fcRjRlnc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8y6Mm56GpXJdaHP+5SlUe5BYJRH8SIF4HNwWWLbOnV4=; b=aIYCrT/4XwBxC2vGJ0TKGLQYlptCsfczgR3tECgfJAOGicTZZ5OyPIL/s8tmLmOPkB /vF4ThiuHAq2INeECahUKjbV+t54rC4OziVWhD/eIZE7hHw4QYa3vKArSAtlwBIf6tfK FA+VSLJSoPwayOvDZmZF1N7Jl930Ll4xEa/hq3Zo2J0wYprJs/Q5Ez5UJgd6subuas5e aj/finLnwiHHvo5CGyrKVx8coIX+AsS2fsmPocs/wv4DrSrsrvPbgR2sJSCH+q3Ux8EZ xgm3PbbhHE/e0Pg6VYGvcHrfKF8lD4DyTOFoGlxQ0Sb9aqDGmdw7XWTi5u0PmOTcKG7g coRg== X-Gm-Message-State: AODbwcDWQN4/onq1CpfiLWkomX2UTV3m3HGZ2u0v8/0f1y8PzuVJFZ1X 2O6/MBouTp/Xxyg4 X-Received: by 10.84.229.70 with SMTP id d6mr36653592pln.263.1496959800286; Thu, 08 Jun 2017 15:10:00 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.87]) by smtp.gmail.com with ESMTPSA id r85sm11963639pfb.61.2017.06.08.15.09.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 15:09:59 -0700 (PDT) From: Guodong Xu To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com, lgirdwood@gmail.com, broonie@kernel.org, khilman@baylibre.com, arnd@arndb.de, gregory.clement@free-electrons.com, horms+renesas@verge.net.au, olof@lixom.net, thomas.petazzoni@free-electrons.com, yamada.masahiro@socionext.com, riku.voipio@linaro.org, treding@nvidia.com, krzk@kernel.org, eric@anholt.net, damm+renesas@opensource.se, ard.biesheuvel@linaro.org, linus.walleij@linaro.org, geert+renesas@glider.be Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, hw.wangxiaoyin@hisilicon.com, Guodong Xu Subject: [PATCH v6 4/8] mfd: hi6421-pmic: add support for HiSilicon Hi6421v530 Date: Fri, 9 Jun 2017 06:08:37 +0800 Message-Id: <20170608220841.26531-5-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170608220841.26531-1-guodong.xu@linaro.org> References: <20170608220841.26531-1-guodong.xu@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add support for HiSilicon Hi6421v530 PMIC. Hi6421v530 communicates with main SoC via memory-mapped I/O. Hi6421v530 and Hi6421 are PMIC chips from the same vendor, HiSilicon, but at different revisions. They share the same memory-mapped I/O design. They differ in integrated devices, such as regulator details, LDO voltage points. Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu Acked-by: Arnd Bergmann --- drivers/mfd/hi6421-pmic-core.c | 70 ++++++++++++++++++++++++++++++----------- include/linux/mfd/hi6421-pmic.h | 5 +++ 2 files changed, 57 insertions(+), 18 deletions(-) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/mfd/hi6421-pmic-core.c b/drivers/mfd/hi6421-pmic-core.c index b1139d4..6fb7ba2 100644 --- a/drivers/mfd/hi6421-pmic-core.c +++ b/drivers/mfd/hi6421-pmic-core.c @@ -1,9 +1,9 @@ /* - * Device driver for Hi6421 IC + * Device driver for Hi6421 PMIC * * Copyright (c) <2011-2014> HiSilicon Technologies Co., Ltd. * http://www.hisilicon.com - * Copyright (c) <2013-2014> Linaro Ltd. + * Copyright (c) <2013-2017> Linaro Ltd. * http://www.linaro.org * * Author: Guodong Xu @@ -16,16 +16,20 @@ #include #include #include +#include #include -#include +#include #include #include -#include static const struct mfd_cell hi6421_devs[] = { { .name = "hi6421-regulator", }, }; +static const struct mfd_cell hi6421v530_devs[] = { + { .name = "hi6421v530-regulator", }, +}; + static const struct regmap_config hi6421_regmap_config = { .reg_bits = 32, .reg_stride = 4, @@ -33,12 +37,33 @@ static const struct regmap_config hi6421_regmap_config = { .max_register = HI6421_REG_TO_BUS_ADDR(HI6421_REG_MAX), }; +static const struct of_device_id of_hi6421_pmic_match[] = { + { + .compatible = "hisilicon,hi6421-pmic", + .data = (void *)HI6421 + }, + { + .compatible = "hisilicon,hi6421v530-pmic", + .data = (void *)HI6421_V530 + }, + { }, +}; +MODULE_DEVICE_TABLE(of, of_hi6421_pmic_match); + static int hi6421_pmic_probe(struct platform_device *pdev) { struct hi6421_pmic *pmic; struct resource *res; + const struct of_device_id *id; + const struct mfd_cell *subdevs; + enum hi6421_type type; void __iomem *base; - int ret; + int n_subdevs, ret; + + id = of_match_device(of_hi6421_pmic_match, &pdev->dev); + if (!id) + return -EINVAL; + type = (enum hi6421_type)id->data; pmic = devm_kzalloc(&pdev->dev, sizeof(*pmic), GFP_KERNEL); if (!pmic) @@ -57,18 +82,33 @@ static int hi6421_pmic_probe(struct platform_device *pdev) return PTR_ERR(pmic->regmap); } - /* set over-current protection debounce 8ms */ - regmap_update_bits(pmic->regmap, HI6421_OCP_DEB_CTRL_REG, + platform_set_drvdata(pdev, pmic); + + switch (type) { + case HI6421: + /* set over-current protection debounce 8ms */ + regmap_update_bits(pmic->regmap, HI6421_OCP_DEB_CTRL_REG, (HI6421_OCP_DEB_SEL_MASK | HI6421_OCP_EN_DEBOUNCE_MASK | HI6421_OCP_AUTO_STOP_MASK), (HI6421_OCP_DEB_SEL_8MS | HI6421_OCP_EN_DEBOUNCE_ENABLE)); - platform_set_drvdata(pdev, pmic); + subdevs = hi6421_devs; + n_subdevs = ARRAY_SIZE(hi6421_devs); + break; + case HI6421_V530: + subdevs = hi6421v530_devs; + n_subdevs = ARRAY_SIZE(hi6421v530_devs); + break; + default: + dev_err(&pdev->dev, "Unknown device type %d\n", + (unsigned int)type); + return -EINVAL; + } - ret = devm_mfd_add_devices(&pdev->dev, 0, hi6421_devs, - ARRAY_SIZE(hi6421_devs), NULL, 0, NULL); + ret = devm_mfd_add_devices(&pdev->dev, PLATFORM_DEVID_NONE, + subdevs, n_subdevs, NULL, 0, NULL); if (ret) { dev_err(&pdev->dev, "Failed to add child devices: %d\n", ret); return ret; @@ -77,16 +117,10 @@ static int hi6421_pmic_probe(struct platform_device *pdev) return 0; } -static const struct of_device_id of_hi6421_pmic_match_tbl[] = { - { .compatible = "hisilicon,hi6421-pmic", }, - { }, -}; -MODULE_DEVICE_TABLE(of, of_hi6421_pmic_match_tbl); - static struct platform_driver hi6421_pmic_driver = { .driver = { - .name = "hi6421_pmic", - .of_match_table = of_hi6421_pmic_match_tbl, + .name = "hi6421_pmic", + .of_match_table = of_hi6421_pmic_match, }, .probe = hi6421_pmic_probe, }; diff --git a/include/linux/mfd/hi6421-pmic.h b/include/linux/mfd/hi6421-pmic.h index 587273e..2580c08 100644 --- a/include/linux/mfd/hi6421-pmic.h +++ b/include/linux/mfd/hi6421-pmic.h @@ -38,4 +38,9 @@ struct hi6421_pmic { struct regmap *regmap; }; +enum hi6421_type { + HI6421 = 0, + HI6421_V530, +}; + #endif /* __HI6421_PMIC_H */ From patchwork Thu Jun 8 22:08:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 103428 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2649790qgd; Thu, 8 Jun 2017 15:10:30 -0700 (PDT) X-Received: by 10.98.106.131 with SMTP id f125mr4730389pfc.91.1496959830329; Thu, 08 Jun 2017 15:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496959830; cv=none; d=google.com; s=arc-20160816; b=wwfXCOAxv52emcuHY3Zyy3gc0FggjeTTV3gVNKpMRWLRhG/tK+m82qCZw/RrfCquKQ dNRXdrAQeIs+WhVDCPQQ8qtHSoPiZdkCK14X0TzFhrqf7TuC8CUyNeg0xEAgO4KZdx36 MsMVsqH0yBRqGUfedmh+Fe3uLenXV2ygh2B0YV+kTz8tqzFuA/BcvnPqytagiFORsF5e 7itoYAK6vpQAZqjF96//24QEJHYO6SBrgBDfgSCRM+n4RP39c8e336NwkY86m4YpRCod XaEu0qKb2mSLRuJNumAlZSTnRftuVPiyOH0W56oZAGLxO8yJEOL7QryD9IJdsf6mIpYR mbzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=kjgrmXKaLWMrpfDR0npeS2ATv9XdEFUEjlubKNlNIf8=; b=eWKnEWOaJl8BQZjJPS1qEtqxJpYD7fs8iItmhNZtfhAQA+UylsyGxEEK4xMf5h2Lr7 mFyWV/f7cIG+6Im6601gJWXFDEWILVwBq0IQig2xf6Ufsw2W/O2yZCJVJPbbx9GeZWNm sqeCef+wn3vSZKysfgN3pigxyqQay0NZEBKuXirtWq2a6huUjMkcZI58k0dH6a3cYfcD 0FJDwmmug/mEH9iSzytmByUWHJ9Qtx2ZYHH4ZdZBacRG4vCYkEg2RAW+vELDAkTdb0/0 r2lKYrs4o1Jw+uYhEpmNm4l7B5+e1eEKvSH1UUJzl8af0Gu1UeisF7xgXyqMW9Pr+EpP rhfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f84si5251825pfk.318.2017.06.08.15.10.30; Thu, 08 Jun 2017 15:10:30 -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; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751475AbdFHWKU (ORCPT + 7 others); Thu, 8 Jun 2017 18:10:20 -0400 Received: from mail-pg0-f50.google.com ([74.125.83.50]:33896 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751578AbdFHWKR (ORCPT ); Thu, 8 Jun 2017 18:10:17 -0400 Received: by mail-pg0-f50.google.com with SMTP id v18so20166963pgb.1 for ; Thu, 08 Jun 2017 15:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tLGh6gDeIY4optK5O6YmKmy5z2SNh5+vefXKpBnMZ3Q=; b=gyI1hqSN6pxDwlOb7m0fs8sub3gK6M1R6hcfsqZpHHGeRV8zRAq3wUIi9pnv6W0kVu 6IrEFT8QtcR+4xZEWLHYOSJeu/MN5kurJSkDtUvN7FDX83BS/+rGbwDXUxRxVcJ/OXpy mFX1FSqi8Vjld2Q1yQW0HmRGFjLYvZ6tDXfbA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tLGh6gDeIY4optK5O6YmKmy5z2SNh5+vefXKpBnMZ3Q=; b=cgEmY4M4D2k8JGbuTGjD+Br5S3aqxaZFkghWU4gIRragI0AnObg0T61tz7EuJs8XXn GsIU3qWBs6ngdGERRV+hl7LQteBlW86bkl9/Uc9RGQMWh5NzUf+zhln0mqLap5AEEcbg VefSIAD+I/k9TNgtdUPTHtStdYkNIfjVeDdFagB6U9k7y6QVI/zotoZqGo4fmt4gIJS5 OHSaf965YRFlak6zFCkwqo3zscziTwATXlUuzy+0cFCh8fhE9n0VOvBLra8xQ7rl7hZa xcTqPlslKL/JpzXxJvj5le+Ys89G8jMlwOeKNRJ+jjj+yo0z6QR+K5qkUn9q4lHbRuZ1 hgWw== X-Gm-Message-State: AODbwcB5YtCTPrKHlQvqXs/M3h0bZA8kA4iaiZhOS1be3fevMb/OYS/3 r549KQd/L9uMwed9 X-Received: by 10.98.202.68 with SMTP id n65mr39647673pfg.158.1496959817044; Thu, 08 Jun 2017 15:10:17 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.87]) by smtp.gmail.com with ESMTPSA id r85sm11963639pfb.61.2017.06.08.15.10.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 15:10:16 -0700 (PDT) From: Guodong Xu To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com, lgirdwood@gmail.com, broonie@kernel.org, khilman@baylibre.com, arnd@arndb.de, gregory.clement@free-electrons.com, horms+renesas@verge.net.au, olof@lixom.net, thomas.petazzoni@free-electrons.com, yamada.masahiro@socionext.com, riku.voipio@linaro.org, treding@nvidia.com, krzk@kernel.org, eric@anholt.net, damm+renesas@opensource.se, ard.biesheuvel@linaro.org, linus.walleij@linaro.org, geert+renesas@glider.be Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, hw.wangxiaoyin@hisilicon.com, Guodong Xu , Jeremy Linton Subject: [PATCH v6 6/8] regulator: hi6421: Describe consumed platform device Date: Fri, 9 Jun 2017 06:08:39 +0800 Message-Id: <20170608220841.26531-7-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170608220841.26531-1-guodong.xu@linaro.org> References: <20170608220841.26531-1-guodong.xu@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The hi6421-regulator driver consumes a similarly named platform device. Adding that to the module device table, allows modprobe to locate this driver once the device is created. Cc: Jeremy Linton Cc: Mark Brown Signed-off-by: Guodong Xu Acked-by: Arnd Bergmann --- drivers/regulator/hi6421-regulator.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/regulator/hi6421-regulator.c b/drivers/regulator/hi6421-regulator.c index 62c5f54..259c3a8 100644 --- a/drivers/regulator/hi6421-regulator.c +++ b/drivers/regulator/hi6421-regulator.c @@ -621,7 +621,14 @@ static int hi6421_regulator_probe(struct platform_device *pdev) return 0; } +static const struct platform_device_id hi6421_regulator_table[] = { + { .name = "hi6421-regulator" }, + {}, +}; +MODULE_DEVICE_TABLE(platform, hi6421_regulator_table); + static struct platform_driver hi6421_regulator_driver = { + .id_table = hi6421_regulator_table, .driver = { .name = "hi6421-regulator", }, From patchwork Thu Jun 8 22:08:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 103431 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2649881qgd; Thu, 8 Jun 2017 15:10:48 -0700 (PDT) X-Received: by 10.84.210.105 with SMTP id z96mr35376012plh.219.1496959848779; Thu, 08 Jun 2017 15:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496959848; cv=none; d=google.com; s=arc-20160816; b=1B5n4AF/hReyLIl6L8TCQd/SGvHkZe8M8iwJpMrmri6WZTFcVk+IIN+TYAFoSu+SV3 Y15US/ytPnPJUFGLrSQ8r9CdIVjpxvXUyrDFbSVQPWQeYOqL+ubr87CnfQTgAbJ9juYl txrFwHo/3zVePB+n+x0XMK0eEt+yEiYCFzEboNoqiXtkyI1yXLmaS8qth/WdWh6GFv8A 7vaLGilccQj3QmVk3FOKcpEPClhnvyQ6sqVLsLISE5O2qZbv/57aJk4++k91MJRWIC9B AKQcVamLZ4M78wvhhTBRYDl3jZQqNSKSSw/bt7KExaVWKOStHC6FCNqjZ/7C98T7KqNj Ywaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=aNwmEDhWyTeBlQHgLJWHwGLH31mdeRVLc3OoYijfYwg=; b=lcXa880BHl42NKB/9y2+e8Q+HXYOo9kHucJHZYxPYmTmUtA9+stpViB5hJepBXBIja fobym24QSfJ8wcf+avWQxUO1XnRz+tBuNpEkDVu6XvrUuQykk5ztXIdVOAtlXmwMCEnH yFdMZOEvX3ou6VS2MCtOb1RyM/DNbXGdpp7Dau5E/U2tfkrHf5c0Y13ebzY3OsiTOcdm x8oZ2e/Ff+M4wKJq66ZBD5OTmC7dfIEezbdszfem4BW2zxaVeytr/oUoS66fDIFftknj M+tVgGq3AxI+8eQT5Rj7MZ60S67Y04IoXqXDBD2TQ3M+Qs7qMywuvWX4qP8WyoLi5jJI FM7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t28si5143145pfl.241.2017.06.08.15.10.48; Thu, 08 Jun 2017 15:10:48 -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; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751728AbdFHWKg (ORCPT + 7 others); Thu, 8 Jun 2017 18:10:36 -0400 Received: from mail-pg0-f46.google.com ([74.125.83.46]:36118 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751720AbdFHWKe (ORCPT ); Thu, 8 Jun 2017 18:10:34 -0400 Received: by mail-pg0-f46.google.com with SMTP id a70so20148935pge.3 for ; Thu, 08 Jun 2017 15:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mwC76zpVBFGlU6UoL3wH24LNIU9wc9x8yAO04gAyM20=; b=RiBG+IkiG2UKr8vK54xexgRg+5mFCSH2UM8nKYRaYhrDc6RCPNwq2K3Kmfx8FORDiO MyDVo3yE7faOWgCOC3EoJwt2iSLDETmXDgYNLgo/zpqVU0z5FX64R/vf7xIRsgKlxvBn NfzZBD5bQl9Fb3Oyxg2R3uKzAiVpuXuExVU5w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mwC76zpVBFGlU6UoL3wH24LNIU9wc9x8yAO04gAyM20=; b=MznJd+DMcJIm2MZcMzTd4E4IS7BAguKEniyKs1HkF+tPVuMmuJFoQPbIaMPFByXAEx uOLbb9S9D0RZF1DrlYhji5SV695YqHx4Gt9u35PT7geGkNqJpepknhbGG2uwIdUcph1S DGrFPwKWI+zy66zgQMkRFJb8Ym/7K73/3Gh19dUB+5U7nyo0o37OX25NjlvkO4yiafEE HEXwhm42B9YaaS92OfhXsCsYA/Zz8SRMNllNqL8E1DT8FZ//zkKBaV7EZMDzYvdT3cvC 0bOfqUVqf2P6vH5+dUu3/SC7qqdqd15gzlrEqrckThy7sH/tZAPIz7yZoROvIG077RW/ jNCA== X-Gm-Message-State: AODbwcCVYy+TypIBi6LcShXQzcy44/eQGSLNnmbr6GcGO5ONsFJ2U84G j/KTn7FAAiWKMhoW X-Received: by 10.99.104.199 with SMTP id d190mr40829831pgc.185.1496959833604; Thu, 08 Jun 2017 15:10:33 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.87]) by smtp.gmail.com with ESMTPSA id r85sm11963639pfb.61.2017.06.08.15.10.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 15:10:32 -0700 (PDT) From: Guodong Xu To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com, lgirdwood@gmail.com, broonie@kernel.org, khilman@baylibre.com, arnd@arndb.de, gregory.clement@free-electrons.com, horms+renesas@verge.net.au, olof@lixom.net, thomas.petazzoni@free-electrons.com, yamada.masahiro@socionext.com, riku.voipio@linaro.org, treding@nvidia.com, krzk@kernel.org, eric@anholt.net, damm+renesas@opensource.se, ard.biesheuvel@linaro.org, linus.walleij@linaro.org, geert+renesas@glider.be Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, hw.wangxiaoyin@hisilicon.com, Guodong Xu Subject: [PATCH v6 8/8] arm64: defconfig: enable support hi6421v530 PMIC Date: Fri, 9 Jun 2017 06:08:41 +0800 Message-Id: <20170608220841.26531-9-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170608220841.26531-1-guodong.xu@linaro.org> References: <20170608220841.26531-1-guodong.xu@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Enable configs for hi6421v530 mfd and regulator driver + CONFIG_MFD_HI6421_PMIC=y + CONFIG_REGULATOR_HI6421V530=y Signed-off-by: Guodong Xu Acked-by: Arnd Bergmann --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index ce07285..867d68c 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -305,6 +305,7 @@ CONFIG_S3C2410_WATCHDOG=y CONFIG_MESON_GXBB_WATCHDOG=m CONFIG_MESON_WATCHDOG=m CONFIG_MFD_EXYNOS_LPASS=m +CONFIG_MFD_HI6421_PMIC=y CONFIG_MFD_MAX77620=y CONFIG_MFD_RK808=y CONFIG_MFD_SPMI_PMIC=y @@ -315,6 +316,7 @@ CONFIG_MFD_CROS_EC=y CONFIG_MFD_CROS_EC_I2C=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_REGULATOR_GPIO=y +CONFIG_REGULATOR_HI6421V530=y CONFIG_REGULATOR_HI655X=y CONFIG_REGULATOR_MAX77620=y CONFIG_REGULATOR_PWM=y