From nobody Tue Apr 7 22:04:10 2026 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 E5B443E2764 for ; Wed, 11 Mar 2026 16:21:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773246072; cv=none; b=QSZl8ZTTZeBwun7pmPGoFzfbjt9MwSRutBqy8pg6kuAh7y/LbPc1EMvr2OnCE9iWYDdv6jgHpIDQjaBa3v5JeYIkdOIMU6lh/6QHdOv37QNQYT4oPV8PyZ+EBzQZezVvKKBKUK5lFAALbSv3zrm5pty5cfxUdYJh1ddhOwGy4e8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773246072; c=relaxed/simple; bh=aTYkOItHw6/UdJWcy/m8IRD3FteMfp8S2ed7FbrUbHI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=La7gDBrk168iGlYP4k8S7y13PT2UPvRn0PTBYwyh+DP0EVjiHK91hyYANabmOzQAQ853sYEdbxJubaKyekVQvbEo8RtBofyfHRA+LbX4T/VJJDcFq7zvfyfbg0lbekwQeFFKoYmbspHXV6zuNacTx4iV/hcWL7cTlrlQNxTONwc= 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=f1C7ORNz; arc=none smtp.client-ip=209.85.128.47 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="f1C7ORNz" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4852b81c73aso163265e9.3 for ; Wed, 11 Mar 2026 09:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flipper.net; s=google; t=1773246065; x=1773850865; 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=TP8PcAKjtgL6kY/iJ+s9NgDULWjFTdaiB417DZFinrk=; b=f1C7ORNzaSu3u0mVvqXwdBZ7N89GhEHducyRCYN/rdbmUX8/615S9bQARIy9Tw1lyv ijpJI8LWcHDnebnu/X2AVwkSZKk1XRD7NS8mZsUY1VqwdhJjJ2zAlH7KRLwK9tQm2/0c rMYbd8Ro9iwJXgbHHYyVujwlT+UKjGx54YB7k5UeWB95jMdRaeHFUGu1d56LFrrHdrM2 357YnMgJ5RIp1i8Xt94OrjxgadhFIHAUitqKUqocaqHZqZbBO6sDoKuQQ7vXROailSDb EgdMoWZfU+F6lje3YSVv2ZkJYAP3f3dQ58JX3XGuKkVqFtLiWrSwsZMzLiNBgyX/joTY unqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773246065; x=1773850865; 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=TP8PcAKjtgL6kY/iJ+s9NgDULWjFTdaiB417DZFinrk=; b=EiodCKdzqNm1oMUJNX2fXlfpdHcugQKd1P34XzXh7Ov/eQCdVAKnMCHF0xNEaEy9HA y5PdhFhPM1M2Mz2za0cJqj9Ihqeq1gxwDdssJateY6k6rJIOVVsgoBd+kXGA+CNxDs1B 9xCsaTlfXOHaJdJ++Vpqkk9naPB+v1Ew8+CbKKVDzPLwLHpkbYslGhwKgz2VwRPbJppd SW/eysOOSOOFN7D7vDV5I0347ERtzs+56qBK0Ahs8Pw9ISFOWtQUECjNVMVMVI8o+iI6 tlfDCxehsqVnewXezUKBfxiaAnsf4LI9xkIEbAbXo/IcCHxQ8c6YX08fumEng2y6OQHj 2bww== X-Forwarded-Encrypted: i=1; AJvYcCU59Ti3DAxcluTXupO8P5KtDmWdlfmUwBKSO21Egu2i5szWGrOuMGeUiTCMlq56vOSCbovRAI+BlA7Rg9s=@vger.kernel.org X-Gm-Message-State: AOJu0YyaFe8/331EtLvJi04PKBbde6jmE+81fIfbOlnOnvZSeJBR2e7p Hpg34w1I0mQi8wle2c8SYxJiWH2HAnu6HpsOdd2WpY/X1M+CmI9qwmBouinKToj3s6k= X-Gm-Gg: ATEYQzzF/HiJRwYKli+9KlnKBMJ3t/bIYqgzynQ22GoMQ1i+fS6fDxl+dchy9OYpZbr eTbmqVYxvQPZ9Yor51XBJNUnXTa+6Wyimwv3I7VqvlffIzcN5ZMAkrpPdxgVc1bs5ytdaqG4BPH 9YPk/VKgRZ8xGJipJXEVIHl0EVa37LmsMsYI3R4Ov2QnpDvfTUzgQzTkP4djbZ412pwQy4/XZLy 1TvbmUYLn00ohVR0tzYen7vpSEMNT1JfB0bg/184NqxFeu5pXaHZCWw+HfRjwjNd11GgjWnvWOP cJTvurqtIpRxmrAXRMilRAMM1S3Umn/Zx5gyAEnl1+AAMwSn/pv+MBNf6ac3CW6TyhaRMkcVfIE YECFTMhx6If7ho3oUaW+dUpuwfpFeOiPBUuUJpdsfpxAxw7S9M2L13gH/heK9RTvGC/AbW8hfJx hSvamxCKw5m6El79KXXb/y33lUAAB0SjPxgEyHryXj2blvnJthAeCfJmFrNDUv2CJROQjsvrsSM DFOXw== X-Received: by 2002:a05:600c:4452:b0:485:3c7f:527e with SMTP id 5b1f17b1804b1-4854b0d6a55mr54482765e9.15.1773246064959; Wed, 11 Mar 2026 09:21:04 -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-439fe20b899sm283952f8f.23.2026.03.11.09.21.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2026 09:21:04 -0700 (PDT) From: Alexey Charkov Date: Wed, 11 Mar 2026 20:20:47 +0400 Subject: [PATCH 4/4] arm64: dts: rockchip: Add HUSB311 Type-C controller on RK3576 EVB1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260311-husb311-v1-4-f25bcb58cff7@flipper.net> References: <20260311-husb311-v1-0-f25bcb58cff7@flipper.net> In-Reply-To: <20260311-husb311-v1-0-f25bcb58cff7@flipper.net> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heikki Krogerus , Greg Kroah-Hartman , Gene Chen , Heiko Stuebner 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, Alexey Charkov X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1862; i=alchark@flipper.net; h=from:subject:message-id; bh=aTYkOItHw6/UdJWcy/m8IRD3FteMfp8S2ed7FbrUbHI=; b=owGbwMvMwCW2adGNfoHIK0sZT6slMWRunJay6ZFYZcH8+HXP9hmdf3RaZfF1d31xh8Ulzkp5o rnpH9rud0xkYRDjYrAUU2SZ+22J7VQjvlm7PDy+wsxhZQIZIi3SwAAELAx8uYl5pUY6Rnqm2oZ6 hoY6xjpGDFycAjDVbxYzMsx/MFf/gu+v3T8VhQo9TyvVMOW8ePEyME8sPVwn6VCxpgAjw2S/NUu uLLpc1845+/T8YBMnHt7HzLti9kzVZZkiLF3HxQEA 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://gitlab.collabora.com/hardware-enablement/rockchip-3588/linux/-/= commit/fe29a74fd38aa1beb4a8101fdcecebaf3444e5f9 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 f5746bc2970b..59bc1ac6d3d1 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" =20 / { @@ -768,6 +769,25 @@ regulator-state-mem { &i2c2 { status =3D "okay"; =20 + usbc0: typec-portc@4e { + compatible =3D "hynetek,husb311"; + reg =3D <0x4e>; + interrupt-parent =3D <&gpio0>; + interrupts =3D ; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&usbc0_int>; + vbus-supply =3D <&vbus5v0_typec>; + + connector { + compatible =3D "usb-c-connector"; + label =3D "USB-C"; + data-role =3D "dual"; + power-role =3D "source"; + source-pdos =3D ; + }; + }; + hym8563: rtc@51 { compatible =3D "haoyu,hym8563"; reg =3D <0x51>; --=20 2.52.0