Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1374213rwb; Fri, 23 Sep 2022 11:42:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6WfgSUArVpp7gu/AIa6uP1SHkxml3bVyaig9+zFza1SYwPh8YqN1KDeZvm7Ao57xT2/F62 X-Received: by 2002:a63:ea04:0:b0:43a:b17f:cd12 with SMTP id c4-20020a63ea04000000b0043ab17fcd12mr8723787pgi.109.1663958563613; Fri, 23 Sep 2022 11:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663958563; cv=none; d=google.com; s=arc-20160816; b=GuGUaAF5qcojGEKkQhEUhGnZFF+Hixp9zZgWGhrwT3BY5NF3bxyqYksIc3hNmssSrX AHOFNq6mXDCdgDueHsiTYWp+0FEivb75XD6Uc/R9qXfgNGXhsp6xGAD1al+Rqycm5VFY jECCNwUnEO/pxxZ18fPJSL2V7YpHez8PRxRa8BKJ1FU16rzkFx8i3/eH9+Wt10wV9aFZ 3iXvCi5E+nfOnECwL2UC/dt5QSRA9HyWH45FtzV1jHJKJkiBV+grDvLn1DJFbPZIp7DK 0Z3HZOtFCUUh/lQR9+CLRyTnqt5YyxPByRG4aw+1jnZkzBBNrhFyPW0Bp5CGB9XukQTd L44w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=fczxGG7vmYXPh9ePkly/PPhV511YdOBBp4v1Ysrm064=; b=JeSlqkyjLb73n7GFPP7LZy2yJe0kSkUMsy2+An5lLS4dDTwuCjHRw3JHQ+7OvcKC4/ 6LhBR02CQzkrmMYenM7y/O3y3iAn2NMZGo7uYqiYethf/fc9Fpu7VrwyO9/xWlkXUziH TgtNrKA2u1+oe7Yqi+Fc4Xpcb53+L1nYI7Y+E2DdKUgrXyoYbnm6xwH0vZieB3nauT7T qcXWvilli02gDJU3N3R1lLFoU0ToxNceKM15jmTP60wPvHltXqbqedaccUuSE/p0ouaQ Xj1vEdqbvA5K8LJA+Oj1FExMDgkJqcZ1aVkq9VFnnNdFu03MXR41cBYh3jMuDUNU6fFc 4jWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iV3WLkWi; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a17090a4b8400b00200a9235f48si3511634pjh.44.2022.09.23.11.42.31; Fri, 23 Sep 2022 11:42:43 -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; dkim=pass header.i=@linaro.org header.s=google header.b=iV3WLkWi; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232758AbiIWSIb (ORCPT + 99 others); Fri, 23 Sep 2022 14:08:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232650AbiIWSIH (ORCPT ); Fri, 23 Sep 2022 14:08:07 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1BF714AD57 for ; Fri, 23 Sep 2022 11:05:43 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id a2so1482039lfb.6 for ; Fri, 23 Sep 2022 11:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=fczxGG7vmYXPh9ePkly/PPhV511YdOBBp4v1Ysrm064=; b=iV3WLkWiw8PVKJfXEsQ7PtptmVbYgRVJd7Bbf54IomPZTddQy75AtMcSKco4TfiXsA c77oGvOmth7btInY92uRu1omS1/g7Uo1ln1fOfVyO2DxvsbuNk+oi5l9pmSTpnrTYjw5 /N8zhzrA9hyTLuACfg9sHDcH7uE2+nqJeDsc0gL13Qq42E3Tgvi8tOnvgoPRgcS9VqG3 a/BTM9hE7qzYlQdwTOj/BVpyjkLId32U1cmVkERCNXdxiP6IRtp8Julf4+E7ac3eXqvO QWtkLxy9S0Duu1IOTK5cL3x7FLEQomkTFLFvhhUhmhA1BY4NYLF9NonbgiV8LT8/VQJS tx3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=fczxGG7vmYXPh9ePkly/PPhV511YdOBBp4v1Ysrm064=; b=wohdgQIXOw0zD7coDL12X4eyok3RpA8ZWrEfZ5V++PTqjIi0PifHJLpUhHW/NeT0Tm TVqWyezBLFzht81lFRGC5K3Esn3lIKNPvJqY4ON2QeNMcbU9uia4ZUGEzLE2aHLeIeZR 4ue7WSgYapy8l9AyCZ66qBu/H3iYmMjPqAa2yOCz+JSvBSdheL4s3gU8WNOSvhB2wKxJ sc6n9NtJmVbyfQVgGAGK9ZhREndlquvtV092t4Yiq+LbyVPNGFiFPyedDCHFd+DRb/H7 qnsYDbsYrONiX4WH+kENcp9Bg9fQA0JGF3hNh9h++gr5Z8zZv2s2lX3oBTi1y/IRvc6j MUYg== X-Gm-Message-State: ACrzQf3zwx9s8nS+cHQqsg3YbBmX4fcIhd0Y4VIVV9EKLUqk03DlfQY2 0l1FmYIc72tv9ih5HhnTWN2qCQ== X-Received: by 2002:a05:6512:228b:b0:49e:f3d0:4ced with SMTP id f11-20020a056512228b00b0049ef3d04cedmr3509760lfu.625.1663956321500; Fri, 23 Sep 2022 11:05:21 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id t9-20020ac25489000000b00499bf7605afsm1548615lfk.143.2022.09.23.11.05.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Sep 2022 11:05:21 -0700 (PDT) Message-ID: Date: Fri, 23 Sep 2022 20:05:19 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v3 2/2] pinctrl: nuvoton: add NPCM8XX pinctrl and GPIO driver Content-Language: en-US To: Tomer Maimon , avifishman70@gmail.com, tali.perry1@gmail.com, joel@jms.id.au, venture@google.com, yuenn@google.com, benjaminfair@google.com, linus.walleij@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, j.neuschaefer@gmx.net, zhengbin13@huawei.com Cc: openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20220921095053.88658-1-tmaimon77@gmail.com> <20220921095053.88658-3-tmaimon77@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20220921095053.88658-3-tmaimon77@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On 21/09/2022 11:50, Tomer Maimon wrote: > Add pinctrl and GPIO controller driver support to Arbel BMC NPCM8XX SoC. > > Arbel BMC NPCM8XX pinctrl driver based on Poleg NPCM7XX, except the > pin mux mapping difference the NPCM8XX GPIO supports adjust debounce > period time. > > Signed-off-by: Tomer Maimon > --- > drivers/pinctrl/nuvoton/Kconfig | 14 + > drivers/pinctrl/nuvoton/Makefile | 1 + > drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 2485 +++++++++++++++++++++ > 3 files changed, 2500 insertions(+) > create mode 100644 drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c > > diff --git a/drivers/pinctrl/nuvoton/Kconfig b/drivers/pinctrl/nuvoton/Kconfig > index 852b0d0eb08e..3a67cdb346ab 100644 > --- a/drivers/pinctrl/nuvoton/Kconfig > +++ b/drivers/pinctrl/nuvoton/Kconfig > @@ -31,3 +31,17 @@ config PINCTRL_NPCM7XX > help > Say Y here to enable pin controller and GPIO support > for Nuvoton NPCM750/730/715/705 SoCs. > + > +config PINCTRL_NPCM8XX > + tristate "Pinctrl and GPIO driver for Nuvoton NPCM8XX" > + depends on ARCH_NPCM || COMPILE_TEST > + select PINMUX > + select PINCONF > + select GENERIC_PINCONF > + select GPIOLIB > + select GPIO_GENERIC > + select GPIOLIB_IRQCHIP > + help > + Say Y or M here to enable pin controller and GPIO support for > + the Nuvoton NPCM8XX SoC. This is strongly recommended when > + building a kernel that will run on this chip. > \ No newline at end of file Fix warning. Best regards, Krzysztof