From patchwork Tue Aug 7 19:04:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongjin Kim X-Patchwork-Id: 1287711 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id A1ABF3FCC5 for ; Tue, 7 Aug 2012 19:09:45 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Syp6j-0006Zo-O4; Tue, 07 Aug 2012 19:06:21 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Syp6f-0006Za-Ns for linux-arm-kernel@lists.infradead.org; Tue, 07 Aug 2012 19:06:18 +0000 Received: by pbbrq13 with SMTP id rq13so103411pbb.36 for ; Tue, 07 Aug 2012 12:06:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=ubucPec+gwUL5frjkoC0JqsUae/5yWg+iccoV+a+abI=; b=rR1aLJ1fas3g7+mTH9rVo+V1DxoVAH74g8q2jw5TCFO1486D0SVO5choL2Ae0mXZfk tNDaJtrUofweDkUqFsNZylwoBm/crJEXcOieaggC3ZN1nwwrVLptGLEPRppkCjpzjLKd 8gnus+j/Wg23Q8aw6k7yB70DNMxwvGCX2PHcbzUwLrYnffzmhFwFoCJX+a4mZR/uRpF0 PAsd5Xu3428mQT/ZcOmzS1YK9Ldy59JgZH19QdrkMl2DXBA+93IDZMmGPnlwRiZhdZZi Q4ZjUFOz978vkDyfArA1n5EGZKWD5fiP4yn3Rj1YJINAmJ8xUKoMwFquDZa0kGyJSSg1 abWA== Received: by 10.68.221.72 with SMTP id qc8mr29914958pbc.63.1344366374199; Tue, 07 Aug 2012 12:06:14 -0700 (PDT) Received: from localhost.localdomain ([125.177.223.193]) by mx.google.com with ESMTPS id ro7sm6594323pbc.8.2012.08.07.12.06.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2012 12:06:12 -0700 (PDT) From: Dongjin Kim To: Subject: [PATCH 1/4] arm/dts: max77686: Add DTS file for max77686 PMIC Date: Wed, 8 Aug 2012 04:04:11 +0900 Message-Id: <1344366267-18971-1-git-send-email-dongjin.kim@agreeyamobility.net> X-Mailer: git-send-email 1.7.9.5 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tobetter[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Russell King , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Dongjin Kim X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add a dedicated DTS file for max77686 PMIC. This file is supposed to be included in a board DTS in order to control the power for certain consumer devices or AP with 9 BUCKs and 26 LDOs Signed-off-by: Dongjin Kim --- arch/arm/boot/dts/max77686.dtsi | 303 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 303 insertions(+) create mode 100644 arch/arm/boot/dts/max77686.dtsi diff --git a/arch/arm/boot/dts/max77686.dtsi b/arch/arm/boot/dts/max77686.dtsi new file mode 100644 index 0000000..4a46167 --- /dev/null +++ b/arch/arm/boot/dts/max77686.dtsi @@ -0,0 +1,303 @@ +/* + * arch/arm/boot/dts/max77686.dtsi + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +/ { + max77686@09 { + compatible = "maxim,max77686"; + + voltage-regulators { + buck1 { + regulator-compatible = "BUCK1"; + regulator-name = "VDD_MIF_1.0V"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1050000>; + regulator-always-on; + regulator-boot-on; + }; + + buck2 { + regulator-compatible = "BUCK2"; + regulator-name = "VDD_ARM_1.3V"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1350000>; + regulator-always-on; + regulator-boot-on; + }; + + buck3 { + regulator-compatible = "BUCK3"; + regulator-name = "VDD_INT_1.0V"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1150000>; + regulator-always-on; + regulator-boot-on; + }; + + buck4 { + regulator-compatible = "BUCK4"; + regulator-name = "VDD_G3D_1.0V"; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1200000>; + regulator-boot-on; + }; + + buck5 { + regulator-compatible = "BUCK5"; + regulator-name = "VDDQ_CKEM1M2_1.2V"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-always-on; + regulator-boot-on; + }; + + buck6 { + regulator-compatible = "BUCK6"; + regulator-name = "VDD_INL_1.35V"; + regulator-min-microvolt = <1350000>; + regulator-max-microvolt = <1350000>; + regulator-always-on; + regulator-boot-on; + }; + + buck7 { + regulator-compatible = "BUCK7"; + regulator-name = "VDD_INL_2.0V"; + regulator-min-microvolt = <2000000>; + regulator-max-microvolt = <2000000>; + regulator-always-on; + regulator-boot-on; + }; + + buck8 { + regulator-compatible = "BUCK8"; + regulator-name = "VDD_BUCK8_2.8V"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-always-on; + regulator-boot-on; + }; + + buck9 { + regulator-compatible = "BUCK9"; + regulator-name = "VDD_BUCK9_1.2V"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-always-on; + regulator-boot-on; + }; + + ldo1 { + regulator-compatible = "LDO1"; + regulator-name = "VDD_ALIVE_1.0V"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-always-on; + }; + + ldo2 { + regulator-compatible = "LDO2"; + regulator-name = "VDDQ_M1M2_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo3 { + regulator-compatible = "LDO3"; + regulator-name = "VDDQ_M0_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo4 { + regulator-compatible = "LDO4"; + regulator-name = "VDDQ_MMC2_2.8V"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-always-on; + }; + + ldo5 { + regulator-compatible = "LDO5"; + regulator-name = "VDDQ_MMC13_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo6 { + regulator-compatible = "LDO6"; + regulator-name = "VDD_MPLL_1.0V"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-always-on; + }; + + ldo7 { + regulator-compatible = "LDO7"; + regulator-name = "VDD_VPLL_1.0V"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-always-on; + }; + + ldo8 { + regulator-compatible = "LDO8"; + regulator-name = "VDD10_HDMI_1.0V"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-always-on; + }; + + ldo9 { + regulator-compatible = "LDO9"; + regulator-name = "VDD_VTCORE_1.0V"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-always-on; + }; + + ldo10 { + regulator-compatible = "LDO10"; + regulator-name = "VDDQ_MIPIHSI_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo11 { + regulator-compatible = "LDO11"; + regulator-name = "VDD18_ABB1_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo12 { + regulator-compatible = "LDO12"; + regulator-name = "VDD33_UOTG_3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + ldo13 { + regulator-compatible = "LDO13"; + regulator-name = "VDDQ_C2C_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo14 { + regulator-compatible = "LDO14"; + regulator-name = "VDD18_ABB2_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo15 { + regulator-compatible = "LDO15"; + regulator-name = "VDD10_HSIC_1.0V"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + regulator-always-on; + }; + + ldo16 { + regulator-compatible = "LDO16"; + regulator-name = "VDD18_HSIC_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo17 { + regulator-compatible = "LDO17"; + regulator-name = "VDDQ_CAM_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo18 { + regulator-compatible = "LDO18"; + regulator-name = "VDD_LDO18_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo19 { + regulator-compatible = "LDO19"; + regulator-name = "VDD_VTCAM_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo20 { + regulator-compatible = "LDO20"; + regulator-name = "VDD_LDO20_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo21 { + regulator-compatible = "LDO21"; + regulator-name = "VDD_SDCARD_3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + ldo22 { + regulator-compatible = "LDO22"; + regulator-name = "VDD_LDO22_2.8V"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-always-on; + }; + + ldo23 { + regulator-compatible = "LDO23"; + regulator-name = "VDD_TOUCH_2.8V"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-always-on; + }; + + ldo24 { + regulator-compatible = "LDO24"; + regulator-name = "VDD_TOUCHLED_3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + ldo25 { + regulator-compatible = "LDO25"; + regulator-name = "VDDQ_LCD_1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + + ldo26 { + regulator-compatible = "LDO26"; + regulator-name = "VDD_MOTOR_3.0V"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-always-on; + }; + }; + }; +};