Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp649317rdb; Tue, 31 Oct 2023 19:58:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGGrKYyicIuC69R5pcxKGFyoeWHFVSg/SX9EjrBbMmh+zYeJUMFbcMu7xRGhWbw74AkSqHb X-Received: by 2002:a25:e788:0:b0:d9c:66d1:958f with SMTP id e130-20020a25e788000000b00d9c66d1958fmr11401190ybh.55.1698807526980; Tue, 31 Oct 2023 19:58:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698807526; cv=none; d=google.com; s=arc-20160816; b=NSKwbcLBAxV4I/Pv/+PfDILyXbT2OFEVPN3sSWD1x3zVX6IV9UC35kuEhCmHNII6SY 6O6mZMAZGfqtXEthiQ6Vy45aqwY+UwpHWrH02bkh1V6+tlyg4ZhXVDSVf/P5TSdY8KFU +U8boSSLBctL7bUrdsj/d+xzW9at2/JMTBPURgirdHfDfDERxw6CTY+jPqmATO8wUQBJ QE0HKLpM344VVM3KL+qgZYuU6oYVvnUjGhGzYVE58HW6Y/WoCxhvFbEmvGy6P0nAiCkD LJozyFCETttYNsctxfDEYkOYip1Si2+vzFDiM7MR0Mg5wD/EanoJ5979DCtsi1Vl++Rb FhHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=gMVQIeoX07yUepCqV7XZR05GF1OpZ/M3JVdKhyeSCm4=; fh=4x4CVoEVJ/qmUij6PguRWMnP5yWSWHxwDunzVsvJyrM=; b=CMQIPkhqvwryYpHjoa64AXR6ISs8G3dRn1QNBa5/pwOjOSS8gNwd02smROXk8MvSve 9y8cUn23rG1/DcVl525/ct+LE1rqxYR0+yZXMB0NFcq5/3xoPXNYHZiNWF9cxMLTuoHn K7KwnmpIXTJHTO2k5A9l/OZDmeeWmyixWXCWyR7qrN3FurK5cJwdjCvjurXI6krYBHuV Mmwwc8q8riERASP8txbz51qA4f1qS5c45x/IxleFQHA7AK00nqnkGXNms95NdlhYxPry p6GDsAyyKxCQb54IBGPT3VWjBgGwNaX9m2DmlrjLe2SInWAXWIKUU5VEHWqmUa3Zg8ET tN3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id t22-20020a056a0021d600b006bd82e2d31dsi685542pfj.384.2023.10.31.19.58.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 19:58:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id CB0BE8129AF2; Tue, 31 Oct 2023 19:58:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376743AbjKAC6n (ORCPT + 99 others); Tue, 31 Oct 2023 22:58:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345437AbjKAC6l (ORCPT ); Tue, 31 Oct 2023 22:58:41 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D37DBE8; Tue, 31 Oct 2023 19:58:36 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 3A12wMMV1944732, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.93/5.92) with ESMTPS id 3A12wMMV1944732 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 1 Nov 2023 10:58:23 +0800 Received: from RTEXMBS06.realtek.com.tw (172.21.6.99) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Wed, 1 Nov 2023 10:58:23 +0800 Received: from RTEXH36505.realtek.com.tw (172.21.6.25) by RTEXMBS06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Wed, 1 Nov 2023 10:58:22 +0800 Received: from localhost.localdomain (172.21.252.101) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server id 15.1.2375.32 via Frontend Transport; Wed, 1 Nov 2023 10:58:22 +0800 From: Tzuyi Chang To: Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , TY Chang Subject: [PATCH 0/2] Add gpio driver support for Realtek DHC SoCs Date: Wed, 1 Nov 2023 10:58:00 +0800 Message-ID: <20231101025802.3744-1-tychang@realtek.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-KSE-ServerInfo: RTEXMBS06.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: license violation X-KSE-Antivirus-Attachment-Filter-Interceptor-Info: license violation X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 31 Oct 2023 19:58:46 -0700 (PDT) These patches add the bindings and the gpio driver for Realtek DHC(Digital Home Center) RTD SoCs, including RTD1295, RTD1395, RTD1619, RTD1319, RTD1619B, RTD1319D and RTD1315E. Tzuyi Chang (2): gpio: realtek: Add GPIO support for RTD SoC variants dt-bindings: gpio: realtek: Add realtek,rtd-gpio bindings .../bindings/gpio/realtek,rtd-gpio.yaml | 56 ++ drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-rtd.c | 702 ++++++++++++++++++ 4 files changed, 767 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/realtek,rtd-gpio.yaml create mode 100644 drivers/gpio/gpio-rtd.c -- 2.42.0