From patchwork Thu Jun 8 22:08:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 103430 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2649796qgd; Thu, 8 Jun 2017 15:10:31 -0700 (PDT) X-Received: by 10.98.75.215 with SMTP id d84mr5482331pfj.135.1496959831099; Thu, 08 Jun 2017 15:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496959831; cv=none; d=google.com; s=arc-20160816; b=SKNs5vaS+mzaRxsF2vkYk25744GPyUcIS7GCP/0R5xhsB6HY+nW0NUIjI9T65nNo8z 1B/jVMe86io4DakedD1L2lhROfzJ+9HYifjlasiOxNAk9jGVwcv/mgd/m0RLhEYRhBK0 hbJ3cxhQksnIysocHFYuiuVCFmSoazPbyd0+tebkdZqvY7F1zRdXhlDN8vfhhHSmmxnC c9+R1WzC0Ktw5prBAb2sXKsLkOH7Ca6gsr6lPqwWMUYluuVgmCtoHTa6WF6+JVHAkW50 LlWBLW1TMeGxuqRn1iEJc0TRibBAQp3YlUOIHBYBaDer3ueaBcYNEDKXk2Lk2IqBzPbV ibxA== 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=J5eIgFGuC6fQWgIdRwut7PePBMybpIpFZ/nkmH1sAA4=; b=fTJtITIY9Kek4AA6PRvKgdPGsBA+RQ4LrFAFj709q5BpeiQ7E8Ty8vsifitcYuXIUq 5OpJ0SJYH58oreZKilDlYtdDjjp2SU6p/4Kd21KaDfc9NL5A7/UfMCdFDaddvTBRr+xK wXaVnu3OluUX4JFU3/4E4x5q/jnyFHX7nJBT0ZWuy7FSjNKwABM4MeXZ7P6Izxvk0qQA i5KHuHdayTvfz58k6yiOh3Oh8g2IUm6bpNIMn+oHYyXU3rIDItICL3vxc48u0fWd0sN8 gSrKffpcSDUOt0s+UW6f31FqWrEKz2EyEmrA4RntOvgh9GZLY++8YurdhqgqU2wQGqM5 MuOg== 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 f84si5251825pfk.318.2017.06.08.15.10.30; Thu, 08 Jun 2017 15:10:31 -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 S1752048AbdFHWK2 (ORCPT + 25 others); Thu, 8 Jun 2017 18:10:28 -0400 Received: from mail-pf0-f182.google.com ([209.85.192.182]:34411 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751826AbdFHWKZ (ORCPT ); Thu, 8 Jun 2017 18:10:25 -0400 Received: by mail-pf0-f182.google.com with SMTP id 9so21579516pfj.1 for ; Thu, 08 Jun 2017 15:10:25 -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=J5eIgFGuC6fQWgIdRwut7PePBMybpIpFZ/nkmH1sAA4=; b=Ffziy07LgOiwFSLumcYVd+YvQrfHRNIq9TXotdxBbPLFQiWEcNgA44fp6uBZ/d11WW jlVWi/lXDVF1DQYlakv4mjaYlWvvRuahnomweyljLcu2FIrkoQc+tkJWGPLwoefZpcK/ JnOE8OXnIIiZy44Y5kDZmBMNIAaBIMFNWFUHE= 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=J5eIgFGuC6fQWgIdRwut7PePBMybpIpFZ/nkmH1sAA4=; b=D0QWbpkSWnvSPlDONyoUn3SPe75vh41UcV6uF5OXbEzPNl4Aya4nWG9RXJG8q+wUw2 jDWohJsSQZcbefhUOmK1HsRTPNASvwDhQN5AruUgbWR6Vzve46nMVtW6sxOgoWxWqYFR pV2AXe9+Zc/5sz33eWVtsfv2JMXXwCdLeMNO2S5fi6VfXp0x1SRsERz9gl7+ZyhqKznw 6ewSct3EAtL8qsxN7qDsMVtOaaZRT9gQWdZWunXyJxnK/gZrZB1d3MAKjl3urZI9wJzZ ZVjTQUDAuBQ8qmqTb75pyoWOjTkvWqOOaPzGvFIxc3hdr1LE2UH/GLtN6NjEktc9PUhz Mf2g== X-Gm-Message-State: AODbwcB5moJ9paeLUnsmRbX9HysH2Odbuc38Wga3MWhr+MtshpwsqMag BAvfF3VoyrL82P/y X-Received: by 10.98.58.83 with SMTP id h80mr38876190pfa.50.1496959825215; Thu, 08 Jun 2017 15:10:25 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.87]) by smtp.gmail.com with ESMTPSA id r85sm11963639pfb.61.2017.06.08.15.10.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 15:10:24 -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 v6 7/8] arm64: dts: hikey960: add device node for pmic and regulators Date: Fri, 9 Jun 2017 06:08:40 +0800 Message-Id: <20170608220841.26531-8-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170608220841.26531-1-guodong.xu@linaro.org> References: <20170608220841.26531-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 Acked-by: Arnd Bergmann --- 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 {