From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (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 B32FA3AA1A8; Tue, 31 Mar 2026 11:41:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774957294; cv=none; b=BaCLBihevROOqS59NDyXKbi5anXXadnno/nLpxGzJ8J5hToYr9yP3aNM3qsDSl7MaZfIQ/9z7f4wODSnF+AcYgv2dpx44CMAdkrL389lkt3DgjgjPZuDcozK8kDri/Xu1jpriMWgdB5To+cGNPc02ec/tPuyPHiFHjYdFRiM3QE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774957294; c=relaxed/simple; bh=omTf43XJQQ1gJeVNKCXZo8f3rm6ZOr0FArS2I9ZSRKY=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=aQQ3rztkmcy3Jp/RJQED4EdkJB7rsnifIIMHZzQxoy5J8BdPv/lPxG/rCOZSuG1WREkz4fd2SJm4qWJ4bQZ/BlHoGwLNF2g6/yg6ih9hKxJFxWJv0RDBTuThcKZwAnV+TDQc539WKsDWBcHVZhFl/qr532yGSQqs+iAeBolW4JI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.b=gzQlC5km; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.b="gzQlC5km" X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 62VBcZOf93149078, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1774957115; bh=SjlovpYWEBSsDzmnlFbYwK6SwID1Cx3wsIvtuW2FSf4=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:Content-Type; b=gzQlC5kmGFH2OyA6f5IUp7y5SBpM5HK9Pafgo74YshVp3ELTyGcmDLvTI/EdBhj3o G6Kcv4eVxU+VIPyKezl06uLA0SCqE1H7CCtpIt7kd5nis8+ejzHB4u5x76UpLw/Dh+ o0xLdwcZ9h5kUgfq1O1B48ZMSOYMrHyIgMbcHFEdtEa74PP1l80EHW2tiZUSBDjD2b kV4dNbeMYZXPPlG9lukjIz5fWDguQhkD4wf64mR8e8zFkf8reuvMocSm+uM8TylZMr cJlMzzItkk4EXfS8BQi5d/lnyi88Km3dFen1/LipdhkQsIGsCEfF1z/zE79cs/TKOR sXLk8vg8OtGXQ== Received: from mail.realtek.com (rtkexhmbs03.realtek.com.tw[10.21.1.53]) by rtits2.realtek.com.tw (8.15.2/3.26/5.94) with ESMTPS id 62VBcZOf93149078 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 31 Mar 2026 19:38:35 +0800 Received: from RTKEXHMBS01.realtek.com.tw (172.21.6.40) by RTKEXHMBS03.realtek.com.tw (10.21.1.53) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Tue, 31 Mar 2026 19:38:35 +0800 Received: from RTKEXHMBS04.realtek.com.tw (10.21.1.54) by RTKEXHMBS01.realtek.com.tw (172.21.6.40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.17; Tue, 31 Mar 2026 19:38:35 +0800 Received: from cn1dhc-k02 (172.21.252.101) by RTKEXHMBS04.realtek.com.tw (10.21.1.54) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Tue, 31 Mar 2026 19:38:35 +0800 From: Yu-Chun Lin To: , , , , , , CC: , , , , , , , , Subject: [PATCH 0/3] gpio: realtek: Add support for Realtek DHC RTD1625 Date: Tue, 31 Mar 2026 19:38:32 +0800 Message-ID: <20260331113835.3510341-1-eleanor.lin@realtek.com> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain This series adds GPIO support for the Realtek DHC RTD1625 SoC. Unlike the existing driver (gpio-rtd.c) which uses shared bank registers, the RTD1625 features a per-pin register architecture where each GPIO line is managed by its own dedicated 32-bit control register. This distinct hardware design requires a new, separate driver. The device tree changes in this series (Patch 3) depend on the RTD1625 pinctrl driver, which is currently under review and has not been merged yet. The dependent pinctrl patch can be found here: https://lore.kernel.org/lkml/20260317115411.2154365-9-eleanor.lin@realtek.com/ Best Regards, Yu-Chun Lin Tzuyi Chang (2): dt-bindings: gpio: realtek: Add realtek,rtd1625-gpio gpio: realtek: Add driver for Realtek DHC RTD1625 SoC Yu-Chun Lin (1): arm64: dts: realtek: Add GPIO support for RTD1625 .../bindings/gpio/realtek,rtd1625-gpio.yaml | 74 +++ arch/arm64/boot/dts/realtek/kent.dtsi | 43 ++ arch/arm64/boot/dts/realtek/rtd1501.dtsi | 8 + arch/arm64/boot/dts/realtek/rtd1861.dtsi | 8 + arch/arm64/boot/dts/realtek/rtd1920.dtsi | 8 + drivers/gpio/Kconfig | 12 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-rtd1625.c | 581 ++++++++++++++++++ 8 files changed, 735 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/realtek,rtd1625-gpio.yaml create mode 100644 drivers/gpio/gpio-rtd1625.c -- 2.34.1