From patchwork Thu Mar 15 17:07:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10285373 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DBD266061F for ; Thu, 15 Mar 2018 17:21:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CEC7E28BD5 for ; Thu, 15 Mar 2018 17:21:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD57D28BE1; Thu, 15 Mar 2018 17:21:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6C07C28BEC for ; Thu, 15 Mar 2018 17:21:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=hd2h/e5BSq480pM81vmlNv8WXxDdqW8JBrq21zYxTsk=; b=M5oiyfzCuq/e9zw59RTC/gA5cP 3M7SMkqWr+igeGm/gRYxNA3I0bUq8SBaGQKycFSM9opxzfMlYrfXroDeNLhxpY5UubVb7n69KsOVT ubCeuc1rujW3iZCW7p/413M8vocusMSiwLWfd5vQ8daXKhyQJ6OHUjmMQUvuIoXakgSnkNKb8kVom JZ3cxIIGg7cVT4bgj2YPsk7HlJSRGa/U3RCxQgR+hrUXCVTvqYa12ehnSE7UX00egmHDiUBCh0vDa dnvxRTCT7BaKWaVOQ6QpFbhFGffeFl/uO9Su84MZybPM+Ptb37+u7Swi/FEWu2kmFHdO4HLCwiEA6 IbZANE2w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewWYp-0004bV-IK; Thu, 15 Mar 2018 17:21:03 +0000 Received: from mail-pl0-x241.google.com ([2607:f8b0:400e:c01::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewWMD-0001TF-JA for linux-arm-kernel@lists.infradead.org; Thu, 15 Mar 2018 17:09:33 +0000 Received: by mail-pl0-x241.google.com with SMTP id b7-v6so69686plr.8 for ; Thu, 15 Mar 2018 10:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hNbP2IpQDH/4NfIntjjO6TjyXDz3oNN/mZU2h0ObLJs=; b=KuVyLIsatDzAHkY1S0UtCl/sbtkIM7lR+8MnnEQMpep9jG1SdU4OioEWFTnZG+9Gwq 2D9OhFW2xlxmP4+5yLsoIjNNe6XbCjashJMr0zeHAAkQnftjsBU4bgV1yNdcZ2M1JbNl UBe78mrhTIi76x9oH373NMyRA0i06rlfoP82w= 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=hNbP2IpQDH/4NfIntjjO6TjyXDz3oNN/mZU2h0ObLJs=; b=Iom6lvHzu95GSaz0Cxudp8bSO5667IF+0BNoi35mg+MouWl4KdkdM2rX/U4JZSERaq kq3JeJTcyXwSG7nS3iK0XvYJwXRsZXWXSOMZleEKhpCWrgyqnNjCrvHxOgCr5UKOgfrA uTZWN15ycfWwVq+HLxcjsakPM6yzc6o4GQ23LiKr8xPom+m+bU+7D4vsl9tWv0o8KUyo HHhlc2wuoKq3a3sxJ0nlQF74mwpXQgszMzixunXXlFtUkcNAGLvbuzqlgRQ+26m4+8AG 3wXpF17NNWPrEEfdsbZalw/lCbV1d6Fy33mm5byb4R3i2sMCN1+0ePNVCZ0h8ewOvPxf PhnA== X-Gm-Message-State: AElRT7EMNsVGMI1K0DE0EOJfQ8rcRQFMlS1ZcvwTlzM/cWSY44tA3M9k 9n7Try4iYoGswk1QDuC8Y4ic+w== X-Google-Smtp-Source: AG47ELtKNLf44MLhe9vGOmUIMDdnIQjOwyp+oeFZ1tKAWaZjM5vwh75BowZuR9OtNy+95S8LFW68dQ== X-Received: by 2002:a17:902:5682:: with SMTP id j2-v6mr8845897pli.301.1521133670610; Thu, 15 Mar 2018 10:07:50 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.211]) by smtp.gmail.com with ESMTPSA id y27sm11775661pfi.156.2018.03.15.10.07.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Mar 2018 10:07:49 -0700 (PDT) From: Jagan Teki To: Shawn Guo Subject: [PATCH 3/3] ARM: dts: imx6dl-mamoj: Add PFUZE100 support Date: Thu, 15 Mar 2018 22:37:10 +0530 Message-Id: <20180315170710.9551-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180315170710.9551-1-jagan@amarulasolutions.com> References: <20180315170710.9551-1-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180315_100802_981957_AD6D71AC X-CRM114-Status: GOOD ( 14.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Fabio maggi , linux-kernel@vger.kernel.org, "davide . bonfanti" , Shyam Saini , Rob Herring , Andrea CORTESE , lamiaposta71@gmail.com, Sascha Hauer , Fabio Estevam , Simone CIANNI , Michael Trimarchi , Raffaele RECALCATI , linux-arm-kernel@lists.infradead.org, Jagan Teki MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP MX6DL Mamoj boards has Freescale PFUZE100 PMIC, so add support for it. Signed-off-by: Jagan Teki Signed-off-by: Simone CIANNI Signed-off-by: Raffaele RECALCATI --- arch/arm/boot/dts/imx6dl-mamoj.dts | 113 +++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-mamoj.dts b/arch/arm/boot/dts/imx6dl-mamoj.dts index 53e85c7f06b4..c4a0583c71cc 100644 --- a/arch/arm/boot/dts/imx6dl-mamoj.dts +++ b/arch/arm/boot/dts/imx6dl-mamoj.dts @@ -32,6 +32,119 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c4>; status = "okay"; + + pmic: pfuze100@8 { + compatible = "fsl,pfuze100"; + reg = <0x08>; + + regulators { + /* CPU vdd_arm core */ + sw1a_reg: sw1ab { + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1875000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <6250>; + }; + + /* SOC vdd_soc */ + sw1c_reg: sw1c { + regulator-min-microvolt = <300000>; + regulator-max-microvolt = <1875000>; + regulator-boot-on; + regulator-always-on; + regulator-ramp-delay = <6250>; + }; + + /* I/O power GEN_3V3 */ + sw2_reg: sw2 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + /* DDR memory */ + sw3a_reg: sw3a { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1975000>; + regulator-boot-on; + regulator-always-on; + }; + + /* DDR memory */ + sw3b_reg: sw3b { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1975000>; + regulator-boot-on; + regulator-always-on; + }; + + /* not used */ + sw4_reg: sw4 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <3300000>; + }; + + /* not used */ + swbst_reg: swbst { + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5150000>; + }; + + /* PMIC vsnvs. EX boot mode */ + snvs_reg: vsnvs { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <3000000>; + regulator-boot-on; + regulator-always-on; + }; + + vref_reg: vrefddr { + regulator-boot-on; + regulator-always-on; + }; + + /* not used */ + vgen1_reg: vgen1 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1550000>; + }; + + /* not used */ + vgen2_reg: vgen2 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1550000>; + }; + + /* not used */ + vgen3_reg: vgen3 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + }; + + /* 1v8 general power */ + vgen4_reg: vgen4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + /* 2v8 general power IMX6 */ + vgen5_reg: vgen5 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + /* 3v3 Ethernet */ + vgen6_reg: vgen6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + }; + }; }; &uart3 {