From patchwork Tue Dec 5 20:05:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13480690 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 AD2C0C10DCE for ; Tue, 5 Dec 2023 20:06:54 +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: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:In-Reply-To:References: List-Owner; bh=GVCCkCmjjmDVw63hrka8YwxFNXWDqAGzJIHCmBoAb1w=; b=gwsKiKwpubx7Cn WnHOfqvjdRJPBkagprvHr+ZQ4ZniuaSJ43xJ3a3xdDIJMC5v/AeaJvjT7N2u30tF3hEmrCZCXMLCc tGttxlWL6b/iJDhVRZnbtsw8ULuRQa9G83+44s7Dq1fudsrOyuA01EKDeoc3VfGiOBBtRYgLwZv3k Z34Ol4b0cJlhmWNNSLwUaRS99dCFNjH9jHE2NCz8qcBCEJ0K3Also0q4brpbQd7dSvrRSVSsfJ5Yy 9I7BHQOlSK4YmCK/3RNtswjAIs6iYWjFnK0Hv+fRL6bE8clK6cLRrxqsl4qtAWvfsdqicW4ELSi3E UlG1e5o5k9DdXN8/2DzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rAbgY-008L4S-1P; Tue, 05 Dec 2023 20:06:26 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rAbgT-008L2l-04 for linux-arm-kernel@lists.infradead.org; Tue, 05 Dec 2023 20:06:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1701806763; x=1702411563; i=wahrenst@gmx.net; bh=xN/ErPjadN/jV77MFGVvBcX0XwfMsxQpu2tUi/HAjVQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=O5xydmL56/km4Jj1jPYEYps+k1Mmv7BKyU8aAMPoRk8SUZY0SIsHaNHNsFkcSfbQ jGrN392YTbch+oZZldW8OohB3iucp4iweyqQ6lbT9t62wLSdKPstBlInLEmo3NxqZ isuh+HTe3tU3dNPEFKdPtwpIa59DknIYq+q0JA1Lt/LcR6JSYJbauwyPMn93b0poT di6M99UiObSf5EOdjD/OSyDKh8zIhgeoD6WLTwwIvDhDergFosL2t4WBl3l0nbAu4 Z2C02/de+of0gh1q/41CsN363YVlNORHjpbO4TR4XKgj5iNGkdoq1TJL98/t4xh+3 zEIahb9A6/r/HlAtfA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MJE6F-1qq3kn489T-00KhYQ; Tue, 05 Dec 2023 21:06:03 +0100 From: Stefan Wahren To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Mathias Nyman Cc: bcm-kernel-feedback-list@broadcom.com, Cyril Brulebois , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH V4 0/3] ARM: dts: bcm2711: Add BCM2711 xHCI support Date: Tue, 5 Dec 2023 21:05:28 +0100 Message-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466wVNKAGTjil/aiJ8KlWkaPC3ByT N+kjVbBYote+cZkmWx5tC1JbrFVSWKlZQzL3K2HKY78L1diks765B0z4HFSLuDxhQfAI+gppI IOt+d9Ian7LnsdrlSTU5HyTzLydCfohsU8KqZFnQc6JLnMwN8qQ/WF5EvX+TmxvNR9Wf+1bqH TAL7/EIJTpg1F+it3Pb9Xsl2qdfzry7ExLZXMwsAHKsqk0v/sA04e+LduwPi40GjdWH7tcLQf A/6eQA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231205_120621_352581_1D0B63EA X-CRM114-Status: GOOD ( 12.14 ) 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 In contrast to the Raspberry Pi 4, the Compute Module 4 or the IO board does not have a VL805 USB 3.0 host controller, which is connected via PCIe. Instead, the Compute Module provides the built-in xHCI of the BCM2711 SoC. Changes in V4: - use "brcm,xhci-brcm-v2" as fallback compatible as suggested by Conor & Florian Changes in V3: - introduce a new compatible for BCM2711 in order to make the power domain dependency SoC specific, which also results in a driver change Changes in V2: - adjust xHCI compatible as suggested by Justin & Florian - keep xHCI disabled in order to let the bootloader decide which USB block should be enabled, which result in a drop of patch 3 Stefan Wahren (3): dt-bindings: usb: xhci: add support for BCM2711 usb: xhci: xhci-plat: Add support for BCM2711 ARM: dts: bcm2711: Add BCM2711 xHCI support .../devicetree/bindings/usb/generic-xhci.yaml | 25 ++++++++++++++++--- arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi | 5 ++++ arch/arm/boot/dts/broadcom/bcm2711.dtsi | 14 +++++++++++ drivers/usb/host/xhci-plat.c | 3 +++ 4 files changed, 44 insertions(+), 3 deletions(-) Tested-by: Cyril Brulebois --- 2.34.1