From patchwork Mon Aug 25 13:39:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 35921 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f200.google.com (mail-qc0-f200.google.com [209.85.216.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8FB6F20A43 for ; Mon, 25 Aug 2014 13:41:46 +0000 (UTC) Received: by mail-qc0-f200.google.com with SMTP id w7sf42385423qcr.11 for ; Mon, 25 Aug 2014 06:41:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=tHkcudkbcz48KSOKY3tfnnjHbG4G+lEvwKPK1hzVNow=; b=bViv/nXaT/qnrmI3If2mipQqa8B17MlXee/ADwVlkuTNsDqVqvHzyfW0wYo0NhW++e EAAHY9LvpiwvetVM3NRotXXZIpQ0j7u8phnZ0iTR9Zq/lmRGNmzoNeAcYXXDY8iW65mt lOw1yERHf4MKfEnZPJKzfebeS7mzNJFzNUEJiRANRL6c96Lxu5J9Rf6b6A57rHPC2hJH EG9/P+EEcCPFo0C3O7HnXdYlgD/YgQAfcQ4bBTgdbQMC4Jfr9/AXBSvkHdBhaOwC0j5n k6frX2ZFxN6po3WuZ6ywd7jIQMNO9rfN+eZ0tsT0skwO1eMdJNhdHMQP9XVzRZNokREO fXtQ== X-Gm-Message-State: ALoCoQlneZpyxFragQi/bdCZuFQEVO66W+t1U8onkeZSN7g/yo6sncRrLmAEOgZMkHI4PpTUNAw/ X-Received: by 10.236.31.68 with SMTP id l44mr1228882yha.29.1408974106428; Mon, 25 Aug 2014 06:41:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.16.232 with SMTP id 95ls2174093qgb.94.gmail; Mon, 25 Aug 2014 06:41:46 -0700 (PDT) X-Received: by 10.52.137.2 with SMTP id qe2mr13380482vdb.11.1408974106245; Mon, 25 Aug 2014 06:41:46 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id yi17si17304222vdb.55.2014.08.25.06.41.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Aug 2014 06:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id hq11so14871874vcb.24 for ; Mon, 25 Aug 2014 06:41:46 -0700 (PDT) X-Received: by 10.220.77.65 with SMTP id f1mr5591317vck.48.1408974106160; Mon, 25 Aug 2014 06:41:46 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp118211vcb; Mon, 25 Aug 2014 06:41:45 -0700 (PDT) X-Received: by 10.70.100.137 with SMTP id ey9mr28344843pdb.21.1408974104409; Mon, 25 Aug 2014 06:41:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id we10si53557183pab.69.2014.08.25.06.41.43 for ; Mon, 25 Aug 2014 06:41:44 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932091AbaHYNle (ORCPT + 6 others); Mon, 25 Aug 2014 09:41:34 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:43485 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932262AbaHYNld (ORCPT ); Mon, 25 Aug 2014 09:41:33 -0400 Received: by mail-pa0-f54.google.com with SMTP id fa1so20924591pad.41 for ; Mon, 25 Aug 2014 06:41:32 -0700 (PDT) X-Received: by 10.70.123.134 with SMTP id ma6mr28911152pdb.124.1408974092508; Mon, 25 Aug 2014 06:41:32 -0700 (PDT) Received: from localhost.localdomain ([111.204.254.41]) by mx.google.com with ESMTPSA id j7sm57540025pdk.1.2014.08.25.06.41.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Aug 2014 06:41:31 -0700 (PDT) From: Guodong Xu To: lee.jones@linaro.org, sameo@linux.intel.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk, grant.likely@linaro.org, khilman@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, zhangnian@huawei.com Cc: Guodong Xu Subject: [PATCH 3/3] ARM: dts: hi3620-hi4511: Add HI6421 MFD and regulator nodes Date: Mon, 25 Aug 2014 21:39:42 +0800 Message-Id: <1408973982-2072-4-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1408973982-2072-1-git-send-email-guodong.xu@linaro.org> References: <1408973982-2072-1-git-send-email-guodong.xu@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: guodong.xu@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add Hi6421 MFD dts node and regulator nodes into hi3620-hi4511 board config dts file. Signed-off-by: Guodong Xu --- arch/arm/boot/dts/hi3620-hi4511.dts | 233 ++++++++++++++++++++++++++++++++++++ 1 file changed, 233 insertions(+) diff --git a/arch/arm/boot/dts/hi3620-hi4511.dts b/arch/arm/boot/dts/hi3620-hi4511.dts index fe62392..a1aadbb 100644 --- a/arch/arm/boot/dts/hi3620-hi4511.dts +++ b/arch/arm/boot/dts/hi3620-hi4511.dts @@ -635,6 +635,239 @@ pinctrl-single,bias-pullup = <0 1 0 1>; }; }; + + hi6421 { + compatible = "hisilicon,hi6421-pmic"; + reg = <0xc00000 0x0180>; /* 0x60 << 2 */ + + regulators { + // supply for MLC NAND/ eMMC + hi6421_vout0_reg: hi6421_vout0 { + regulator-name = "VOUT0"; + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <2850000>; + }; + + // supply for 26M Oscillator + hi6421_vout1_reg: hi6421_vout1 { + regulator-name = "VOUT1"; + regulator-min-microvolt = <1700000>; + regulator-max-microvolt = <2000000>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for AP system + hi6421_vout2_reg: hi6421_vout2 { + regulator-name = "VOUT2"; + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1400000>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for DDR PHY I/O + hi6421_vout3_reg: hi6421_vout3 { + regulator-name = "VOUT3"; + regulator-min-microvolt = <1050000>; + regulator-max-microvolt = <1400000>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for MIPI, USB2.0, PCIe, PLL Analog + hi6421_vout4_reg: hi6421_vout4 { + regulator-name = "VOUT4"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for I/O 1.8V + hi6421_vout5_reg: hi6421_vout5 { + regulator-name = "VOUT5"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for I/O 2.6V + hi6421_vout6_reg: hi6421_vout6 { + regulator-name = "VOUT6"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for SD I/O + hi6421_vout7_reg: hi6421_vout7 { + regulator-name = "VOUT7"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for USB PHY + hi6421_vout8_reg: hi6421_vout8 { + regulator-name = "VOUT8"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for Efuse power + hi6421_vout9_reg: hi6421_vout9 { + regulator-name = "VOUT9"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + }; + + // supply for BT RF&PA + hi6421_vout10_reg: hi6421_vout10 { + regulator-name = "VOUT10"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + }; + + // supply for GPS RF&PA + hi6421_vout11_reg: hi6421_vout11 { + regulator-name = "VOUT11"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + }; + + // supply for SD card + hi6421_vout12_reg: hi6421_vout12 { + regulator-name = "VOUT12"; + regulator-min-microvolt = <2850000>; + regulator-max-microvolt = <2850000>; + }; + + // supply for CMMB + hi6421_vout13_reg: hi6421_vout13 { + regulator-name = "VOUT13"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + }; + + // supply for WIFI I/O + hi6421_vout14_reg: hi6421_vout14 { + regulator-name = "VOUT14"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + }; + + // supply for WIFI core & PA + hi6421_vout15_reg: hi6421_vout15 { + regulator-name = "VOUT15"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3300000>; + }; + + // supply for LCD I/O + hi6421_vout16_reg: hi6421_vout16 { + regulator-name = "VOUT16"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + regulator-always-on; + }; + + // supply for LCD Ananlog + hi6421_vout17_reg: hi6421_vout17 { + regulator-name = "VOUT17"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + regulator-always-on; + }; + + // supply for Camera I/O + hi6421_vout18_reg: hi6421_vout18 { + regulator-name = "VOUT18"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + }; + + // supply for Camera Analog + hi6421_vout19_reg: hi6421_vout19 { + regulator-name = "VOUT19"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + }; + + // supply for Camera VCM + hi6421_vout20_reg: hi6421_vout20 { + regulator-name = "VOUT20"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <3000000>; + }; + + // supply for Audio, incl. HKADC + hi6421_vout_audio_reg: hi6421_vout_audio { + regulator-name = "AVDD2"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <3300000>; + }; + + // supply for Cortex-A9 CPU core + hi6421_buck0_reg: hi6421_buck0 { + regulator-name = "VBUCK0"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1600000>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for Cortex-A9 CPU core + hi6421_buck1_reg: hi6421_buck1 { + regulator-name = "VBUCK1"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1600000>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for GPU + hi6421_buck2_reg: hi6421_buck2 { + regulator-name = "VBUCK2"; + regulator-min-microvolt = <700000>; + regulator-max-microvolt = <1600000>; + regulator-boot-on; + }; + + // supply for Peripheral + hi6421_buck3_reg: hi6421_buck3 { + regulator-name = "VBUCK3"; + regulator-min-microvolt = <950000>; + regulator-max-microvolt = <1200000>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for LPDDR2 and AP I/O + hi6421_buck4_reg: hi6421_buck4 { + regulator-name = "VBUCK4"; + regulator-min-microvolt = <1150000>; + regulator-max-microvolt = <2000000>; + regulator-boot-on; + regulator-always-on; + }; + + // supply for Low voltage + hi6421_buck5_reg: hi6421_buck5 { + regulator-name = "VBUCK5"; + regulator-min-microvolt = <1150000>; + regulator-max-microvolt = <1900000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; + }; gpio-keys {