From patchwork Fri Jun 2 10:51:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9762227 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4CB4760365 for ; Fri, 2 Jun 2017 10:53:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 364702832D for ; Fri, 2 Jun 2017 10:53:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 29A4A28517; Fri, 2 Jun 2017 10:53:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C47DA2832D for ; Fri, 2 Jun 2017 10:53:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=2rYkkB2h3Xn019pNJ9U21+qaIiRlEpbm4sGrXbIOx2Y=; b=WmgVz7UFXEreTJmzeFc29T1GbM kWjHnRzQqoYyi6Qg56D5VL+Q79z1YRlhQyVe79MIhPXD6wUopvPAJZpe9OMW1H3JtjTtulqeYCnrF 0K6s9MNk4f3kf4LXZ9DiSX6WSNquujg+efOzfeVmpiADy2mYzPv/FLNl497SWp4VbaLlaM6rXHogU 19ec3RoLMrqoe8zdqUXiC2rhjZaHg9a/Rzxsvaxlq5R0XO3emFWy8PDkDR1IWBVjnh1bFbJB75MAx k46pm43J1AmwuqZD5Rro54FxpLfVb8Gb5WzMbv8O5v3pooIdOtNK/+P9VxeiJFbKbhwnR9gYR6r1Z +cBUYkvQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dGkDE-0001DR-0A; Fri, 02 Jun 2017 10:53:48 +0000 Received: from mail-it0-x233.google.com ([2607:f8b0:4001:c0b::233]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dGkCa-0008Lu-Nz for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2017 10:53:21 +0000 Received: by mail-it0-x233.google.com with SMTP id r63so15558113itc.1 for ; Fri, 02 Jun 2017 03:52:48 -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=bJ/hpgaPnLB+1LwhHJruX3y4DoWHlZP3v8EUwQDNn0k=; b=H4TF5WdHp7BhKGHFwzZqeudX1sGcaoe08FGLw6KjaJM/9Ly5rJbdz5thuxfsMjy0pO OgFNqsmwRK5tKKXufJI6qSckP7BuOQQQ5ReW94KljepsQJL8UMf7GDxBdeL7D7sj7ibL s11UsW23WtJHzGiR4jrC+pYLmMrQz6rYsWSIg= 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=bJ/hpgaPnLB+1LwhHJruX3y4DoWHlZP3v8EUwQDNn0k=; b=pbZT+IVAZChpmBnvTmRib3iD/dGY0mr+2gGgQpSsXePl/icuesEdiO/3cUHniAQFwS gx1jQSs+hbFTw04OmhmNCzO4oh38zozXFNi/+UA2eEUBlrFRVI6D3vM0+FLjxcTisscj Bn86G75PS+0NdF2VHib+oQpmm1qlWAakT9Yz/f8FO5XRnK3IHwiLkC2LrY/lGA3A+jLM XFQIMOmXr8XL53AXihZo5p0MwIsgg+4vbHCuu/aX60v83VP9vv17tDkwdqL4BBjPwoSl V8s801efxRRtLkp77chtyRgWrIDblxuQkhrr391HIhEQswqB1h5s6FxYIIrvRi0SUAQK IRpQ== X-Gm-Message-State: AODbwcDDk8CM4dd3NCBSHDcbA4B0uv5xd1fQcPDFY7qrQSVN5N7XRb08 cbqrAVFf2NQlCoq3 X-Received: by 10.101.86.67 with SMTP id m3mr6436125pgs.137.1496400768152; Fri, 02 Jun 2017 03:52:48 -0700 (PDT) Received: from localhost.localdomain ([45.56.159.223]) by smtp.gmail.com with ESMTPSA id v64sm41662784pfk.86.2017.06.02.03.52.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 02 Jun 2017 03:52:47 -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 Subject: [PATCH v3 5/6] arm64: dts: hikey960: add device node for pmic and regulators Date: Fri, 2 Jun 2017 18:51:55 +0800 Message-Id: <20170602105156.11351-6-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170602105156.11351-1-guodong.xu@linaro.org> References: <20170602105156.11351-1-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170602_035309_112365_56180C3D X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Guodong Xu , hw.wangxiaoyin@hisilicon.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wang Xiaoyin add device node for hi6421 pmic core and hi6421v530 voltage regulator,include LDO(1,3,9,11,15,16) Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 46 +++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index ca448f0..9da8375 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -97,6 +97,52 @@ default-state = "off"; }; }; + + pmic: pmic@fff34000 { + compatible = "hisilicon,hi6421v530-pmic"; + reg = <0x0 0xfff34000 0x0 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + + regulators { + ldo3: LDO3 { /* HDMI */ + regulator-name = "VOUT3_1V85"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2200000>; + regulator-enable-ramp-delay = <120>; + }; + + ldo9: LDO9 { /* SDCARD I/O */ + regulator-name = "VOUT9_1V8/2V95"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3300000>; + regulator-enable-ramp-delay = <240>; + }; + + ldo11: LDO11 { /* Low Speed Connector */ + regulator-name = "VOUT11_1V8/2V95"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3300000>; + regulator-enable-ramp-delay = <240>; + }; + + ldo15: LDO15 { /* UFS VCC */ + regulator-name = "VOUT15_3V0"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3000000>; + regulator-boot-on; + regulator-always-on; + regulator-enable-ramp-delay = <120>; + }; + + ldo16: LDO16 { /* SD VDD */ + regulator-name = "VOUT16_2V95"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3000000>; + regulator-enable-ramp-delay = <360>; + }; + }; + }; }; &i2c0 {