From patchwork Fri Feb 16 17:01:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 202254 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp653345dyb; Fri, 16 Feb 2024 09:08:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWClxda5odoTjVqjBr7mnw8hMCYkT7cFgTVY8Esa4MHWw2SCpiAanTNGiHBJhpmUbfftBk9obIXgvlq6N7MJmQ/xrYD0g== X-Google-Smtp-Source: AGHT+IEIKboF/8A4yeF8WS7c28LdkQmNCA+D1EzsEETik/t5xAqyfElhg3D4QHDJshM+z0eaK9ag X-Received: by 2002:a05:6a20:c288:b0:1a0:6dd9:ef76 with SMTP id bs8-20020a056a20c28800b001a06dd9ef76mr4630447pzb.56.1708103290738; Fri, 16 Feb 2024 09:08:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708103290; cv=pass; d=google.com; s=arc-20160816; b=IpK6fyqXXnO0iY4GdKlxKu5juzZFVKGyOe8DWvVpqgNgxfvPCR+ybEGfn0igt3JEbQ x5TljC/6gJlLX/DoNj25WBiPaZj3tqLenO/lK7mZlfVNXK5Mjc15tJA2VH5Uhdx/K2gH lPQzmiXEaOH9Pj1STp9t9NzTVsuBId5bjrdyCz9CDsBuqRuVn/iWznAid8z19y/oSuP+ uR3m+6eUEPs904FI+rGAks3Y5VAyxGjzgqq6fpPvsJf5hEbl1Gd6hztxPc7tZ2bnxxDg eCN29v6EoG2V9TgcVJ2LG1I1xKHaVE5fi70S/YQG50zipvvq+6sqGrwmFIGkLNbmIv9o P4nA== 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=yDKTsCef0axmd9R0K3wYPslBnixZD+sSqGb2LVlKdUY=; fh=PR8oX9iAuEV9EE88DNlIUN0LZl0FYAIumwLgJAahQOY=; b=hX5Cf1sLBoD2HrigPUX+mSWCf5n18NKSGoNRT+9lAxJGwxCaCx7F5VVrbF0LdoQQQ6 EUq3bCs2Gqrs4rXTbL3qlQz8agpHYwACq2ITrWZ+2kGOGPKVaLMB6YUVWn46DLbuG0/W /m7Oc7ehryS4p52jRakzrHx9XOSY4ur/3T+CIuOLAIqNZD9vt8f4lrjsvRMM+w/Apojs Xq2+qMiNnXqtiRgbLkloM46iuADZiXcWD5CB8zV8pBo6bb4wGBSw/utswGFzq+utF+g0 QNNUwROIGkzdn2AIq0uPGucE+1vFERMN5aWWl4dMx3tvu1HAHc1JjDCtk1bD9ytuivCT eHjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=yVOfGmgf; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-69023-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69023-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 7-20020a630107000000b005dc81a6b2c9si142831pgb.666.2024.02.16.09.08.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 09:08:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69023-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=yVOfGmgf; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-69023-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69023-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8762C28339E for ; Fri, 16 Feb 2024 17:08:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B6CB136640; Fri, 16 Feb 2024 17:05:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="yVOfGmgf" 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 2917B133994; Fri, 16 Feb 2024 17:05:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708103125; cv=none; b=n6D6ALoIy6qxVLKdz76V3FuByE6n2AWrAkhQsrN5HuS5Fzgn24yl8nYLm3LQv3JBS7HWt8J2bCzFWfZNTLCEYDz1n6aV9NmTEUXBNhQnKI34muacYKhpf+4wP9CmDTPSkJRFOP6Nn6j+R6cUEG+8qwiANG8MlXShp09NBIBZPfA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708103125; c=relaxed/simple; bh=x0cgeWgRq1pe/oohivryYMlY5YOEjfyvfHcbCiW1XMI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XzPW5d3Z7ERdgjp/S0hnMAIx3eMVl17Zcvr1A5v6ZrAA0VNJ3piZAnV5G2FwLZyxqg4h3G3P5L+0NnIV6p2dYlhI/ZsZIy7FrXRSXolAOmoqqbgpuE1xDRStlQMvUfZXfnIeacIzj+nfWLS7QYNRy7rimW6nNzcb1vfzr019TQw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=yVOfGmgf; arc=none smtp.client-ip=46.235.227.194 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=1708103118; bh=x0cgeWgRq1pe/oohivryYMlY5YOEjfyvfHcbCiW1XMI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yVOfGmgfraL06iJ+8UCpf8xLwh84VngZqeSPAIoqmAntiiDpEVFPM+79fu0z8/+T4 FBA1T0eqqbwFPgcyrw3V1kOhILcR4MoyokWnPiGWDVfrVSq7i3tfEreU548+SUw8iz RJnbhwKR+W9TBNDoDApI/QlTg7MZbpyfKNW8Hqp0tOoqW5Eg/253DErKJEzwSsc+Hu dOY9/ztofv+SyIGg7YoFyWTr3aNh+BOnHm9MersuNXtqmt3YSImSduqDw9WagGyhrB HijpFQFVaawLAxrrSVIo4LmHa+XEtOc9HnW9gQrii7lWaaY7UI1KeaMndA3kFZI5WW /BzB+9B2K9MZw== Received: from jupiter.universe (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)) (No client certificate requested) (Authenticated sender: sre) by madrid.collaboradmins.com (Postfix) with ESMTPSA id EF38C37820C1; Fri, 16 Feb 2024 17:05:17 +0000 (UTC) Received: by jupiter.universe (Postfix, from userid 1000) id E1F0B4800D6; Fri, 16 Feb 2024 18:05:16 +0100 (CET) From: Sebastian Reichel To: Heiko Stuebner , Vinod Koul , Kishon Vijay Abraham I , linux-rockchip@lists.infradead.org, linux-phy@lists.infradead.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Wang , Kever Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCH v3 10/10] arm64: dts: rockchip: add lower USB3 port to rock-5b Date: Fri, 16 Feb 2024 18:01:25 +0100 Message-ID: <20240216170514.75200-11-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240216170514.75200-1-sebastian.reichel@collabora.com> References: <20240216170514.75200-1-sebastian.reichel@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791076115988871934 X-GMAIL-MSGID: 1791076115988871934 Enable full support (XHCI, EHCI, OHCI) for the lower USB3 port from Radxa Rock 5 Model B. The upper one is already supported. Signed-off-by: Sebastian Reichel --- arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index a0e303c3a1dc..149bd44ffd1c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -736,6 +736,14 @@ &uart2 { status = "okay"; }; +&u2phy1 { + status = "okay"; +}; + +&u2phy1_otg { + status = "okay"; +}; + &u2phy2 { status = "okay"; }; @@ -755,6 +763,10 @@ &u2phy3_host { status = "okay"; }; +&usbdp_phy1 { + status = "okay"; +}; + &usb_host0_ehci { status = "okay"; }; @@ -771,6 +783,11 @@ &usb_host1_ohci { status = "okay"; }; +&usb_host1_xhci { + dr_mode = "host"; + status = "okay"; +}; + &usb_host2_xhci { status = "okay"; };