From patchwork Wed Dec 1 12:53:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrej Picej X-Patchwork-Id: 12694319 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 7EA20C433F5 for ; Wed, 1 Dec 2021 12:55:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=f3k6BWyLn2rz/xFCakUeahiscbLgK9WRS0Yr7xV+dQI=; b=KzkGMIW0Dw8h/Y oQxQnBSPCRM5RZuv4/vd+JcYAfj2VzVLoWR9l3Ho+PpnmkcJOnZDIE3zIG10z6eORA0abGcFuR7DW iLWi1w0J/RQjTp/CIikKGIS+aslCESD5b2RmGC9fhlzMlnqodB3Vnd7UTOzCjvB9r9tE2EW916LiF fYi8Ar+IFKyVzD596c1dqBQOQgDGQyBDkdLeAy+bLH2tClhrYZ9cmIfdHPmUzvTeeK8oDQHKvWyNc SJKzJ2FS31ntxFNFHc9pB086JrXi5oQ4wB/Pa0qvF35RxxEq8UJCpV6ObUkPutvdZsC2qx/8nyUbJ w91vFykVNUeofsDhhWNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msP7v-008ZAF-9o; Wed, 01 Dec 2021 12:54:23 +0000 Received: from cpanel.siel.si ([46.19.9.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msP7E-008Ywz-7I for linux-arm-kernel@lists.infradead.org; Wed, 01 Dec 2021 12:53:43 +0000 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=H5gM8bkoYowX+zLAo6nhdpcJwI pk1pjIh/oUVWQ7gUaXkJP9hGzxPpjXWvm+O90GxxYGmT+h6roNu/GrTpnigRU9TB1hxBAAiQ9wfSA cZbR5oaLB/sQmy2eKtpIw2Nr/z1bslUeCyF9Fa6cORXyAxrlJAtgzU1Od+sCrDYXR0i7D18bA5N9H rQCvhSBFY4xr+PUVKnmuhinVJbS++D8rKTwiZjjDxMC+bKsCU/iUd3EvRco4GUhhfoTBpBpB9m/6B ljnCWFcNZeVVsNokWPJhCFdKyCAjAv74vUhJ9VO4z9fqK5CzBBXAsSxHlUK00Fvx82GwkkToBu2Vy /b/Bx09g==; Received: from 89-212-21-243.static.t-2.net ([89.212.21.243]:37890 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 1msP76-008Rde-Hs; Wed, 01 Dec 2021 13:53:32 +0100 From: Andrej Picej To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, soc@kernel.org Cc: robh+dt@kernel.org, kernel@pengutronix.de, shawnguo@kernel.org, leoyang.li@nxp.com, krzysztof.kozlowski@canonical.com, linux@rempel-privat.de, festevam@gmail.com, arnd@arndb.de, linux-imx@nxp.com, andrej.picej@norik.com, y.bas@phytec.de Subject: [PATCH 3/4] ARM: dts: imx6ul: phycore: Change USB LDO voltage for usb compliance Date: Wed, 1 Dec 2021 13:53:26 +0100 Message-Id: <20211201125327.3704500-4-andrej.picej@norik.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211201125327.3704500-1-andrej.picej@norik.com> References: <20211201125327.3704500-1-andrej.picej@norik.com> MIME-Version: 1.0 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 - lists.infradead.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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_045340_638569_3A531153 X-CRM114-Status: UNSURE ( 7.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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"; };