From mboxrd@z Thu Jan 1 00:00:00 1970 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 5B7951125852 for ; Wed, 11 Mar 2026 16:21:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: 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=nX2VLMMxzsqHC8tfGhodSpGERlVf9p+B3j0GpKk5w2Q=; b=nPdmOP5T7przy+ Kal813moMSMEIIpL5HF9r5ihuw2gWUkL/ZJPewaomNcwBumD68cc78Rl3SyTkLFJoZ9/hivh+ZzKN tb6a2SgolBpVXwa88mhTQSRqqRUWWYzGnIHF3sVHU/NhsDt/ZjqxrLEND/DvFcAXK4YS2xVuPa5cR gme2v3xpRe3FfONT2AzModWOfMBnn+CvNWugC0m77HEqAPpwBuLAKiMwxigOa1JjM6Ed78J1peUCY Oy/VVp5VbUmEU//WDoPrz2le8CFC/0b4GTi/RHqX1usXuYSFMrTxPq9KBwNaSpFQBRlNN3mvRkf2s K2xSN1CphTEpeNrp223Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w0MIu-0000000BuUQ-0Uh7; Wed, 11 Mar 2026 16:21:00 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1w0MIq-0000000BuT1-2gyA for linux-arm-kernel@lists.infradead.org; Wed, 11 Mar 2026 16:20:58 +0000 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4852e9ca034so188055e9.2 for ; Wed, 11 Mar 2026 09:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flipper.net; s=google; t=1773246054; x=1773850854; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=nX2VLMMxzsqHC8tfGhodSpGERlVf9p+B3j0GpKk5w2Q=; b=BQ84jwJyAdhfcCQbF7O9qINf75e34mEMMABfq6778PNIC0ZI6jCfp14sCFXLyY25wG LP0D4SrfdDTpg4J4anm5H41xV+BrG//VUc+mSKnwDLTdte2zW8E5oVzYZLRwG6f7lub2 Gzxv65Klfo9CpXzsTh7QloODFOi+lubRrIO8AsaWx4RdH9FPxIsF3tAlh3cpia1oD0iP aOf8xRlKVhB6WjSloq1OY3o0iP7lm2AQV080zmKO6y1wNxLm7cUJozFe81SjU/ucN80M qO8esXPX++1c3jl2i9eGSl6lx/suOiaspJfsX7YdtVnxtOiZB1zIkg2Yqc+4pRvkQHni y2kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773246054; x=1773850854; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nX2VLMMxzsqHC8tfGhodSpGERlVf9p+B3j0GpKk5w2Q=; b=Leeu6LfjSGKwtJYZZKey80IcEjDOAdZV0ojIM3A7y5+Sn6aFkzduDbzttVpCjJhPj/ F16TWfMx+f4h/9GoMCT7pLdfvtT2L7EbqNe6yV0QSk6jvNvwwuQK8lhAmCPPCoq922wC +PLCWtwRy4c143LxPAr9TChOGnZPxzpM+nLqa+3aSZBfmnx6bD3pVN7f3mt9cx7yBA9l sUOoBD+gUVgK2+uepNLj88yw8l7owugyfxTT/dPawLIMwaVxpIVWY/mdxHbOt2uP+BS7 t1yMnr48acJyZ6OiywrJB+FOKDL+BGQpQA8j7yp+ZI0yrpEz6gkWYs6QxOleQf88e/8u idJQ== X-Forwarded-Encrypted: i=1; AJvYcCWhTqE3WLMgKjYPUGO1LKTYVCqGaFxrMNot8yCnnqyCPChKEkMmVbPKDvx8aX0HwjFZcW1kw//qeNJ0hnBgKwcU@lists.infradead.org X-Gm-Message-State: AOJu0Yy2kmKWFCQDWJOBbq+SV04Ike/Ptc9fftvJc4OlVSDGqWcN6qGO VabzUWwvMJ+FxzTdBtCsb3PUbxeHsDasld+LqABlDo/dXwBGOsPaxTVOnFPEvBUR0pM= X-Gm-Gg: ATEYQzydJNma9tdMa/SO+DrhE1VOcL//VM88gd8LPG0CnS6FAvbI+fCeeDnaTcgPIuS xAtg5ZGMm69HuTESH19xHQjTfbZK4MuvC6+NWJ7VyENBhawHmHlJhklyWzj5Z5fv/jN18XWGEcq D3eSjLub1H449/yEv65GtRJ3KaVafH2Z6PHWaOUsl+7CUgPGqpBBHbzSMyWSKVctBkI1o5ihFlL WUKFEohQM7mZyWJ5tYN5LHhhtKBLEbBLQXqt2Iwc1QU8u2A8ShwMREh3ndJhRaR6jO7pWuIIOfv pU5ItDOdUNUg+wI+ojSBTyEKneNHeywNjaD/x+tlc69282Ye8Zxw0pzyzH3lX8XcPPv/gqgMAPc mgYLmDagMNFC/onp4Ke9g3R/kf2K5/75j2GuvRPgTsP317zf0LrlUhaTHHrMYwsPtucKIcls/aj eI6H4JejpMRIWrhTNGTnMWuqXKh9Yi4IIrKEW8p1jLEbJ0mk8EToKCmuQJXPTrjyZ4etDAw5hKW lZV1Q== X-Received: by 2002:a05:600c:3551:b0:485:2f6a:6ed with SMTP id 5b1f17b1804b1-4854b10cf6amr56781205e9.28.1773246054111; Wed, 11 Mar 2026 09:20:54 -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.20.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2026 09:20:53 -0700 (PDT) From: Alexey Charkov Subject: [PATCH 0/4] Add HUSB311 Type-C controller Date: Wed, 11 Mar 2026 20:20:43 +0400 Message-Id: <20260311-husb311-v1-0-f25bcb58cff7@flipper.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAFuWsWkC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIzMDQ0NT3YzS4iRjQ0NdI0vDpKQkw0Rzc3MzJaDqgqLUtMwKsEnRsbW1ABz u0vpZAAAA X-Change-ID: 20260115-husb311-291bbb1a7776 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=1542; i=alchark@flipper.net; h=from:subject:message-id; bh=VHojyZCXSGWyb/puDT/r6I88U1uPu/dDZCryYQLDqvo=; b=owGbwMvMwCW2adGNfoHIK0sZT6slMWRunJZ8/M+GRJaJPHfUTkjMT1jK9rauZZfKXK2Pb3kcl z5YZe1zsWMiC4MYF4OlmCLL3G9LbKca8c3a5eHxFWYOKxPIEGmRBgYgYGHgy03MKzXSMdIz1TbU MzTUMdYxYuDiFICpLtrK8L/arcH8bLSs+Jd756oyCoO0lm+sYTfO/sziz2gqHBi4/xcjw4wjfx6 s3bJ0c3POs4bEH3eZFFQfHNkbMNVsMW/93sx5zjwA X-Developer-Key: i=alchark@flipper.net; a=openpgp; fpr=9DF6A43D95320E9ABA4848F5B2A2D88F1059D4A5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260311_092056_705991_C49FE2AA X-CRM114-Status: GOOD ( 10.20 ) 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 HUSB311 is a drop-in replacement for RT1711H, used in Rockchip RK3576 EVB1 board and some other boards closely following the reference schematic. The existing RT1711H driver seems to work fine with HUSB311, and there is no public documentation available for HUSB311 to identify any meaningful differences, so this series wires up the existing driver to treat HUSB311 in the same way it treats RT1711H. This also enables a bare-bones DT node for HUSB311 on RK3576 EVB1, but currently misses the connections graph for the USB SS and SBU lines, as those might require the USBDP PHY ports schema to be updated first for proper DP AltMode support as indicated by Sebastian. Signed-off-by: Alexey Charkov --- Alexey Charkov (4): dt-bindings: vendor-prefixes: Add Hynetek Semiconductor Co., Ltd. dt-bindings: usb: richtek,rt1711h: Add Hynetek HUSB311 usb: typec: tcpci_rt1711h: Add support for Hynetek HUSB311 arm64: dts: rockchip: Add HUSB311 Type-C controller on RK3576 EVB1 .../devicetree/bindings/usb/richtek,rt1711h.yaml | 2 ++ .../devicetree/bindings/vendor-prefixes.yaml | 2 ++ arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts | 20 ++++++++++++++++++++ drivers/usb/typec/tcpm/tcpci_rt1711h.c | 21 +++++++++++++++++++-- 4 files changed, 43 insertions(+), 2 deletions(-) --- base-commit: 7109a2155340cc7b21f27e832ece6df03592f2e8 change-id: 20260115-husb311-291bbb1a7776 Best regards, -- Alexey Charkov