From patchwork Wed Jun 7 07:06:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 103211 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp1796260qgd; Wed, 7 Jun 2017 00:08:15 -0700 (PDT) X-Received: by 10.99.143.90 with SMTP id r26mr30815271pgn.102.1496819295062; Wed, 07 Jun 2017 00:08:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496819295; cv=none; d=google.com; s=arc-20160816; b=QMpUeEwKdKrUl8RpQ5TRx4UVrA+Anw3FfJDhjzf2bj/jT+K6TPhuFs8o0QC55tae5d 1bAc6If3rdZIh0ylhCfqUX8jO2n5nH5ht8aPydDLArji42EOs5QKW29+9tIeNuE/NeCP vFw+nlzTzbgNf4C6aO07cCU12hAAvZSaib+bl1P2bG5+feLYT1NJ7whIJzbJfkGVL4dq o8KGOPqLnON0YWJqGQNfoXKpgRw9iVKbAiUWQbD3WustxAxouAm/rwBV20VKxo1KqhSr rQ9F5I0jaGK7lSrtHRdAX+ItMueO7BeOkIpmtNlGYXdQmIXGawZg5igDwBeu9ikKfFZY K/eQ== 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=8PV3QUvE4/KsHx+LrJUzAofvvlExf85kZV20f2X9des=; b=yFjXQsTOr08DeV3KEUVGnzOMBhP4UkIVrvZ0UNl4G6RZbBMu2vRVgAJWApoTTsHdht d9GKm2kubXabGFbsNb9wjL7mQctgixBJnbGnjkOZ0IhNWpo6+xSNqbQrAp9cwTmZGcGI Jk/RzrhjYh3qI5V8u4Mp8m7kda/ld5+bh+lQXyGhRXNLDCYvDhnCH+FBtv8NNWjrWxnc 46F8YL3VfPo73iOQ+KOa+VDH1XrBLbNL425kzQ1ROpF0CkwYPwWLtW8kBGsdZOhgGRC6 1nOPmneARS/IpA1eiQZpUMUu/jUrAyXu6JvciCn7wt4TaOtj8a4JeOZF22vfIuKMsQ8p rAMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; 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=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 s6si996066pfj.114.2017.06.07.00.08.14; Wed, 07 Jun 2017 00:08:15 -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=@linaro.org; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751825AbdFGHII (ORCPT + 25 others); Wed, 7 Jun 2017 03:08:08 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:35794 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751457AbdFGHIF (ORCPT ); Wed, 7 Jun 2017 03:08:05 -0400 Received: by mail-pf0-f170.google.com with SMTP id l89so2420318pfi.2 for ; Wed, 07 Jun 2017 00:08:05 -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=8PV3QUvE4/KsHx+LrJUzAofvvlExf85kZV20f2X9des=; b=XQ9o9/5MvjXnG3Gomr6Dgylgd6qQABs5a4sliy7FJeWsIuohWzXXJVHBmsM//o2/cN DGprW45BWEol7jVxWM/lwVHd4Owz5AEf4O3oXDZ/ZT/jGW1SJMr7eGGoW2P5nZu1FTSQ BonHIWj/dD56osXo5bKR5odapEPrJI19cKU0A= 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=8PV3QUvE4/KsHx+LrJUzAofvvlExf85kZV20f2X9des=; b=KcnBCLyuac7NKRf7vYRgREYz2rG3BQbt6ZKuVu0Z3oZy8r/9pJVn8X+iK9SuWdI1H4 FDFU68xn6knN4ptvqPta64KThlXEgeNxcjRb2g/mfhbTp5cxSfj7OCjq4HH4jtKV3OhQ 1y/k6yPxnfZsDu++vOuGl5yqgeBggdXyiB87qIQb+8nGofNJiFAKI+C3mAjp+wxk1lcK TKHoCr1gSLNYIZve0R+akxrdBBdrdlDLQaXImVscYzSycag3Jaz9oUu9qGf1Efj5ig43 g45r3HGP1Tfy1g7j7D8ONwJj+MWQmOYVm9lcMWqyIDDjhvYG1KREwQDYoxWcEFlByb6+ CIig== X-Gm-Message-State: AODbwcCgP7hd9jI05Yw1QdXv9ZylnjeMtCWmFfuUH7J1bUWLNrTGtgLK mBq34ut93n15uXhY X-Received: by 10.84.231.136 with SMTP id g8mr26949889plk.257.1496819285191; Wed, 07 Jun 2017 00:08:05 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.247]) by smtp.gmail.com with ESMTPSA id h84sm1849354pfh.45.2017.06.07.00.07.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jun 2017 00:08:04 -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, Wang Xiaoyin , Guodong Xu Subject: [PATCH v5 7/8] arm64: dts: hikey960: add device node for pmic and regulators Date: Wed, 7 Jun 2017 15:06:05 +0800 Message-Id: <20170607070606.8889-8-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170607070606.8889-1-guodong.xu@linaro.org> References: <20170607070606.8889-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 | 46 +++++++++++++++++++++++ 1 file changed, 46 insertions(+) -- 2.10.2 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index ca448f0..e579333 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 {