Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2367981lqp; Sun, 24 Mar 2024 16:07:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXW8629dyoq+ftYyFw1no93jnKsCwuvdBm7RizTXobGIKlqBX9awnxu0oRX6thIzB0PfYqJBwsFqFy9ZV5VTJRrZP+Hr8XYYOd4whhILQ== X-Google-Smtp-Source: AGHT+IHLZ1RHGQS5GvsE6hbRwHXqk1d6PJnFbfslNRnzETalD5Ak+6zZd0MG8AEqPggOwRym/XnY X-Received: by 2002:a05:6214:aca:b0:690:dc3f:4fac with SMTP id g10-20020a0562140aca00b00690dc3f4facmr7370007qvi.9.1711321627644; Sun, 24 Mar 2024 16:07:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711321627; cv=pass; d=google.com; s=arc-20160816; b=Ycl3EthDc7kejojEt+4hZkjEXi4p+qmEzyA87Nzv+tsNIPd0LOJbVtusEBlrFLtn0/ IVEtsXPnZjzG1/5RLnUu0gvQxZtU/5ROH1C1PUtWON+u60LIH+5MI1O0/zxY85/q0lzX wPD6XseeMIR4kRVvOJSclOuIMpJfR9ESrYkSInQPQ4/jenRcAax3SrLF3lyNcqQWm3PQ Z28xo/xNsrgbPY+FRUdHeHM1URuGNMb3kusS56M93tMu3tEY45KTXNQxQVoiOjvkBW4y eZOP941BY/FGe2F6k+St4voE44puJkZi4GUIqgEC2Zx1+CkyKe4oERGgKimzbrS8K0y2 b5iA== 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=n/6FW12uJIaoR/eVHLIr7cQm1hMaRhmQu4FFlA7DBI8=; fh=CdHtBzNHRTzl2yBbQV/vCr/7m3nqqHLwQbSnLqwIHps=; b=bIC5g4Cg+Aqw2+Yrg3omReKk6FW515h/9MIE7Y0VjRiQt7qsU1LWhW6zVyYY4YAFLi vdEPeGdKwIYwlqcByMv5aorNaZ8v9Z3c8Q8FVdOK1WadnNzhkgWGjQPicV1LoZ6QnLJZ WI5NQ6Rj3BUOEUxl3TtYsLsHuhIx2cbS8DZ/n60DJFMqui8PEcW6v7rxagT6hDwZXtOE TPGed0ZoziSkhzf9mth3jwzVJdHpsd5xaW5GaxflfaaH4Naa91i1asvBOW8C1igCA6+e nkxlbHo2IFJd7URAMaKtKNv4hpgROEZLP42hZCyXuy8w/+CSnf8GnGB4zWuyPcH8Jpn0 HR/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CWus3nS9; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113025-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113025-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id pn12-20020a056214130c00b00690b03e159esi6689507qvb.577.2024.03.24.16.07.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:07:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113025-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CWus3nS9; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113025-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113025-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 55D681C21325 for ; Sun, 24 Mar 2024 23:07:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 95F94139578; Sun, 24 Mar 2024 22:37:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CWus3nS9" 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 AA9C51386D5; Sun, 24 Mar 2024 22:37:15 +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=1711319835; cv=none; b=M3DKeQaFmZmWPqwNOVDhx7zEl6tijatowGv247NDGM0/XUa6kSZliWpizVwHR+4P/ih4odpSa0npGH+N9Gw3sGJXyTwxYTXHlu1CMv5XfDBuBDR6qmCsVf/NGqMUqW3RT15hTSnOxM5kfgLdJkawMKezrLIAFf94woSP7bfbW4U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319835; c=relaxed/simple; bh=49DnlI4xLg7fy52362vWUJfff/Ui3fQ8OkDoSAzHm0A=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cayqfoaV5mJJktB6WAJgLCcmsoPreVe0P9mRd+bxVouQQ2dGx/5Y//PDCnfcFFv32a00AHbxFEurC4JLT4057uCX5v3tixGVLlzmyxAVrUolhYpDFSXwWx++dg7ATHwzU8apzLgPaQuZUhZ8G/6E4wzOa3wPuLAaDH+oYpUCyJk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CWus3nS9; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC448C433F1; Sun, 24 Mar 2024 22:37:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319835; bh=49DnlI4xLg7fy52362vWUJfff/Ui3fQ8OkDoSAzHm0A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CWus3nS9BKw7fxkguM1u8m3ZoOBox672PXzYRjq+dnAQsYbzCbfOOUqOvI+pWFXBg ZSTAnZ+3h9WTpdTEww1pZpcdR1gScdBXwYYzo1VBGQ/vBYlqKor/Fp9hCtqKBi1FMX HRgHTGaMU4mqdRdyL+v7HAcFo/ZFZW1SZdRJF63QM4y5bTDp03Zg7fDzJzKU7cF5Az FSdvz0id6udtMsrmdEqnK3enhztKWfTI13QQVaT2APbvfRHbxGSdd5Wchkq4WoN+lv aXOZFzK9IScCAswaxjcakYtb8XVE3spj459xaRIixcgf3cV1i6OVx8/pD1lS+SYqO7 PenAOpKLUBwxg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Tim Harvey , Shawn Guo , Sasha Levin Subject: [PATCH 6.8 138/715] arm64: dts: imx8mm-venice-gw71xx: fix USB OTG VBUS Date: Sun, 24 Mar 2024 18:25:17 -0400 Message-ID: <20240324223455.1342824-139-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-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 6425773f68e0a..bbbaf2165ea28 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 */ @@ -144,9 +133,10 @@ &uart3 { }; &usbotg1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg1>; dr_mode = "otg"; over-current-active-low; - vbus-supply = <®_usb_otg1_vbus>; status = "okay"; }; @@ -204,14 +194,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 @@ -234,4 +216,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