Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5945524ybi; Tue, 28 May 2019 23:50:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2lkSxD3bk5ZCGPLVxlb3LHJ+zyfZJXPWX18jRnQ9xfNFEvXN9gS3jLjFFTuGPZd2DbOOq X-Received: by 2002:a63:1657:: with SMTP id 23mr82381673pgw.98.1559112639709; Tue, 28 May 2019 23:50:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559112639; cv=none; d=google.com; s=arc-20160816; b=ecAGU7uo+pTbD/6o42SaPxE4PWCC+1GEW/4duV8WmyCDVzTjrGIRRNY51O4PYvAi9I qMnjnT2ALaHAUeTMUg5+65HbXTlKtbo8OM7hS5xAVoTTKCY0Kh64i6kC27vZgNywxKkW B9R7O9lEbkVj6IHlYhl/PsiXL0SOYzOF7s6Fg/xqUDixGd7boPJ4e46HtmQodoSTjZuD RPLJl7nl5SF2de+rlhmn1zYcHxTnshu49dW9Di7rSQcJXXRCcgtLlOqc+4rPD4XFc9UU QQwuml/+eev7nmaHr+V6GCgs29ZM6GUbXF/Cgjs0TxfuN7ExuvIwD106pXgw7xA/py9j aTDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=PWhCdHvQFoKxmKxf4YqKsf2BoJst1YuamI3uvS9xxuU=; b=TpDIR3ujb793GhU3qGfsQTLavaAtREKM3QOwFCqZb9nXT72t1WNUG1bmCdClsnx9eY OP7wRG9Q7zOn2zpTqvBUaATptrhC1Zcc2SYUN0Uk8uedsw42Y2SN9O3dn5aNu86FvOZb Xbry2MSFCH8kZUypO3ks9hbSFTPIdYFyOMdtlOP+yTJN7t+N7c6BFNmGlKP88BlTFo4B NT4VeC/KFLtXh3Slp+4rnQi0X02oxaShXy0Zq1+HJFfFDasv9kVX/KeGp8Cj1e9jjlq8 yDvmx4BAXR5v0Mn35CDZO+B6C30s6HFOK/PRcg0Fq73aOGg0qqXCZ7m7W8DEmArgT/gL ue9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k33si4807755pld.359.2019.05.28.23.50.23; Tue, 28 May 2019 23:50:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726253AbfE2GtO (ORCPT + 99 others); Wed, 29 May 2019 02:49:14 -0400 Received: from inva020.nxp.com ([92.121.34.13]:40264 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725894AbfE2GtO (ORCPT ); Wed, 29 May 2019 02:49:14 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 071191A023D; Wed, 29 May 2019 08:49:11 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 7A4931A0002; Wed, 29 May 2019 08:49:06 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 916C1402CB; Wed, 29 May 2019 14:49:00 +0800 (SGT) From: Anson.Huang@nxp.com To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH] ARM: dts: imx7d-sdb: Make SW2's voltage fixed Date: Wed, 29 May 2019 14:50:56 +0800 Message-Id: <20190529065056.27516-1-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anson Huang On i.MX7D SDB board, SW2 supplies a lot of peripheral devices, its voltage should be fixed at 1.8V. The commit 43967d9b5a7c ("ARM: dts: imx7d-sdb: Assign corresponding power supply for LDOs") assigns SW2 as the supplier of vdd1p0d, and when its comsumers pcie-phy/mipi-phy try to set the vdd1p0d to 1.0V, regulator core will also set SW2 to its best(min) voltage to 1.5V, and it will lead to board reset. This patch makes SW2's voltage fixed at 1.8V to avoid this issue. Fixes: 43967d9b5a7c ("ARM: dts: imx7d-sdb: Assign corresponding power supply for LDOs") Reported-by: Leonard Crestez Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx7d-sdb.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index efc83bc..a5365b8 100644 --- a/arch/arm/boot/dts/imx7d-sdb.dts +++ b/arch/arm/boot/dts/imx7d-sdb.dts @@ -263,8 +263,8 @@ }; sw2_reg: sw2 { - regulator-min-microvolt = <1500000>; - regulator-max-microvolt = <1850000>; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; }; -- 2.7.4