From patchwork Thu Jun 15 03:04:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 105626 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp595917qgd; Wed, 14 Jun 2017 20:07:26 -0700 (PDT) X-Received: by 10.84.150.130 with SMTP id h2mr3703874plh.152.1497496046536; Wed, 14 Jun 2017 20:07:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497496046; cv=none; d=google.com; s=arc-20160816; b=QfAR4EQBcafNgG+XDzU3xxJJ1Ef3yzt9/cEWUuKIpcYS1kciP1Dyc75x+I4cDYVGb1 npglOOWbDkNYJiMGNqXmsiMahkHBsSwZlG4GryVtAUlEUVO6U239RkGGqetDwNXOsdk/ XCKPYEP91bm9XHGglLajE5fBrsh8npuT7j4WDj61wx331AJV/8c3nwVEkbCV0yL9hRv6 vN8QpdDj+c7ysgodV7x9iG5eU2eaeK6jd9Su62wR1IJQl88r7ufJt+HI75hssjtJGrMM 3PvDAQvbQ23cCd+RaqXc/KJyW8GOJb/a67j0Da+vrMYiMfECi+Xbn3FSBrDGu5OBL1Gi sA2A== 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=ZXbe+WNvUHUpqBiz1/hTKvBwKQlCXCVHAPRBGSwEee70JTX4UbrN/g1nSPg/RbKq67 9EYgCqV3ROpfgKjLJMq3awS6g0b+DbDxx85xVPMoWcwNtR50wo31YDMjPBRfI/Xp942O 9FmBgIdRU0vrE87qLbaTwlMrHEtcTLt/CP1YHD4kHvLebyyGR+FAfJ/gzVGtgZFjszoN 4okQ4e8L8832rejcMl4G0gomznIJuyublOCaMmGy42v7t47NItV9h3WpiMcxHO1cngPI ubNEReVAJtLkT+UDnXMB5yNBOJ7Ehsv5FQUmvODSkRUIZZJTZPmuzHIGP2XLW6GsRMH7 ICbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=c7hKfxwv; 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 c10si1309960pge.180.2017.06.14.20.07.26; Wed, 14 Jun 2017 20:07:26 -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 header.b=c7hKfxwv; 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 S1752772AbdFODHX (ORCPT + 25 others); Wed, 14 Jun 2017 23:07:23 -0400 Received: from mail-pf0-f176.google.com ([209.85.192.176]:36530 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752072AbdFODHU (ORCPT ); Wed, 14 Jun 2017 23:07:20 -0400 Received: by mail-pf0-f176.google.com with SMTP id x63so1371100pff.3 for ; Wed, 14 Jun 2017 20:07:20 -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=c7hKfxwv/yJ0YF2lp8arG+VnXSpmCzPbGC1900Lw1+7ELCXjiWZLEGoFAuZju3XB/z WvffGTH8zUGEST+3pS4aeZcdumnooyUalTm7ZYhDnoL4XPUPDAn8qe5MMT95VjLgFslx yh6iElmLWEBD0pt1pbFnKffKCSuoxSaH4m+iw= 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=q1xLthVI4Y/zDBr6tM/BYfjli4DupaxUL2bVZ5XLehoj9y7k+gAuBpTDIhspn1A4Df 2SsdMu9kZ1ZqkjzzBS2qHs4N2xHR+lyy4H7nbiXxmJwuVFBu54z2w/vDrMbv7e6Q2M/5 K7yBM+r75LJDhlhU4ZVlZAG3VmEJ+xpZrCH5hJlZsBGdMiAvwwKYMILDu6Ql2o6gDjDV MAJHr5a73P5ACfG9+YhkGSM6JnI+KxknafLXt1SyLMNG2F06e7+2v6GrKJV5NdCLxoeX WmojZ2fr08KMcudH8oVzBiPS/mHse4ziYekUIDGAMiK6x/CM4//pK9sTQ+zYJ4pkXGh0 Akxw== X-Gm-Message-State: AKS2vOx6uATXNq4cQivHyRZXJxg6VjOmmzLafUPIr/rc6FWPEh7SDIy+ u9TxNG2danlzSopJ X-Received: by 10.99.2.134 with SMTP id 128mr3128360pgc.266.1497496039897; Wed, 14 Jun 2017 20:07:19 -0700 (PDT) Received: from localhost.localdomain ([45.56.159.17]) by smtp.gmail.com with ESMTPSA id y65sm2156656pgd.33.2017.06.14.20.07.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Jun 2017 20:07:19 -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 v4 17/20] arm64: dts: hikey960: add device node for pmic and regulators Date: Thu, 15 Jun 2017 11:04:14 +0800 Message-Id: <20170615030417.14059-18-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170615030417.14059-1-guodong.xu@linaro.org> References: <20170615030417.14059-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 {