Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F9AB3F7862 for ; Tue, 17 Mar 2026 18:08:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773770906; cv=none; b=d7mmoqiOheqK62YheI8wSl2wlZdW65pgf5OJktSp4ciCmnMLJazl75pWckmF6J2Gf/CIld7398TvJsUQylEOTMGfwYyzXi2lFVF2NjaSSA4l1YhhwhMJNs334b0oaEVvUC207UqWiwyIcFklV78wYCguoAdQ4M+AvMYaPdeWJtU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773770906; c=relaxed/simple; bh=IcqKl6Q93uEU2+8AL9hVIxItRFtJRUZB5AVhl781nlw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FohhwO6nUOZdOSM/oorG8ivtpj818BBLa1fYhINEaQiTB+bv92I6rScy7f9x6zsLBtRt/q4NQBU2QU9+BlaU86H268BJ5OrjGUqtgRR8WNr4dujeix3p6vhT93M2vnYVsw4qhFBCjjfbJAbiy8elGarY8otBAJoa8MQLYjonneE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=flipper.net; spf=pass smtp.mailfrom=flipper.net; dkim=pass (2048-bit key) header.d=flipper.net header.i=@flipper.net header.b=csNOpWSW; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=flipper.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flipper.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flipper.net header.i=@flipper.net header.b="csNOpWSW" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-48535a0ef86so50635625e9.1 for ; Tue, 17 Mar 2026 11:08:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flipper.net; s=google; t=1773770904; x=1774375704; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=z7IffOQPDV8+R2vLMwqGaiOzpiBs5raeLy7NwaqA2zE=; b=csNOpWSW243w2N8IZI1VNWQR/aVyoptPIRWFEdGUUJ2532ferNRpS2NUjt12FORKue 5M2XFyBYdEHnkuNmMhQ/5Mj00Yefni8jqSSi6mJXayoDFASh8y4aZ6WXfVdnxn/iV1Oy VjC7yExHeDUfajXQAMhzABWgfFgTeW4Rw65uznI4RpC+g/kDmU+F06StMXVHT68yA7Dg yrn9KN0sjoU0ba68xsly4M5UQT4Ncxsgam/1isE0X4NQsHgH6e5XODTW+hzKfcxiYrL6 UOAhUkPa3x3AyhsQ/lnMeP00eD4bTh9CozT6p9TAXSLA2w2oCgnKw+WH5S94Uo/4b0Ig Dvvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773770904; x=1774375704; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=z7IffOQPDV8+R2vLMwqGaiOzpiBs5raeLy7NwaqA2zE=; b=aWBDl38m+BO6AJO9aznQHHLJg0aM+Fp/mLekyuNTMMyxCi89RuTQO0YjmAZnlkbDbY 0yJ/cbnu0eSglmIjV4w5rjqOAG+qRkNR+w9y6MjBWK1Y4g6xJiDKb6FBCnWcHpn3jGAL drse6l8kmBuzez65lSG+0KmrXWz8ZuLh+G5L4ngdelTB1lnVeE4TbDhv5To7lrMssAxQ XKxf98eKSX3s+YsSTrx7PyRBGvWjqdo2bTMp2uk4ndlOG7SftCMLd3J6wI3DjfH74cIZ WvzXBu+UlI4qheHC2h6HHpjJbhUm9WQBhAj8Nou5hjfM6vAqu9pFPL5aS5ScX3117Y+G yTAA== X-Forwarded-Encrypted: i=1; AJvYcCX8yeowH0Mff5z0VCc+evNfkEGetx5Q+ZG3AqsNlXY01Vo+gUS+UVwPy5gSbSN2ykmpcYpYWk4PN55W@vger.kernel.org X-Gm-Message-State: AOJu0YwXaEqHRdIEmqa9oV2hKHyguC+nFXQaYii/KjN6asSanyyzV+jW iWWVg5+qWi111sIyIsyZymkNkE37p0qTHD+gRB8zAiIrpeKIIYnuxbTkSUK/94f6OoU= X-Gm-Gg: ATEYQzyi5qYb6xsvoOKshmF+LhlsU7jygN7hUA76C62GGaeibayrxDgZUMNCZIn6QyL tf9Pt7EDQfFWdIyoh2lkMeahqbMJAvfxb6QDp7WOwyH/BKMtNfje4YSu17b6LX6/KUfyL5IDTmI 1GSXgyJBNoOk8NBqeXyukGeOALS6wE1mWUiNS6rCG8JIDgZDOUAmg4EaxFemHWZaWr/tvzoV1EW qi8wkLpM1PoLqX76wmXJU08WYBB+A7HDj1LZlTk6L0Nv1TO1BIVkLb6ci3S4yMezUqYyu6j5ll5 EZYUpBkcd92NqnYSGDnebA7YqD1T2MFjE6LXyJJEgU2nnQSaHu5YcVJk5yGNaja9qGkC4IZ/cgK 3Ic+BgzE6miykz4pHju1yXQDqjbapKoUhCsO89pHcqi8dpqb8HU32Z26KDGUDKllnWH0+S2GtKT /ZISVXhUIDbXz+1iT6tORRWpQkBsNIcAUW3viZl6n6xxh7RgydQb6DafiSOF738vTX16LI3k27H KY2bQ== X-Received: by 2002:a05:600c:620c:b0:485:40ed:2d1 with SMTP id 5b1f17b1804b1-486f4475049mr8830515e9.17.1773770903842; Tue, 17 Mar 2026 11:08:23 -0700 (PDT) Received: from alchark-surface.localdomain (bba-86-98-192-109.alshamil.net.ae. [86.98.192.109]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b5184b8b9sm1436536f8f.1.2026.03.17.11.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Mar 2026 11:08:23 -0700 (PDT) From: Alexey Charkov Date: Tue, 17 Mar 2026 22:08:02 +0400 Subject: [PATCH v2 5/5] arm64: dts: rockchip: Add HUSB311 Type-C controller on RK3576 EVB1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260317-husb311-v2-5-03c17c986abe@flipper.net> References: <20260317-husb311-v2-0-03c17c986abe@flipper.net> In-Reply-To: <20260317-husb311-v2-0-03c17c986abe@flipper.net> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heikki Krogerus , Greg Kroah-Hartman , Gene Chen , Heiko Stuebner , Yuanshen Cao Cc: Sebastian Reichel , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Krzysztof Kozlowski , Alexey Charkov X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1866; i=alchark@flipper.net; h=from:subject:message-id; bh=IcqKl6Q93uEU2+8AL9hVIxItRFtJRUZB5AVhl781nlw=; b=owGbwMvMwCW2adGNfoHIK0sZT6slMWTunNHmJGfEaCm+fu6bly6VCnWlgeb5ohfcLIqPLNWa5 uH96gR3x0QWBjEuBksxRZa535bYTjXim7XLw+MrzBxWJpAh0iINDEDAwsCXm5hXaqRjpGeqbahn aKhjrGPEwMUpAFM9WYqRYX257051ceGN7IdvJFzdefLKdct/7G8ynD1yF1zeGz17TyQjw/lPB+b XxN1Z7rlz644PXIxnD5b9YTqx5UVLWbBzYb/WBR4A X-Developer-Key: i=alchark@flipper.net; a=openpgp; fpr=9DF6A43D95320E9ABA4848F5B2A2D88F1059D4A5 Rockchip RK3576 EVB1 board has a Hynetek HUSB311 USB Type-C controller on its Type-C OTG port, which also supports DisplayPort Alternate Mode. Add the required DT nodes to enable basic HUSB311 operation. Note that for full support of mode and orientation switching, the USBDP PHY schema may need to be expanded, such as in [1]. This is left out for now until the respective schema is finalized and merged. [1] https://lore.kernel.org/linux-rockchip/20260313-rockchip-usbdp-cleanup-v3-1-3e8fe89a35b5@collabora.com/ Signed-off-by: Alexey Charkov --- arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts b/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts index fb0dd1bc5148..df6c4b4b05f6 100644 --- a/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts +++ b/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts @@ -11,6 +11,7 @@ #include #include #include +#include #include "rk3576.dtsi" / { @@ -769,6 +770,25 @@ regulator-state-mem { &i2c2 { status = "okay"; + usbc0: typec-portc@4e { + compatible = "hynetek,husb311", "richtek,rt1711h"; + reg = <0x4e>; + interrupt-parent = <&gpio0>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&usbc0_int>; + vbus-supply = <&vbus5v0_typec>; + + connector { + compatible = "usb-c-connector"; + label = "USB-C"; + data-role = "dual"; + power-role = "source"; + source-pdos = ; + }; + }; + hym8563: rtc@51 { compatible = "haoyu,hym8563"; reg = <0x51>; -- 2.52.0