From patchwork Fri May 26 06:35:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 100551 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp113059qge; Thu, 25 May 2017 23:36:40 -0700 (PDT) X-Received: by 10.99.109.129 with SMTP id i123mr471844pgc.103.1495780600250; Thu, 25 May 2017 23:36:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495780600; cv=none; d=google.com; s=arc-20160816; b=0NPYFlUPAp7YbHLRh7b7lsHCye/3/bhWK/TTMTHtnFcKcThP48OYVTpo+QABmZ8CVC UScRRbe8h/hgztQIjro1xinq1Rw1UgEgRESZM0k23eYDkpUrZuK1wbCFwz7uPEGOiXg/ 3VGK9qxBTSEPQLZ1JFda12RTiYQDbQhXF1iqWF18rz2hJtO6cSkW+hhWdpZE1M20HYKR 69dhlKY1lHeAh2R6MoFG2twLEI0Z1/9QLp4iydvRz2UtBZcsQm+CoFHnhLLG1hPDOn/l WxaNh01cZ1CuEc+2KF8xTy+iK9kKN2GQYV77C3K6vm+OLg5LXmOJlvuMdwZyCFcb795M ilhQ== 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=7tXslcs7l7TrmFO8j3ZyJ5u9tDqfMI8RCdo0CprZNBw=; b=k+IxHRv7fABkb76YCthk01PfiRF5BoU48UfbpojNs1wdxv7h/tpzJ6HfZ+axVHVmt3 4T3etbM5SLDMLi2pp/868Z2Ldmy0Cej+oA0/NBXftNgN1EKFdvroOTbluRzD9iuy10CI wwgSFQWDAcpbRnUKmABHD09oPSoWipI0e36MjB3DlVV5fpH3Lp5f7zdKG/5p/ZVWnblk TluLFr1lTq7UE8D3a5A6ELo6XDr7p9ia+p25BKxfoAxUXyYf76v1vjG6ULsW7IBLIwWr BaG80KjT2/FYvfY3peRwVeO8BFlQa5mUsO9Yk998CPPx0zX70j/CpoebqPVsqQKhFF/k KSew== 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 x11si31031492pfi.188.2017.05.25.23.36.39; Thu, 25 May 2017 23:36:40 -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 S1946941AbdEZGg1 (ORCPT + 7 others); Fri, 26 May 2017 02:36:27 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:34379 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946976AbdEZGgW (ORCPT ); Fri, 26 May 2017 02:36:22 -0400 Received: by mail-pf0-f177.google.com with SMTP id 9so2638109pfj.1 for ; Thu, 25 May 2017 23:36: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=ww2xU7m3U8v7TCtcyH0ICfXge67V6oMZRh6bduHZpdU=; b=KynFvkZCJvp6uwqTB5jS01gwWd9Ba6RDZ3+rkGqVfnykMpyzAgxT1ht7IDli5PqvnK eCDK9muC3ADOLS4pU8MEUTlLeUdgeKX0do7PojtPr4orp/njEKvSByFjBoiQBQ907oyu mxy7MhCKpZTBERITyN7C5e2Dc/R/hJ0yBKz2c= 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=ww2xU7m3U8v7TCtcyH0ICfXge67V6oMZRh6bduHZpdU=; b=qXTINp4EHcP6R9a5akmFspCN4YRoG6GkOLwo7uCQbE7BEGul/cF6y0wkmCBsJvyEw2 7etATKxT7TBDllCKwgw5xeUz6uOCnR0eUbv0NM71dbPI8fXZ02pQYm/STdXD2SecRsYS nPGVhyj+PwdDGzBKQqXCF7PxFQTNOaKEgf7/nk6mahPDhlzEC2H2XOUU5B6X+57WS/lf oOyXZJxgQjW/GzCv+zGZnUKdX8ZI4/QVZ49L9QkF22RWg8GphU+wghnjdY2mUlMyGzkq cWddk/YZOWIvlLBiQYEfQFaJTFqxgOghpk0LX0FtZEa+yjewjmR+drhH34MkcdEosCVd D8fw== X-Gm-Message-State: AODbwcAQBI2swjxLtO1qnObYVwKlI03nS9ThodmBqKNlW1aHMiy4v7Wb SLPhlXSSm7B8xPoO X-Received: by 10.84.236.71 with SMTP id h7mr10753993pln.86.1495780571999; Thu, 25 May 2017 23:36:11 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.222]) by smtp.gmail.com with ESMTPSA id j11sm11420635pgn.38.2017.05.25.23.36.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 May 2017 23:36:11 -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, 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 5/6] arm64: dts: hikey960: add device node for pmic and regulators Date: Fri, 26 May 2017 14:35:17 +0800 Message-Id: <20170526063518.21246-6-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170526063518.21246-1-guodong.xu@linaro.org> References: <20170526063518.21246-1-guodong.xu@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 | 60 +++++++++++++++++++++++ 1 file changed, 60 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/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index ca448f0..b7a404a 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -97,6 +97,66 @@ default-state = "off"; }; }; + + pmic: pmic@fff34000 { + compatible = "hisilicon,hi6421v530-pmic"; + reg = <0x0 0xfff34000 0x0 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + + regulators { + ldo1: LDO1 { + regulator-compatible = "hi6421v530_ldo1"; + regulator-name = "LDO1"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1500000>; + regulator-always-on; + regulator-enable-ramp-delay = <120>; + }; + + ldo3: LDO3 { + regulator-compatible = "hi6421v530_ldo3"; + regulator-name = "LDO3"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2200000>; + regulator-always-on; + regulator-enable-ramp-delay = <120>; + }; + + ldo9: LDO9 { + regulator-compatible = "hi6421v530_ldo9"; + regulator-name = "LDO9"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3300000>; + regulator-enable-ramp-delay = <240>; + }; + + ldo11: LDO11 { + regulator-compatible = "hi6421v530_ldo11"; + regulator-name = "LDO11"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3300000>; + regulator-enable-ramp-delay = <240>; + }; + + ldo15: LDO15 { + regulator-compatible = "hi6421v530_ldo15"; + regulator-name = "LDO15"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3000000>; + regulator-always-on; + regulator-enable-ramp-delay = <120>; + }; + + ldo16: LDO16 { + regulator-compatible = "hi6421v530_ldo16"; + regulator-name = "LDO16"; + regulator-min-microvolt = <1750000>; + regulator-max-microvolt = <3000000>; + regulator-enable-ramp-delay = <360>; + }; + }; + }; }; &i2c0 {