Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2543194lqp; Mon, 25 Mar 2024 01:55:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVI8+/BEew0aIEmjxtEMwcGQAUjbVNJlmxqJikaEtqWGA6HoHvQt0tPNskw8wtvrOLT1nYugegU8PY3sHteLXauO36fCsyo5rDkg5zpQg== X-Google-Smtp-Source: AGHT+IGwgXXgc8K9RM85s/VjKLlBJ3qEkr36vR9c2azvKt1Hrj7OFgiDNuPqc1L3zHERjzxwQVA7 X-Received: by 2002:a17:90a:e394:b0:29f:93c2:e7c1 with SMTP id b20-20020a17090ae39400b0029f93c2e7c1mr5112997pjz.48.1711356933747; Mon, 25 Mar 2024 01:55:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711356933; cv=pass; d=google.com; s=arc-20160816; b=aSyT/m858u0sYkk2mOtUJXIY0QoI71w8Vjgo29ald32ivSH10xKxvy2+gngi0j41Ro r2MkvIY0KiKD1/WmPYU1d7E/FuGdRwk9NnygAi8dW2RZ+K0Zqs6vH4T8f1cuwWcCZlyu 3x57C1uiQUvBXN5WxEDAUafjyvB5F4qG8lpzRv3ESCpNZrMczX8XnzH8mnLbBegOdHJK m4u6QlEEJOMlWdcH4SADjw4+z1EyPwe4MyCgLmeVbLboBsgSco757b7rlerlVgWbi+Wi i3SFtejsHZPDEx8UEpDVV4KjHIqs66+Gei82vx+ZqR0fPUf3DW1y0/9kONukNbJ5pO3J ksaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=yuFvKng83ZkWASgnnWNQyWGchcap3FrIFHzyNIvuSpI=; fh=CdHtBzNHRTzl2yBbQV/vCr/7m3nqqHLwQbSnLqwIHps=; b=pU+j4i57P9hzTzOxuZWl9Bq+/UpMiINjIBk2Yadj3KMsUunK6FHnUPxapCrgWNSnNY 0H6twIgUywu1e9uzg8kgbr8HZR8Vx82ZJaENyou+zYFMFsF3IEWGOnQBRY32S7x5ZZ3l y9udugS8Xfa3zr6eOw3IysZHFQ480WgnI9EXG+qI30rC/scmiFZGohX9RIz4MzkkWviJ v1Lujcv9kuOOU73r8VyI3CrX03xpTVsNQZYKKrqAYac0+BAOjszPl7JLDmPPXaqg74E+ 3s4ZfjvLX533HEtcwGs+LaW47NIJ4MCpiC1pPVh32ssh4yJYWnUu9Vh4KVcDe6i2++KE AISQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W2rxi9c4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115801-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115801-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x11-20020a17090aca0b00b0029ac04ec792si11001210pjt.138.2024.03.25.01.55.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 01:55:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-115801-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W2rxi9c4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-115801-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-115801-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D805B29B172 for ; Mon, 25 Mar 2024 08:53:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5BC413736E3; Mon, 25 Mar 2024 03:01:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="W2rxi9c4" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E63BF145FE9; Sun, 24 Mar 2024 23:14:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322048; cv=none; b=NxJYhyM7jO3wwx4Sn6uF8BJZ7pwPWHAV0m9drYqLnFvjY73rWW/VzLLinZxIxeU5iVYriS6B9+Q/Ywa+23jG124xV4zSdQXvBORg0c0TpMsyKtPLQGsv+uL8RTcqtauhSTNUV614J052D3ekNSKnQ2yQoi2PEPiE5uoBLWg17Ks= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711322048; c=relaxed/simple; bh=R/IatUZ1AMwOdQhzRAN+1ix9xjDHHA/aOlINXqZbzSg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YXmA8TMAW25roe5kklje8OgcVNqH0zWLIOPyhQITEt7VX1/uOaR9xIS0ahGkPifejctUnj72/mWjNPbHWvvMmKIeDiC7hCSgioWZDzvfAQF/QDb6fpJ1GlQ2GeYRAoMbjwVFvtHoceiaBq/zrdy7PPuGg0whxskxsPVFYt6EsCw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=W2rxi9c4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 305A6C433C7; Sun, 24 Mar 2024 23:14:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711322047; bh=R/IatUZ1AMwOdQhzRAN+1ix9xjDHHA/aOlINXqZbzSg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W2rxi9c4auHSAByJPHzd4Blm6h3YQK+0CXZq1ry93LHsqvBrNIkX8jeE1+SHZgsSl jMBuYj4nb5ORVgu2XwPzGFt469WVK421HYkElKWLo9plGc7BgNEwIVaslCCbGxHTer G4dvhVQOgHVagUmWRufyWSi76VxRJxD3/kNCZK4U98ua6h6WwGH4lRqrL82EuaFAEP 0u5qdDvH9uwEoMkF54QMNK5q+VdeUSZAodofgfNOEPxUhN8aRlkF94Zb8s7TinMT0l 79hW+sR5M9aMWo88HvpO5wU3kj2a6mQYm+goLB5gQlsGzohNG6GKoU4zUXAPDZQpUm wy7sm8GzZo28g== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Tim Harvey , Shawn Guo , Sasha Levin Subject: [PATCH 6.1 120/451] arm64: dts: imx8mm-venice-gw71xx: fix USB OTG VBUS Date: Sun, 24 Mar 2024 19:06:36 -0400 Message-ID: <20240324231207.1351418-121-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324231207.1351418-1-sashal@kernel.org> References: <20240324231207.1351418-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Tim Harvey [ Upstream commit ec2cb52fcfef5d58574f2cfbc9a99ffc20ae5a9d ] The GW71xx does not have a gpio controlled vbus regulator but it does require some pinctrl. Remove the regulator and move the valid pinctrl into the usbotg1 node. Fixes: bd306fdb4e60 ("arm64: dts: imx8mm-venice-gw71xx: fix USB OTG VBUS") Signed-off-by: Tim Harvey Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- .../dts/freescale/imx8mm-venice-gw71xx.dtsi | 29 ++++++------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx.dtsi index c557dbf4dcd60..2e90466db89a0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx.dtsi @@ -47,17 +47,6 @@ pps { gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; status = "okay"; }; - - reg_usb_otg1_vbus: regulator-usb-otg1 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_reg_usb1_en>; - compatible = "regulator-fixed"; - regulator-name = "usb_otg1_vbus"; - gpio = <&gpio1 10 GPIO_ACTIVE_HIGH>; - enable-active-high; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - }; }; /* off-board header */ @@ -146,9 +135,10 @@ &uart3 { }; &usbotg1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg1>; dr_mode = "otg"; over-current-active-low; - vbus-supply = <®_usb_otg1_vbus>; status = "okay"; }; @@ -206,14 +196,6 @@ MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x41 >; }; - pinctrl_reg_usb1_en: regusb1grp { - fsl,pins = < - MX8MM_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x41 - MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x141 - MX8MM_IOMUXC_GPIO1_IO13_USB1_OTG_OC 0x41 - >; - }; - pinctrl_spi2: spi2grp { fsl,pins = < MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0xd6 @@ -236,4 +218,11 @@ MX8MM_IOMUXC_UART3_RXD_UART3_DCE_RX 0x140 MX8MM_IOMUXC_UART3_TXD_UART3_DCE_TX 0x140 >; }; + + pinctrl_usbotg1: usbotg1grp { + fsl,pins = < + MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x141 + MX8MM_IOMUXC_GPIO1_IO13_USB1_OTG_OC 0x41 + >; + }; }; -- 2.43.0