Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2313724imw; Sun, 10 Jul 2022 03:24:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1viaAE4ytYXoiwyRk8gMUFhrhlt6urqihWXdE8WTGm40aJ8n8LTO0hwp5PZYXkGi6vQoe84 X-Received: by 2002:aa7:cf08:0:b0:43a:6d32:f71d with SMTP id a8-20020aa7cf08000000b0043a6d32f71dmr17403792edy.192.1657448666942; Sun, 10 Jul 2022 03:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657448666; cv=none; d=google.com; s=arc-20160816; b=MnvMNpS3+d0nztxllhOuASJbNkrht8s9ybXCVg3RJlOfIhx9K3cvgQrqZZn7ngXGxO +rCI+S1GxljhNmz7QQbW49kN/Mw8bxR/u3aKUgayMH/oquWYWEm40wIM7nTOyMz2Dezt JF8DQdu3wzQvxbWNpnWzrl6LxCMnJoGbruMR8TAclFrWZuSppJdSuQVoV8L8gsXRaYRl qwum7K+WeX8bbN3UCQe47GJ9k/BqK60w3fdgHneDPoPwn0/a7OW+Djs7mSzp5dq7kHTA eZzCkuZbjsAMKSmOumPoB/IOAwV0RvKKyhICoIsr000QtzjuUfWM4bo2+ApkT/5zTEYk ucMw== 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=79mVGvuRuFphZr8ZDst9en4gpqp5ub/+LkH3Wt51zn8=; b=n6cyhq9NtRaEl5CJyGYAlJNDB3OBZyfME8CdCV35LnHPReM6pI51eME7rRgZfmoVgc G924X3WmoWQm5DoL5G+13LOWfWNOwP7FN3YlmOIiY16ve/7e2vsOdOF2vo5YY0faS5ox oC3p9nuuM60g7M1wMWi/qgSEmvkKhbuWwr3+CqCsPT53/CNnInFGnUD3zHd4G0wBJUFb e/dqi+BWOI+/wRK+zkycdXrHOiobtQH9+07sS1gZ1UzRfYUSj1Oj3L1Aus4o37JvH/nA TGuAwaW3k4FkGjXB7kTjwF0DDQ8xOJO6jNqfiJ4T9jmlsQU13MNCwIAh1jxO8lc1Kjnv wSgQ== 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18-20020a056402279200b004357dc75c7esi6141197ede.455.2022.07.10.03.24.02; Sun, 10 Jul 2022 03:24:26 -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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229561AbiGJKV2 (ORCPT + 99 others); Sun, 10 Jul 2022 06:21:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbiGJKVY (ORCPT ); Sun, 10 Jul 2022 06:21:24 -0400 Received: from maillog.nuvoton.com (maillog.nuvoton.com [202.39.227.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2F015DFA7; Sun, 10 Jul 2022 03:21:23 -0700 (PDT) Received: from NTHCCAS01.nuvoton.com (NTHCCAS01.nuvoton.com [10.1.8.28]) by maillog.nuvoton.com (Postfix) with ESMTP id 3690C1C80FA8; Sun, 10 Jul 2022 18:21:21 +0800 (CST) Received: from NTHCML01A.nuvoton.com (10.1.8.177) by NTHCCAS01.nuvoton.com (10.1.8.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Sun, 10 Jul 2022 18:21:21 +0800 Received: from NTHCCAS04.nuvoton.com (10.1.8.29) by NTHCML01A.nuvoton.com (10.1.8.177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Sun, 10 Jul 2022 18:21:20 +0800 Received: from taln60.nuvoton.co.il (10.191.1.180) by NTHCCAS04.nuvoton.com (10.1.12.25) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Sun, 10 Jul 2022 18:21:20 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id C799E63A20; Sun, 10 Jul 2022 13:21:19 +0300 (IDT) From: Tomer Maimon To: , , , , , , , , , , CC: , , , , Tomer Maimon Subject: [PATCH v1 0/2] pinctrl: nuvoton: add pinmux and GPIO driver for NPCM8XX Date: Sun, 10 Jul 2022 13:21:08 +0300 Message-ID: <20220710102110.39748-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 This patch set adds pinmux and GPIO controller for the Arbel NPCM8XX Baseboard Management Controller (BMC). Arbel BMC NPCM8XX pinctrl driver based on Poleg NPCM7XX, except the pin mux mapping difference the NPCM8XX GPIO supports adjust debounce period time. Arbel BMC NPCM8XX Pinmux functions accessible only for pin groups and pin configuration parameters available only for individual pins. Arbel BMC NPCM8XX has eight identical GPIO modules, each module has 32 GPIO ports. Most of the GPIO ports are multiplexed with other system functions. The NPCM8XX pinctrl and GPIO driver were tested on NPCM845 evaluation board. Tomer Maimon (2): dt-binding: pinctrl: Add NPCM8XX pinctrl and GPIO documentation pinctrl: nuvoton: add NPCM8XX pinctrl and GPIO driver .../pinctrl/nuvoton,npcm845-pinctrl.yaml | 205 ++ drivers/pinctrl/nuvoton/Kconfig | 13 + drivers/pinctrl/nuvoton/Makefile | 1 + drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 2634 +++++++++++++++++ 4 files changed, 2853 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml create mode 100644 drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c -- 2.33.0