From patchwork Fri Nov 29 16:48:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Felsch X-Patchwork-Id: 11267393 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 40386109A for ; Fri, 29 Nov 2019 16:49:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F292A208E4 for ; Fri, 29 Nov 2019 16:49:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="McUGULjG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F292A208E4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=4qpSvfjcWKQHx8eoOpYKIhtBZU3HG6BZbaavy2MbOWU=; b=McUGULjGHW+oEY +3BTWBFl9blc2X25YPRIHnIRxo90tfNLpefBZ9In6/uDtGbgv8n3UdYyHk7Tgs/uJPA8MUpestkHM EvZtUGV3z8KJZT/XEEM2CS0HzNfOBenwNO63IrFe0cQMj7zE0//kEivisDU/f03Hg1bnEPLkERDt0 s7l00aJw6JiBI3Bn2JxeR7Fhlwrj/ttwFPuTMzbj87UARWoN6gktOkqForsbTv5yqgCkhlY41SEDC khVmSdwKdQjsMvuqhW3ggn8tw5vuaWiEwtM1d475nT3xnSq2Vo3nkMBobgU+F6EfXdqP5HrYxitGe ryxh/2wJFC2y7DqZBYQw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iajSn-0007k2-Oy; Fri, 29 Nov 2019 16:49:49 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iajSH-0007LB-1N for linux-arm-kernel@lists.infradead.org; Fri, 29 Nov 2019 16:49:19 +0000 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iajS9-0008VR-BY; Fri, 29 Nov 2019 17:49:09 +0100 Received: from mfe by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iajS1-00046e-5h; Fri, 29 Nov 2019 17:49:01 +0100 From: Marco Felsch To: robh+dt@kernel.org, shawnguo@kernel.org, festevam@gmail.com, linux-imx@nxp.com, c.hemp@phytec.de, s.christ@phytec.de, chf.fritz@googlemail.com, s.riedmueller@phytec.de Subject: [PATCH 1/3] ARM: dts: imx6: phycore-som: fix arm and soc minimum voltage Date: Fri, 29 Nov 2019 17:48:57 +0100 Message-Id: <20191129164859.15632-1-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191129_084917_075349_EE83822D X-CRM114-Status: GOOD ( 10.78 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The current set minimum voltage of 730000mV seems to be wrong. I don't know the document which specifies that but the imx6qdl datasheets says that the minimum voltage should be 1.05V for VDD_ARM (LDO enabled, lowest opp) and 1.275V for VDD_SOC (LDO enabled, lowest opp). Fixes: ddec5d1c0047 ("ARM: dts: imx6: Add initial support for phyCORE-i.MX 6 SOM") Signed-off-by: Marco Felsch --- arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi index 6486df3e2942..46d4953c5588 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi @@ -107,14 +107,14 @@ regulators { vdd_arm: buck1 { regulator-name = "vdd_arm"; - regulator-min-microvolt = <730000>; + regulator-min-microvolt = <1050000>; regulator-max-microvolt = <1380000>; regulator-always-on; }; vdd_soc: buck2 { regulator-name = "vdd_soc"; - regulator-min-microvolt = <730000>; + regulator-min-microvolt = <1275000>; regulator-max-microvolt = <1380000>; regulator-always-on; }; From patchwork Fri Nov 29 16:48:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Felsch X-Patchwork-Id: 11267389 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2F95C112B for ; Fri, 29 Nov 2019 16:49:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0DA1F208E4 for ; Fri, 29 Nov 2019 16:49:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lQV5UYso" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0DA1F208E4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=KTeo3bebg8Cd4Z5SZN7GucO9GlufAb6pSbzHZ0h/HF4=; b=lQV5UYsolXM66d +6nj+tF4EoICy//k7DMNIBq/mu+StgxyTU2pY2Urop4+0/YmFa3GaxJj7uDgEf5AflVB9/gwAF3d+ ks+jBol8I8wNcjX+9Us7d9O4SG4Fe/ZeZIWHlfZx4Mr6HeYLRiQ3pKkrm32g9qbkyyAKsx0Epcniz 8p2Frwk5tUXM7fsbuwLvM/i5Pxt3acbXuSPgViCtj4f3zwxRCF75A5p+EE4X3RmBf3CHnN9kUNPwv WzbrarU7RMd6yTboRXydKWqyTScCI583NQP7EGxvOrsK94CPzACeXNfbxqHeGwV/txNm1jDGBCIYj 9/k97RzdXUg2kNKPRUpw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iajSJ-0007MK-CX; Fri, 29 Nov 2019 16:49:19 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iajSH-0007LC-0h for linux-arm-kernel@lists.infradead.org; Fri, 29 Nov 2019 16:49:18 +0000 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iajS9-0008VS-BY; Fri, 29 Nov 2019 17:49:09 +0100 Received: from mfe by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iajS1-00046g-6H; Fri, 29 Nov 2019 17:49:01 +0100 From: Marco Felsch To: robh+dt@kernel.org, shawnguo@kernel.org, festevam@gmail.com, linux-imx@nxp.com, c.hemp@phytec.de, s.christ@phytec.de, chf.fritz@googlemail.com, s.riedmueller@phytec.de Subject: [PATCH 2/3] ARM: dts: imx6: phycore-som: fix emmc supply Date: Fri, 29 Nov 2019 17:48:58 +0100 Message-Id: <20191129164859.15632-2-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191129164859.15632-1-m.felsch@pengutronix.de> References: <20191129164859.15632-1-m.felsch@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191129_084917_055038_CB2FF63C X-CRM114-Status: GOOD ( 11.77 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Currently the vmmc is supplied by the 1.8V pmic rail but this is wrong. The 1.8V pmic rail is connected to the emmc vccq (vqmmc). Fixes: ddec5d1c0047 ("ARM: dts: imx6: Add initial support for phyCORE-i.MX 6 SOM") Signed-off-by: Marco Felsch --- arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi index 46d4953c5588..44e333848b4d 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi @@ -183,7 +183,7 @@ pinctrl-0 = <&pinctrl_usdhc4>; bus-width = <8>; non-removable; - vmmc-supply = <&vdd_emmc_1p8>; + vqmmc-supply = <&vdd_emmc_1p8>; status = "disabled"; }; From patchwork Fri Nov 29 16:48:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Felsch X-Patchwork-Id: 11267391 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E5B6A109A for ; Fri, 29 Nov 2019 16:49:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A3417208E4 for ; Fri, 29 Nov 2019 16:49:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="o2iId1rX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A3417208E4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=FKsPGK/LkS+F9N1i3kc3AuHQnwvIf25Dpf8RMhej/PQ=; b=o2iId1rXi0sgrH 335oIG5DksFOXa5ewPJZR7TF1FBixZRwWa3WREhTvCgHvR1LseJNw7klwnfsI953Zzsd5buPJHmuM Vd417o3zN9GP8WUKbWGkvk1vtttiOMvKLGukgwzVfgKLSRRi4SkviiROVAoQ4xbh4TpLiTbT4kC4K Ihzth6yVNuJk+FolCgcjRV8PUDvrhCMpGOFtHFroGgxOJG7motAwc2SEVJz44MdoFMWEdcpKBdQ4p ubYXavq4vV1E0FQKL/K0KWMdbj4BxI2X55kXrC9Yfdu5UpttHYNsCRy9lbeQClQytJgEe3NT+W9eT rDvPVU0dr0boji99ksIw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iajSW-0007VP-TB; Fri, 29 Nov 2019 16:49:32 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iajSH-0007LA-0I for linux-arm-kernel@lists.infradead.org; Fri, 29 Nov 2019 16:49:18 +0000 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iajS9-0008VT-BY; Fri, 29 Nov 2019 17:49:09 +0100 Received: from mfe by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iajS1-00046j-6l; Fri, 29 Nov 2019 17:49:01 +0100 From: Marco Felsch To: robh+dt@kernel.org, shawnguo@kernel.org, festevam@gmail.com, linux-imx@nxp.com, c.hemp@phytec.de, s.christ@phytec.de, chf.fritz@googlemail.com, s.riedmueller@phytec.de Subject: [PATCH 3/3] ARM: dts: imx6: phycore-som: add pmic onkey device Date: Fri, 29 Nov 2019 17:48:59 +0100 Message-Id: <20191129164859.15632-3-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191129164859.15632-1-m.felsch@pengutronix.de> References: <20191129164859.15632-1-m.felsch@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191129_084917_051528_95840473 X-CRM114-Status: UNSURE ( 9.28 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Without the onkey device it isn't possible to power off the system using the X_PMIC_nONKEY signal which is routed to the SoM pin header. Signed-off-by: Marco Felsch --- arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi index 44e333848b4d..cb6789807de9 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi @@ -100,6 +100,10 @@ compatible = "dlg,da9062-rtc"; }; + da9062_onkey: onkey { + compatible = "dlg,da9062-onkey"; + }; + watchdog { compatible = "dlg,da9062-watchdog"; };