From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F060C4332F for ; Mon, 31 Jan 2022 08:05:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241948AbiAaIFh (ORCPT ); Mon, 31 Jan 2022 03:05:37 -0500 Received: from cpanel.siel.si ([46.19.9.99]:55664 "EHLO cpanel.siel.si" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242712AbiAaIFf (ORCPT ); Mon, 31 Jan 2022 03:05:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=U0T9NbNc+w7h8+N7scNAD/L+ZyEAGfspWZxqifa1x5s=; b=MXXw5Mi5vxCx+NqXiC8sao1eNC TzrkFiZk03eo++HCwM6Tym08OWbh/rnvoa0UdmZ7gvpSt5pa7AP+IEORM4UXEkuPvw0kplE4SmNGZ m06tKec/XwaFdqOig2n92QcJrd41qu+XNcNVUZusRCs2Ho7b4f9LUJetfMqSXTv2RVn6l+DwmENEO WeaJrIGDl4bfg92zzP8gnhOYZf9Vj25BbCujqcPGJV/pP8+e+IOqTfqZ67PxKS5SlIqxDyKK8iKiN +RLXZH7zgvifKs/sS//kgvEKQKa8ofTvbxJzo8dvt8LfK7lIjQXvk50oxUFMWZ0AmoG0w8LsUIh7a biEF9W2A==; Received: from [89.212.21.243] (port=42748 helo=localhost.localdomain) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nERgi-002KmK-VR; Mon, 31 Jan 2022 09:05:32 +0100 From: Andrej Picej To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, kernel@pengutronix.de, shawnguo@kernel.org, leoyang.li@nxp.com, krzysztof.kozlowski@canonical.com, festevam@gmail.com, linux@rempel-privat.de, arnd@arndb.de, linux-imx@nxp.com, y.bas@phytec.de Subject: [PATCH RESEND 3/4] ARM: dts: imx6ul: phycore: Change USB LDO voltage for usb compliance Date: Mon, 31 Jan 2022 09:05:25 +0100 Message-Id: <20220131080526.1171072-4-andrej.picej@norik.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220131080526.1171072-1-andrej.picej@norik.com> References: <20220131080526.1171072-1-andrej.picej@norik.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Yunus Bas According to the NXP usb compliance reference, the USB data lines for Full/Low speed are connected to the ARM USB LDO, which is set to minimum-voltage = 2.6V and maximum-voltage = 3.4 V. When the regulator is deactivated, the data lines are defaulty driven with 2.6V, which is not USB Full-Speed compliant. To be compliant, we need to activate the USB LDO regulator and set it to the value of 3V, which is the specified value in the USB specification. Signed-off-by: Yunus Bas Signed-off-by: Andrej Picej --- arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi index 3cddc68917a0..2e03be3d43ec 100644 --- a/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi @@ -83,6 +83,11 @@ eeprom@52 { }; }; +®_3p0 { + regulator-min-microvolt = <3000000>; + regulator-always-on; +}; + &snvs_poweroff { status = "okay"; }; -- 2.25.1