From patchwork Tue Apr 12 23:55:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 65672 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp2205078qge; Tue, 12 Apr 2016 16:59:56 -0700 (PDT) X-Received: by 10.66.100.228 with SMTP id fb4mr8530873pab.84.1460505596416; Tue, 12 Apr 2016 16:59:56 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ez9si665005pab.20.2016.04.12.16.59.56; Tue, 12 Apr 2016 16:59:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933667AbcDLX7u (ORCPT + 7 others); Tue, 12 Apr 2016 19:59:50 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:33284 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933141AbcDLX7t (ORCPT ); Tue, 12 Apr 2016 19:59:49 -0400 Received: by mail-pa0-f42.google.com with SMTP id zm5so22483126pac.0 for ; Tue, 12 Apr 2016 16:59:48 -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=9P+C4DQyejg57bc8Uablr9B1lDyO+eREgGtl94QaeLY=; b=Rj9AoGvPfFnqcy3jfZsD0qiu4SeMoaTAo0Xy6KrGuoT71wWsZxM7lthj5Rj8IKDVrd ogU94A2oHLg/tj9Mq5EC5LdFxcuCLaT7Ai0s5RoPIpDaF53G3uoiJAV5QKbu9D03ghIA JLsx4X1Yx9XRNpmV92V+hp1PnyNl3QD7wDTA0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9P+C4DQyejg57bc8Uablr9B1lDyO+eREgGtl94QaeLY=; b=kuGCzozJ/JNno9MCOlJu2ImY+vUC+0If1ZPdA08bCCdLC+u4UMG5dBbgkpcDq2sUsw yK+1bqwkAs65Zrj8NID7CFH+d+uL+ZOzNcBD8v5nSAIfpfe1FajZ2cxGnUfPVQM4b/k0 eu0Cq9tZ+ytk6RFClGIaXWkQmqq7jVTxoUcZOsQf7p5+tGX7wm6OQOSxcAVGfgu54ds8 cxcToIi+rCMHtaFG6ty+AhiifuWhiTKYl4a7FTQyyi/e+sRFGPZSpE0w5Hs4QagOFIXV OubXtyuuC0gxsspcO2bAKO+4uJpOfIjbuWfaeL+vc4eUHVFZ9LFMDhffxy+DWsY9J1nJ S1hw== X-Gm-Message-State: AOPr4FUEduzvs6lEtVehHjM1XtPsZzNdo/U1LwVggjZOY0xCdctdOTrC43CIjT6iClS6nsxY X-Received: by 10.66.232.4 with SMTP id tk4mr8535893pac.103.1460505588291; Tue, 12 Apr 2016 16:59:48 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.226]) by smtp.gmail.com with ESMTPSA id i1sm46165795pfj.17.2016.04.12.16.59.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 16:59:47 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, catalin.marinas@arm.com, will.deacon@arm.com, haojian.zhuang@linaro.org, linus.walleij@linaro.org, tony@atomide.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chen Feng , Fei Wang , Xinwei Kong , Guodong Xu Subject: [PATCH v4 14/16] arm64: dts: hikey: Add hi655x pmic dts node Date: Wed, 13 Apr 2016 07:55:50 +0800 Message-Id: <1460505352-13157-15-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> References: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Chen Feng Add the mfd hi655x dts node and regulator support on hi6220 platform. Signed-off-by: Chen Feng Signed-off-by: Fei Wang Signed-off-by: Xinwei Kong Signed-off-by: Guodong Xu Reviewed-by: Haojian Zhuang Reviewed-by: Rob Herring Acked-by: Lee Jones --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 87 +++++++++++++++++++++++++- 1 file changed, 86 insertions(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index b7c41f8..cc1148d 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -6,9 +6,9 @@ */ /dts-v1/; - #include "hi6220.dtsi" #include "hikey-pinctrl.dtsi" +#include / { model = "HiKey Development Board"; @@ -107,6 +107,91 @@ default-state = "off"; }; }; + + pmic: pmic@f8000000 { + compatible = "hisilicon,hi655x-pmic"; + reg = <0x0 0xf8000000 0x0 0x1000>; + interrupt-controller; + #interrupt-cells = <2>; + pmic-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; + + regulators { + ldo2: LDO2 { + regulator-name = "LDO2_2V8"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <3200000>; + regulator-enable-ramp-delay = <120>; + }; + + ldo7: LDO7 { + regulator-name = "LDO7_SDIO"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-enable-ramp-delay = <120>; + }; + + ldo10: LDO10 { + regulator-name = "LDO10_2V85"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3000000>; + regulator-enable-ramp-delay = <360>; + }; + + ldo13: LDO13 { + regulator-name = "LDO13_1V8"; + regulator-min-microvolt = <1600000>; + regulator-max-microvolt = <1950000>; + regulator-enable-ramp-delay = <120>; + }; + + ldo14: LDO14 { + regulator-name = "LDO14_2V8"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <3200000>; + regulator-enable-ramp-delay = <120>; + }; + + ldo15: LDO15 { + regulator-name = "LDO15_1V8"; + regulator-min-microvolt = <1600000>; + regulator-max-microvolt = <1950000>; + regulator-boot-on; + regulator-always-on; + regulator-enable-ramp-delay = <120>; + }; + + ldo17: LDO17 { + regulator-name = "LDO17_2V5"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <3200000>; + regulator-enable-ramp-delay = <120>; + }; + + ldo19: LDO19 { + regulator-name = "LDO19_3V0"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3000000>; + regulator-enable-ramp-delay = <360>; + }; + + ldo21: LDO21 { + regulator-name = "LDO21_1V8"; + regulator-min-microvolt = <1650000>; + regulator-max-microvolt = <2000000>; + regulator-always-on; + regulator-enable-ramp-delay = <120>; + }; + + ldo22: LDO22 { + regulator-name = "LDO22_1V2"; + regulator-min-microvolt = <900000>; + regulator-max-microvolt = <1200000>; + regulator-boot-on; + regulator-always-on; + regulator-enable-ramp-delay = <120>; + }; + }; + }; }; &uart2 {