Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2185161rdd; Fri, 12 Jan 2024 01:49:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IGkOmAWLhiRUg34dPkDFPSxEcZv6+AYHmkIj5ZTmKBJ7780HT9E2CisxQNWqTiSU4PVWXEN X-Received: by 2002:a17:906:3997:b0:a22:e690:f09f with SMTP id h23-20020a170906399700b00a22e690f09fmr477035eje.143.1705052977212; Fri, 12 Jan 2024 01:49:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705052977; cv=none; d=google.com; s=arc-20160816; b=rxDpwBkZcVy/mvBHkjHbCMQosSmMoULp1e0e3aWN5ohoV/FnPhofH/FxS6VKYB1hQk HACGyJTqfRCpumUYWerKRjB9O0/moDY9uEOsE6BM8MYJcNZ68DpIph9fyf3isd5iaXWG gm2W2yft33o8jPpFVN36CQzw1G0+Or+0AHcorx5En7jtGk8yDEG+c7Gjmf8rBPalCpbe LmHK6aE3OV+SV4BolFjQHyKbt8YR9xyu9knglFI9WfpjiO69mP2Yv+F8qEWKoz4BzFKM cEeQ5MlvrN2r2ts6HyzrCeJgp/HLI1UynpXTbU/Mh1s4mC/EKjmZg8Ov0TDjO3yawkk5 gIew== ARC-Message-Signature: i=1; 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=LuGD8K11CBQmIhdf5c6VYI6DkDR5nWH5KUeFpU0vuSA=; fh=jVP86127nqY6lQ2iFwv7XBo+ATUxJSI3LRZ9chA5Pqo=; b=TE5HqJnWuqCfiw4cVDsewaADCmiAyE78ksCp8bUkXIcKkD2RpSa8leSUK8HjpKkMX9 /ISkOAUhp6Nsj4ikt9xLHP0uKHYyI2GG6CYfcPKJ1xbLwtAVsSOcRbI9JUCHTPEKLn2+ OrBhXbmapVPhvQo1kUERyehkzOXUNcMRBaqbgZFApG5B8Ea3nH2nkP7LwB4aXB0wBeNM SHMgFJXnU+PIuMG3dIUcgWPdGGHvD3Lo2hXP8sMQTlShzkdxd8vbehIWjBRZLDLyxc5f 6vazTL6/CjKUjearO20t0ykEeZ0fsbBg0nQ6iKWanPHdG6mnb4RSGK5yvgelLk/LDZxD Wp7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=agvbrPbm; spf=pass (google.com: domain of linux-kernel+bounces-24511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24511-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g23-20020a1709063b1700b00a26ae3c6702si1249279ejf.248.2024.01.12.01.49.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 01:49:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=agvbrPbm; spf=pass (google.com: domain of linux-kernel+bounces-24511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24511-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id EB2221F26770 for ; Fri, 12 Jan 2024 09:49:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6824E60BBD; Fri, 12 Jan 2024 09:46:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="agvbrPbm" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 4BA1E5FF09; Fri, 12 Jan 2024 09:46:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705052809; bh=g7FhaFbhntWGCCkCExT62675y5uul510eeZHjE0YvKI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=agvbrPbm+dTH26Wq2f6dm860vARTYaN6RQxO5YqmnRqQVIINpjF4ag04/jXVzKjPG /DdQ60IIZmreQaezYQq4uLBpteVCLMLA5/KJ2f0DIPujUDluh+GNxVYU714Eh9cqWC AzKRqioua2HCef7AVtB28v5h1/RBYqY10s9l3GLUCfIw3YT3Y0mjyAcJqz0Up9gHTu ImJ7A6NgCh+hO/1/HEo9N280SMCFueKn/3swVGB9QfcyPymfGRHnVSMH5nrLG6ssy6 2lYQCTVfyJW0S4RvuEcpX//zgfky7tn7h6wWjpxR6TUc88LLowEt+zQbZswYWRfH/O jxI1MIBW1GWPA== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id EFD153782031; Fri, 12 Jan 2024 09:46:48 +0000 (UTC) From: AngeloGioacchino Del Regno To: linux-mediatek@lists.infradead.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, hsinyi@chromium.org, nfraprado@collabora.com, macpaul.lin@mediatek.com, sean.wang@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: [PATCH 11/15] arm64: dts: mediatek: radxa-nio-12l: Enable the USB XHCI controllers Date: Fri, 12 Jan 2024 10:46:28 +0100 Message-ID: <20240112094632.66310-12-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240112094632.66310-1-angelogioacchino.delregno@collabora.com> References: <20240112094632.66310-1-angelogioacchino.delregno@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Enable the three XHCI controllers found in the MT8395 SoC, used for both MT7921's Bluetooth (using USB 2.0) and external USB3 connectivity. Signed-off-by: AngeloGioacchino Del Regno --- .../dts/mediatek/mt8395-radxa-nio-12l.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts index dbde2c7b3c64..eafce9cb2598 100644 --- a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts +++ b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts @@ -651,3 +651,23 @@ &uart0 { pinctrl-names = "default"; status = "okay"; }; + +&xhci0 { + vusb33-supply = <&mt6359_vusb_ldo_reg>; + vbus-supply = <&otg_vbus_regulator>; + status = "okay"; +}; + +&xhci1 { + /* MT7921's USB Bluetooth has issues with USB2 LPM */ + usb2-lpm-disable; + vusb33-supply = <&mt6359_vusb_ldo_reg>; + vbus-supply = <&vsys>; + status = "okay"; +}; + +&xhci2 { + vusb33-supply = <&mt6359_vusb_ldo_reg>; + vbus-supply = <&vsys>; + status = "okay"; +}; -- 2.43.0