From patchwork Tue Jun 6 08:51:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 103134 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp1163332obh; Tue, 6 Jun 2017 01:53:42 -0700 (PDT) X-Received: by 10.99.185.65 with SMTP id v1mr21881175pgo.189.1496739222023; Tue, 06 Jun 2017 01:53:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496739222; cv=none; d=google.com; s=arc-20160816; b=gomfWuGJGpDCSDYOK2aRM1wncTzo//YpQ+jIGme84/aurMA5YpuCrNbC92+jn6L8W9 lu9+vvWAIE8gu6y+zd86+S78Ul8SscK6oKW6/kqVxv7wBBApTZnzeMihgZsU5ctBGjRw rhax2JlBNnTqlJWnEaR1J2t0l9LkgBoxXp5hVX1/0nqH58POYKfGCVGfCjaBmtg/Utpw KgPG+PZWF4gTQIpS/bkD0QI9DfndBmujQ99FXfWtJt9WCxCBVmkU92B1h6mZmgIu0ohw b0SQxdh7+Q734J+/nIHgrRMK6YdopoqV2RoCs7m3+1FrmsdQ5b8XIssejSrCHhjeyM+8 HLXA== 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=fRAVBXXqkJ3Xgds7bHWIoQaEAsqwujO1d9Me3lmVyWqary3m7avr4o6xH52wwlMpql 0dUufyZGRUhrdB/Lc85MPyf6RmpxIt6jwoQEOHluHIVpzZgVmhLy+rqdUGDdIuZQafT1 wnl6frKdneZ2+jMPCV0W2r3eh6abcGf37xpPsx7zbdioIiXqpBS9lwHncHaORTJHbNL0 AOxVBXPhag09rK/+HzqGYa1PqDlfT3dfPKwDLVct+HPAoP8Zwv5nT5cDtn7mHe2WLfei VdYgO5PLbl6tgdDnY8XLrap4v5dxBrRals50Eulj1P2IBAulZT2cVEuA06CaqSzexyIh HZTA== 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 k7si7388164pln.414.2017.06.06.01.53.41; Tue, 06 Jun 2017 01:53:42 -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 S1751584AbdFFIx3 (ORCPT + 25 others); Tue, 6 Jun 2017 04:53:29 -0400 Received: from mail-pg0-f45.google.com ([74.125.83.45]:33657 "EHLO mail-pg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751566AbdFFIx1 (ORCPT ); Tue, 6 Jun 2017 04:53:27 -0400 Received: by mail-pg0-f45.google.com with SMTP id f185so32375842pgc.0 for ; Tue, 06 Jun 2017 01:53:21 -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=Vs1YCQFy31NqOcCVPjXTbePMtuKK9xTzawPRwzX6JKZwCtOEKlgo1JQmWRVU47YtuC UoMMFP4J79u/wsMYoNnD8FhSQN8ITioJFvGG85GgKcfGRRMMfXIK+c2SeBwJQOi1JgBJ BVQALJeUGYbxRG6IKSaQM0UwJ1mMrrEBDfL1Q= 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=K8Q9IXFmzd5JDkcpSszpoYd157gXe9akV8pxv6w3UFE83u7evfza9ewecUZ9s6Yprl nhsabCbILxBxiGudZHBEVPSnVjnUVgMTghf8myeyNW2M6COIt/Yghe7psyuh+wEql/A0 Tfw46f5tSbacDQ3zwcqI9v55lorFlTzfeN5ZyXqDPb8+nT5skW7tgZ8rxul4IEszd4AD Xhc7WGPVVcmuEFsL1XUwGDkpRMfn9d5CwG83dscI8o4ZN5FtppOfs5eIrhvTyn+6+Sxw HbwvHbHnF4zTLO3pJcQw270J/HaOUktil2DejJ0HO8KE1M7jOgXMJBnhm6AqnJhWBeMu mdYg== X-Gm-Message-State: AODbwcCft6f/kOhUQ9Whgi7xE7GktUiIEQJ/axduzpLSe7/dyiNNiEiw I3iDZp1CGUYU7qce X-Received: by 10.84.236.72 with SMTP id h8mr20585476pln.187.1496739201470; Tue, 06 Jun 2017 01:53:21 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.173]) by smtp.gmail.com with ESMTPSA id b14sm49851988pga.12.2017.06.06.01.53.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Jun 2017 01:53:21 -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 7/8] arm64: dts: hikey960: add device node for pmic and regulators Date: Tue, 6 Jun 2017 16:51:42 +0800 Message-Id: <20170606085143.13154-8-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170606085143.13154-1-guodong.xu@linaro.org> References: <20170606085143.13154-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 {