Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp86368imm; Thu, 12 Jul 2018 14:43:54 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfByomapuJbhZJCoh5w3kpiysL1kb+pQdFSOg2XB/TuHnqBb9xG8NeFameh6iVSvQ13o7tM X-Received: by 2002:a62:1f8c:: with SMTP id l12-v6mr4175978pfj.143.1531431834115; Thu, 12 Jul 2018 14:43:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531431834; cv=none; d=google.com; s=arc-20160816; b=0Yiic8Q01+4Ck8RAHwoH+IK5ZonTjIcCbrsk9HaPFblX3XgYWZiVoaZNIwjvGAEXBC ehzGagEmvfh0VWjd0Ga04UrvTFFoegx6GkJ6Pk0yoy3dzVck5hHVfPeauiO73bUuMd5n epnfBCWIPb5vHPyletNIQvmitO9Y0gFMtvJPQta28hbv42LOjee9rkQx28Nb9gkewVwU 3XPm/HC1EJyornZ1a1NfQ814/e8bsoUmyXhx1SZxR2zHmtfs/UXHOZUp31xjJ2fuan26 vHq/VOLS3UKD4vphVKaZkEeOLG8PjraiCCbfAdio1rfJVK9JEF3zX1RZcn7+dSDjrGEZ SNaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=nadzi9K899yZxvAZydq3rsLp1Dguzu568lnUj8FVxBo=; b=YffzjBLMpHTrvCh1iRGTiixaZYXgThRWxGepwpoAC2x5JqYItL/HCVkY3K9l+fqvHe cq87fU6KAs9GWArQ+l8cZwGBKJM1oNlMkdQhPlHZfKcrLimxpaDQW/k/jdpcDvArpbj8 kg9lhfWUeR30n8aqeVeSVAuonRuegxY/g0ZkijZTJBYd7lidmGKcOURbqVwlcthNykCU e09z/Sleq4Jj4tBXDO7N20IP8Xhxeif8hbyAHhTKhvIZsOveTn5iNYfj+sqvOIxH3Cs3 VBnCckevOl2VFB3zNi0Z6xpAp3319OtHvkhlhpUtXrAYFxsgG9GecHWpysd13bmjmmEA duYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y23-v6si22455756pgk.427.2018.07.12.14.43.38; Thu, 12 Jul 2018 14:43:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727215AbeGLVyU (ORCPT + 99 others); Thu, 12 Jul 2018 17:54:20 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:35328 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726463AbeGLVyU (ORCPT ); Thu, 12 Jul 2018 17:54:20 -0400 Received: from taln60.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id w6CLg5vV024352; Fri, 13 Jul 2018 00:42:05 +0300 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 5A7D162EDB; Fri, 13 Jul 2018 00:42:05 +0300 (IDT) From: Tomer Maimon To: robh+dt@kernel.org, mark.rutland@arm.com, linus.walleij@linaro.org, avifishman70@gmail.com, yuenn@google.com, brendanhiggins@google.com, venture@google.com, joel@jms.id.au Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, openbmc@lists.ozlabs.org, Tomer Maimon Subject: [PATCH v2 0/2] pinctrl: nuvoton: add driver for NPCM7xx Date: Fri, 13 Jul 2018 00:42:01 +0300 Message-Id: <20180712214203.114844-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set adds pinmux and GPIO controller for the Nuvoton NPCM750/730/715/705 Baseboard Management Controller (BMC). The Nuvoton BMC NPCM750/730/715/705 Pinmux functions accessible only for pin groups and pinconf parameters available only for individual pins. The Nuvoton BMC NPCM750/730/715/705 has eight identical GPIO modules, each module has 32 GPIO ports. Most of the GPIO ports are multiplexed with other system functions. The NPCM7xx pinctrl and GPIO driver tested on NPCM750 evaluation board. Addressed comments from:. - Rob Herring: https://www.spinics.net/lists/kernel/msg2853083.html Changes since version 1: - Remove Kconfig MFD_SYSCON dependency. - Modify setfunc function. - Modify dt-binding documentation according Rob comments. Tomer Maimon (2): dt-binding: pinctrl: Add NPCM7xx pinctrl and GPIO documentation pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver .../bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt | 216 ++ drivers/pinctrl/Kconfig | 1 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/nuvoton/Kconfig | 12 + drivers/pinctrl/nuvoton/Makefile | 4 + drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 2089 ++++++++++++++++++++ 6 files changed, 2323 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt create mode 100644 drivers/pinctrl/nuvoton/Kconfig create mode 100644 drivers/pinctrl/nuvoton/Makefile create mode 100644 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c -- 2.14.1