From patchwork Fri Feb 9 18:17:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 199066 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1060374dyd; Fri, 9 Feb 2024 10:54:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVryXXd+LQkeBawdWHzjmONx7LOmUG5OAxdHuxNwManZKZHca7MgAjgvS9phGCvJOg8VVidEqgKGhRztXg4IBnhqlOtFQ== X-Google-Smtp-Source: AGHT+IEoDsZKJlwGuRu8BR0A4gHWX+0DKmerXty0nVneASdd3T+aIcp9cBb1LcBvNBc12DHZhjWS X-Received: by 2002:a17:902:6e10:b0:1d8:e4b8:95e5 with SMTP id u16-20020a1709026e1000b001d8e4b895e5mr106657plk.32.1707504840351; Fri, 09 Feb 2024 10:54:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707504840; cv=pass; d=google.com; s=arc-20160816; b=VNKb3Zt7t/+AvysIZ2gLQq8sJToDzufbmE09jZoLhrkICbumbomDeFnXZjpeCL0VBn haH21ftWmGco809m7WZrwRdPjHQNN9VwX/8tQPD88IGrv2WgPikGrIexiPkvwwX4VeSs b/trJYr96MGGJJrys6ZoibejmhgGDRo5B33agGy0/9KILni/TixMm4AHPfj63kquYXAn Rrm0ANjMCMNlKM8MiFoWlAruGbAy5Wp215eymr4adeLkbjLVNNbQlRaBSOI73qDgQcVS N3kn/t8eaRZydaJtlbmGr5UgGgEVYcrTKc+MCbcduaNSy/v/a0KCK2a/IGi/VCSPv5IO K5gg== 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=vi0Xh6/de/VdBmvgW2JXsUqrGjPjTAm+5sqkcNvU0u4=; fh=8DXXLgOtqZx6e7aNlBYKo18ItPOTprBr52SW4fKxoJM=; b=SXeutLo6QzcauvUclM15e6hMdmk4LkQc4PM3cLmmmmgbJ0uvVPn3/11nQ5zioiX+nZ ZiRtLnSrYBYdfnaj7pzbzBaMVJRf8CiVlINeNRf/bL1pkGaz5zfr3jQM+li2oxJFVxSP U3Cluziorf5Sf8r0H6g5t7etKcryaKjqnjh86QZrS80maZZmH4S+xykiDmq+lTyJPPIY cz+Nc2EirdL/c3R9MP1qFxtL/PkGpFMIezJUBJPqm/cVNlHbM9chHgoJDYqms9jlaK3I /rvnIH79w/AgZpBMAUDfpoWcll3o5jVC3MwEGemJZkFltu4HJLKikdxplosv6UYm98ni VzeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XWY9HYO4; 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-59792-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59792-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com X-Forwarded-Encrypted: i=2; AJvYcCVjV0DzM9ARuECVjQec33srkejIV2Sgl0/cvS29I4W5dUeQ4GgctLYhIUDEb+V9KbZisXypEwZhvlA3kZfLQdXaDvmWnA== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k1-20020a170902c40100b001d955aef796si2089276plk.478.2024.02.09.10.53.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 10:54:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59792-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XWY9HYO4; 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-59792-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59792-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9765BB2AFF9 for ; Fri, 9 Feb 2024 18:21:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8CD42129A7D; Fri, 9 Feb 2024 18:18:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="XWY9HYO4" 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 5499F84A2A; Fri, 9 Feb 2024 18:18:38 +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=1707502720; cv=none; b=OiFUxFnJ8JGuiB8zIcTRnBZRcVjIvM8H9ZkfKFdXYlJXvo4XqgeVlvITf/SxHQB1ExNtIBf4VoxpOlZ28o93E1QK1AKaVpd9hgT15ObKLDTtmyDz3HqfAfJwpPsd6cidIzVCopMtoLNeY0Y9Xy9qPTMyUezEdIfRHGv28rJpBz8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707502720; c=relaxed/simple; bh=WeIVl1zwKI+IWUXLWKWVFzcLpHB4iw+lJXds4NyJ6UY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=G++G1hBLec2igg8b5EfC2RogphsQLgKkNsN9v/50Xy8pyU1rqpPazkhe3QQ1BpQ6iIUK1Ry3jJyZpk9GiCiRXvDdCzSpvdfqSiHxFwCVu8scn9oYgrQvpfqXKsWHZSW4MZu3RAyJ/6BoF+ZOnsXZDm8s8hjZA/+6myk0bV3TbQ0= 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=XWY9HYO4; 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=1707502713; bh=WeIVl1zwKI+IWUXLWKWVFzcLpHB4iw+lJXds4NyJ6UY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XWY9HYO4btgqiR9IRipS2lfv4IjIZtUPD3yRwcavdOewzEc/uu4PV3siERB156nqw CXrrlYH1HK8pbMo3eHCGCAvYMrTgH4Z0ZlhU6Q9ScPqMxh7WlWXqQvyVHlEa8LJzJu c/7y2ZjRB5VmejTRAjdJp8SHFvLqs5hjyvIjWNhy2jpHMQDmWPydsCSA79vTk4b1BB RyX2SxxebKvzwMDpBdcoP2gwfvvpWFH2QG9vb7vQYT+Iu8MVE93weh8vcL2ehVFtNo ndWbuc9uWepwdye/yy0FnGjVp+QfHgt+GGW180Vq/jVTuU5XCWftc0Y+Ey8fzpfkjL FoP1iELJV6J+Q== 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 A0BCD37820BB; Fri, 9 Feb 2024 18:18:33 +0000 (UTC) Received: by jupiter.universe (Postfix, from userid 1000) id 9EB3B4800DD; Fri, 9 Feb 2024 19:18:32 +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 v1 10/10] arm64: dts: rockchip: add lower USB3 port to rock-5b Date: Fri, 9 Feb 2024 19:17:26 +0100 Message-ID: <20240209181831.104687-11-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240209181831.104687-1-sebastian.reichel@collabora.com> References: <20240209181831.104687-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: 1790448595314699817 X-GMAIL-MSGID: 1790448595314699817 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 --- .../boot/dts/rockchip/rk3588-rock-5b.dts | 21 +++++++++++++++++++ 1 file changed, 21 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..db6f0e91f62d 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,14 @@ &u2phy3_host { status = "okay"; }; +&usbdp_phy1 { + status = "okay"; +}; + +&usbdp_phy1_u3 { + status = "okay"; +}; + &usb_host0_ehci { status = "okay"; }; @@ -771,6 +787,11 @@ &usb_host1_ohci { status = "okay"; }; +&usb_host1_xhci { + dr_mode = "host"; + status = "okay"; +}; + &usb_host2_xhci { status = "okay"; };