Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp351210rdb; Thu, 24 Aug 2023 08:00:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEnxdPbeHa0eFmRK543CqR0GJLJ4T3uzg9tq09otS5cuQrTIGDqafH+IB3SEM8EdsJqFRBk X-Received: by 2002:a50:ec8c:0:b0:525:4471:6b59 with SMTP id e12-20020a50ec8c000000b0052544716b59mr13271748edr.7.1692889247361; Thu, 24 Aug 2023 08:00:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692889247; cv=none; d=google.com; s=arc-20160816; b=YF4XDE+T8vDOlF/ScZAmijn9wu7QTm5SW1Yrm9R4PxJgpG8dAoO7Io+EOepRmaPt4M sFnrDsfrWkrFYaBB/OAoR+lzpL9ENdGBl2IEbK2ZMuC4JO7Af6nW1lp7rI/ZNtmaeUj/ SDtrCAvsr5bDkmAXLXYHzGJOf7+vBxaF64bUAhOdXRCbiPsMZFhqHxzh1PF94byEvwkE ApyGMT9zOhqQRVsxqFuTHUVNWHG1lyHIuPbO/08aOLD2D9yc6DV6AayfdKODvSPIhkLL sIzgqbtrpRbla3zJV82LBpvLB92+HQiw0PwwDBYHxpPjrp+kEPrdXf5JFIJVgXQDxGQW bDlw== 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:authenticated-by; bh=Swoh9nvPvOzxiOiRnJPytVaqdZLPO/xILYaFtS8SPMc=; fh=sUMSIXTjW766fKe+cz11FjUVl1N4xU1lKwQOKZH7ovk=; b=kVeNq7A/et4jGnX6j8kQwPtOqJKGAxPKhTjwAIdeWrXIIzS8IgkF6wFfXGN06OalVl RUUl1KFy4HoUtWcoKK0/bvmYSsTppXN4PVmm425TfN2OMaEpJZrl73eqCXMwprGVRpP4 7Y8mgRUR3GksIUn4/PJRsiW1JGaRBCOPL/+ALMf63UajEgJvvQbKPdLapHIzd0sEkjmy wRSEznPIdkY1TyIKWwUlp0bINfNeyHjN3hUa11r6TEZos9Lu8CfCM4MwVysFvtTJnWIo TePcaPADDpHitVitsZ1rjbdjZRCPOKM2yFa0HmCjptUcIOQpOQGYorEqe9J2D+kylCMa JabQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x12-20020aa7cd8c000000b00527453740c5si10694619edv.457.2023.08.24.08.00.19; Thu, 24 Aug 2023 08:00:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240920AbjHXK5w (ORCPT + 99 others); Thu, 24 Aug 2023 06:57:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240892AbjHXK5U (ORCPT ); Thu, 24 Aug 2023 06:57:20 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 98B5010F9; Thu, 24 Aug 2023 03:57:17 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 37OAujkF7014164, 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.81/5.90) with ESMTPS id 37OAujkF7014164 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 24 Aug 2023 18:56:45 +0800 Received: from RTEXH36506.realtek.com.tw (172.21.6.27) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.17; Thu, 24 Aug 2023 18:57:07 +0800 Received: from localhost.localdomain (172.21.252.101) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server id 15.1.2507.17 via Frontend Transport; Thu, 24 Aug 2023 18:57:07 +0800 From: Tzuyi Chang To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , Subject: [PATCH v2 0/7] Add pinctrl driver support for Realtek DHC SoCs Date: Thu, 24 Aug 2023 18:56:56 +0800 Message-ID: <20230824105703.19612-1-tychang@realtek.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 These patches add the bindings and the pinctrl drivers for Realtek DHC(Digital Home Center) RTD SoCs(RTD1619B, RTD1319D and RTD1315E). Change log: v1 -> v2: 1. Rename realtek,pdriver, realtek,ndriver and realtek,dcycle 2. Remove the wildcard in the compatible strings 3. Add the description for RTD1315E, RTD1319D and RTD1315E 4. Add the description for P-MOS and N-MOS driving strength Tzuyi Chang (7): pinctrl: realtek: Add common pinctrl driver for Realtek DHC RTD SoCs pinctrl: realtek: Add pinctrl driver for RTD1315E pinctrl: realtek: Add pinctrl driver for RTD1319D pinctrl: realtek: Add pinctrl driver for RTD1619B dt-bindings: pinctrl: realtek: add RTD1315E pinctrl binding dt-bindings: pinctrl: realtek: add RTD1319D pinctrl binding dt-bindings: pinctrl: realtek: add RTD1619B pinctrl binding .../pinctrl/realtek,rtd1315e-pinctrl.yaml | 191 ++ .../pinctrl/realtek,rtd1319d-pinctrl.yaml | 189 ++ .../pinctrl/realtek,rtd1619b-pinctrl.yaml | 188 ++ drivers/pinctrl/Kconfig | 1 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/realtek/Kconfig | 23 + drivers/pinctrl/realtek/Makefile | 6 + drivers/pinctrl/realtek/pinctrl-rtd.c | 568 ++++++ drivers/pinctrl/realtek/pinctrl-rtd.h | 124 ++ drivers/pinctrl/realtek/pinctrl-rtd1315e.c | 1439 +++++++++++++++ drivers/pinctrl/realtek/pinctrl-rtd1319d.c | 1609 +++++++++++++++++ drivers/pinctrl/realtek/pinctrl-rtd1619b.c | 1601 ++++++++++++++++ 12 files changed, 5940 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/realtek,rtd1315e-pinctrl.yaml create mode 100644 Documentation/devicetree/bindings/pinctrl/realtek,rtd1319d-pinctrl.yaml create mode 100644 Documentation/devicetree/bindings/pinctrl/realtek,rtd1619b-pinctrl.yaml create mode 100644 drivers/pinctrl/realtek/Kconfig create mode 100644 drivers/pinctrl/realtek/Makefile create mode 100644 drivers/pinctrl/realtek/pinctrl-rtd.c create mode 100644 drivers/pinctrl/realtek/pinctrl-rtd.h create mode 100644 drivers/pinctrl/realtek/pinctrl-rtd1315e.c create mode 100644 drivers/pinctrl/realtek/pinctrl-rtd1319d.c create mode 100644 drivers/pinctrl/realtek/pinctrl-rtd1619b.c -- 2.41.0