From patchwork Wed Jun 14 08:23:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 105482 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp180490qgd; Wed, 14 Jun 2017 01:25:57 -0700 (PDT) X-Received: by 10.98.106.66 with SMTP id f63mr3023889pfc.169.1497428757425; Wed, 14 Jun 2017 01:25:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497428757; cv=none; d=google.com; s=arc-20160816; b=BG1/L0S/dVv7+NTv8EPTZDkiTYf+5z2AKXbawf6ubqPoE0rS3dzpLPpPOumc7SFYma f92w7AxkPTUjMU8G3ibixLTmzEOTd5h4txSC4NjkC8Odh78ZXawJtOZNA2B/rPPbyzyr IiJJZQhQYTNXW6/hfJC6DW+Z3GSkwxbyMNZOGOEMf0bTnZ67WWpm5hmK9j3MuENRpfen 7ayZffbmDOvLDR04vT7JGBdklQ9WqKucXV8ZjXfWkZgFlrt5p0NV+XOc+Wa/bnAYHiPi mmGWqnuC9oUw5+Bk5g7BjqmJGUy+G3k6tCUhDU53+mpCK/WJP9FCI2nvGpSwrZCZSnOZ 6kbQ== 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=z5Pn7NuLnVTJrS9IvbZNPlNJayQ6kDmG+8AZ2hpO3N9HGOUQKgUMeFpcreVAgDz3VQ v+A4lwfqf9aafyYh2L4IrKPFLnZarXkZhoBfwPHyHQ1EhR3gxFKh7LtUhGvTBwa9BGzn +fGwMWBVEsylFbh7TccSxqszLMEXecrscsEShOhxGe3wpx6gQZpS8ZLJIY92UPxqeQ8G qLiPneIpK/UkCQPPZTc74b1wr+zc/Ph6U5aGa8anrmy9RVMYNOoEhitXjh/TuRCaMC4l 0UMVRugb3+/5vraHIc6j+vmkhuGVS5/LJHvtRvyQSca0ZwtSkIFDyr3DvpB4aag9N+gQ fl3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=anAbZoeX; 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 1si159805plk.378.2017.06.14.01.25.57; Wed, 14 Jun 2017 01:25:57 -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=anAbZoeX; 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 S1754765AbdFNIZr (ORCPT + 25 others); Wed, 14 Jun 2017 04:25:47 -0400 Received: from mail-pg0-f43.google.com ([74.125.83.43]:34616 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754519AbdFNIZp (ORCPT ); Wed, 14 Jun 2017 04:25:45 -0400 Received: by mail-pg0-f43.google.com with SMTP id v18so72601173pgb.1 for ; Wed, 14 Jun 2017 01:25:45 -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=anAbZoeXeGhtfVH5Blf5E0rkmWqqqQLUrniBG8WiRQmfyda38gP8jHFiYfHOLvOtNP guj0QinstFuXAk/BwLhU0bYGlhUy5ifE6DV6anto3JfVMnR8/dDyGcT/63k45X5XJGBK r/TgnScC/r90NWjT70tRHTXRg1+NSn9fAFiXs= 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=Z89DyTETLxUxp6lDmPh7JiArDyXkY8cIHqsg7CSInUsmGRODbRHqwSTBIQx+o8jud+ yrK9I6IgJq8Vd5wvmn63/2nfypZChvIC++sc6blx2JOF9uhb/ac8fkSD7sonmeVy02Qv mE2yFIC4DkrFdIkeTLcsz+YoI8EobyErYH8w0FyII035PfKjCz1T3obLHthbCxsYsO/F hZCgPG9JD6G1CT+Yf3xcUjpWNRk7ZuEIzXYu2DC1cldioR6mj2FZHOVQmWYRKfP5Lfl0 9zsg7vUQqLAjr0VApfHsIHjV52omDnjyAIz5YYB5NFLSmeRE/uO9FXhBkOg2zPL+NRCG 2V7A== X-Gm-Message-State: AKS2vOyjPMP9YN/ZhbQ6x1mn6H0LKVqeuDZWig3qTsHck6/ETqV/oi6X sbr4E1vfnyZ5wQdp X-Received: by 10.98.35.18 with SMTP id j18mr2958232pfj.161.1497428744871; Wed, 14 Jun 2017 01:25:44 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.99]) by smtp.gmail.com with ESMTPSA id h14sm766802pfh.71.2017.06.14.01.25.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Jun 2017 01:25:44 -0700 (PDT) From: Guodong Xu To: robh+dt@kernel.org, mark.rutland@arm.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com, wangkefeng.wang@huawei.com, xuejiancheng@hisilicon.com, peter.griffin@linaro.org, puck.chen@hisilicon.com, lee.jones@linaro.org, ulf.hansson@linaro.org, bhelgaas@google.com, arnd@arndb.de Cc: zhangfei.gao@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-pci@vger.kernel.org, Wang Xiaoyin , Guodong Xu Subject: [PATCH v3 18/21] arm64: dts: hikey960: add device node for pmic and regulators Date: Wed, 14 Jun 2017 16:23:35 +0800 Message-Id: <20170614082338.15673-19-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170614082338.15673-1-guodong.xu@linaro.org> References: <20170614082338.15673-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 {