From patchwork Fri Jun 2 10:51:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 101232 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp326442qge; Fri, 2 Jun 2017 03:53:00 -0700 (PDT) X-Received: by 10.98.80.152 with SMTP id g24mr6086131pfj.222.1496400780699; Fri, 02 Jun 2017 03:53:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496400780; cv=none; d=google.com; s=arc-20160816; b=BcN1XvuZLyHdS3FiIuHft2fLa4oZG5LjPIjitvg2FRJD9KOsp2Jh8LWQ51gJY1o58+ 8tVf8qj2RtphSs9bkIHkvgxX3GPkfVECblRz+zDUf21ml2N5yoVsPSqUa/kZ+AlkBJSQ vKTKSDmcOZVfaDvMxbms2J8ocjmCCYROQvdvYxgmfzoQ6jnHdijFtwX1oNiQ/9BE63u5 C7Fj3/qfGoCjgQ6diMt/i+RiOzvhCJcbFlPfpuXM5J7KI/xNyHdiyUcsqCC6yZeh+ejB 5SKNj0UAlZ7apOdJ6Pj/jV+yZA6G8CzxQkcxX8frSs23iR0I1jQyqdcyzDdZfPz3EUPl 0eWA== 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=bJ/hpgaPnLB+1LwhHJruX3y4DoWHlZP3v8EUwQDNn0k=; b=RsuAWGSJG1elFcB75zBVPm5+gKqCMzC+coJuw+gPfHCnidgEAjaJFongk41pxLq1nZ 3W0gN5ALnKNY4/+kMFNdh7bxgTId8KDMhfVah7qSY9wshUarsrSMocmnAmY2Ff08ZyEw +c8mEUxCSqGaVj/v36l6z7Y5Jb2HF6GZimNW6CKDcFx0ddTllXaNY21+xriXqEFVgAK+ KMWTpUsGp6OjkHt4onw7wgU3RAEouVLHBzaCTOwOCiWV9U1ouEUozwsgxubbiMV3VqqC wzfPgpIcrQEIwMulWeW3f4c91XnFSpWLP3/donL2PJxVnI+asMVoc3/2n+WeQ5hjIrBV UzAg== 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 10si4843668pgc.152.2017.06.02.03.53.00; Fri, 02 Jun 2017 03:53:00 -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 S1751411AbdFBKw5 (ORCPT + 25 others); Fri, 2 Jun 2017 06:52:57 -0400 Received: from mail-it0-f48.google.com ([209.85.214.48]:38357 "EHLO mail-it0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751130AbdFBKwy (ORCPT ); Fri, 2 Jun 2017 06:52:54 -0400 Received: by mail-it0-f48.google.com with SMTP id r63so15558093itc.1 for ; Fri, 02 Jun 2017 03:52:53 -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=bJ/hpgaPnLB+1LwhHJruX3y4DoWHlZP3v8EUwQDNn0k=; b=H4TF5WdHp7BhKGHFwzZqeudX1sGcaoe08FGLw6KjaJM/9Ly5rJbdz5thuxfsMjy0pO OgFNqsmwRK5tKKXufJI6qSckP7BuOQQQ5ReW94KljepsQJL8UMf7GDxBdeL7D7sj7ibL s11UsW23WtJHzGiR4jrC+pYLmMrQz6rYsWSIg= 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=bJ/hpgaPnLB+1LwhHJruX3y4DoWHlZP3v8EUwQDNn0k=; b=M5JMjwrEtF8c9z+/aktVCPsA8jEQiD6LNwQ7XrI4R55o4iZPcn7dPBKe3td1E0K5xq fTZwr077ApVeBKghZumGxGFduXjkLu8ZLMSHHRnCvVx0nh5n3b5pqYw0AbY5Y8tAjmDk d9kgSIhjnEgfCranOsNXDMAVTc4xErVndfKlvbgI9ySpCdHsz/+K1oigHk6M5JdPq/kp OSS1tiR27txDzy4Rx5YbnypR8DMjfjAdz45imkEs9Cna4Qfw7qnpqduMM6hEVNanEOvV id+WOrbj8ENNV9BeZqqEYTjEI6eQ7KqnLy9HHmsF7XE5zKV86IqzkwsR964m+iuFP9IL Gvow== X-Gm-Message-State: AODbwcDuwklSY0xyP3k/svy5gjWD2uK+kx4bcnWVG9kFAG5ocMDnYBgK 5WPHto1wliElIDMR X-Received: by 10.101.86.67 with SMTP id m3mr6436125pgs.137.1496400768152; Fri, 02 Jun 2017 03:52:48 -0700 (PDT) Received: from localhost.localdomain ([45.56.159.223]) by smtp.gmail.com with ESMTPSA id v64sm41662784pfk.86.2017.06.02.03.52.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 02 Jun 2017 03:52:47 -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 v3 5/6] arm64: dts: hikey960: add device node for pmic and regulators Date: Fri, 2 Jun 2017 18:51:55 +0800 Message-Id: <20170602105156.11351-6-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170602105156.11351-1-guodong.xu@linaro.org> References: <20170602105156.11351-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..9da8375 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 {