Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5164626imu; Tue, 13 Nov 2018 02:08:27 -0800 (PST) X-Google-Smtp-Source: AJdET5eVqQpWEF2GgIhaXMr1K/W2EnFwfy7LZ6vXzVlHdN+DbwccMv3I7Bykc1F4wrIM7SRk+Njl X-Received: by 2002:a17:902:8306:: with SMTP id bd6-v6mr4445756plb.321.1542103707909; Tue, 13 Nov 2018 02:08:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542103707; cv=none; d=google.com; s=arc-20160816; b=zcvyV6vB6TCN3PiVHLWl0AsEUeORvTm5S81QCzin8/+QWPSv1qrj4VLq6zFZCTMMdb HRfegNeizX5yV43kNCvZZtTH8/58RZgPPtJclHjPXF7TGtXAq2lyyaUtI8KSX7VRmNl/ Ms+qLhYbnL5GrbHgjQfDi4v6zI5EWwdnO+w5m+jvIfrvsqoBqfeo79z09y7KP/dnLMYe Fm6ol8xPyItdNNcdePpYXX/u2c0azcDrCOchMSYzYEBbxnB703Ix7b7ZBx95/h8eJ40k Sg+arOH/IXMeJ7HEoAYdAR4960CEDpCP+7DtmoJ1TLgSnpAbqrq+p8o+bUwA/zJOvVSc uazg== 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; bh=08dszPqzeJAwx9QiOo5oSuOBuqAsXPy2DBgs66n0DA4=; b=oQH3/3PQxrJ6x9AT0XTKyU5MXhkBDnG2pj2Hf6dqL4fs9JFT5ApSjBuAEIPhvsdX9V LYbjX+j89mFbD/cVfQJyGc6l6/VjgmR7amL7rpMcxIw/gTq7l2ZGmhTJBTaW+zjkQk3p W3Su4PvygJDwk5S/9+nIsMVUjeNynY4/cp1zSDCz05vz9iaZmdvFfJt2HMrr8v2RAbnk xJhTFL0WEqKZMId5U6D3xlk8j6AZLGF95KBabwWAVKWks9CMB4BV1YgCE+z2w+ENA8Hs d9rDUmuzTSoZcYaznwWln1glbbzfkqsjPfFq5SRezNzZp6YPZ3/B3Iil/eW7RhVjf5Mn Q3WQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g13-v6si20341923plo.68.2018.11.13.02.08.12; Tue, 13 Nov 2018 02:08:27 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732088AbeKMUEz (ORCPT + 99 others); Tue, 13 Nov 2018 15:04:55 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:32957 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731448AbeKMUEz (ORCPT ); Tue, 13 Nov 2018 15:04:55 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42vNbR3gkWz1r2st; Tue, 13 Nov 2018 11:07:29 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42vNbP5JCdz1qr2g; Tue, 13 Nov 2018 11:07:29 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id UImaU_HXcTF6; Tue, 13 Nov 2018 11:07:28 +0100 (CET) X-Auth-Info: 87vb/9JBGSEZBQTotGrMvBq67Ho9Mqo5rNHwEbWX25M= Received: from xpert.denx.de (unknown [62.91.23.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 13 Nov 2018 11:07:27 +0100 (CET) From: Parthiban Nallathambi To: linus.walleij@linaro.org, manivannan.sadhasivam@linaro.org, afaerber@suse.de, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, will.deacon@arm.com, mp-cs@actions-semi.com, thomas.liau@actions-semi.com, linux@cubietech.com, pn@denx.de, sravanhome@gmail.com Subject: [PATCH v6 0/5] Add Actions Semi S700 pinctrl support Date: Tue, 13 Nov 2018 11:07:04 +0100 Message-Id: <20181113100709.5615-1-pn@denx.de> X-Mailer: git-send-email 2.17.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds pinctrl support for Actions Semi S700 SoC. Pinmux functions are only accessible for pin groups while pinconf parameters are available for both pin groups and individual pins. pinctrl driver is verified using the Cubieboard7. common functionalities from s900 is moved for all Actions Semi SoC's usage. Common pad control configurations are moved to SoC specific dts entry for pinctrl depends on clock driver which is still under review: https://patchwork.kernel.org/patch/10533959/ Thanks, Saravanan Parthiban Changelog in v2 - GPIO Interrupt support is added - Device tree entry for GPIO and Interrupt configured - GPIO and pinctrl define reorder, commit message findings fixed depends on owl GPIO Interrupt support https://patchwork.kernel.org/patch/10483477/ Chnagelog in v3 - Fixed 0-DAY bisectibility error Chnagelog in v4 - Fixed 0-DAY sparse warnings on static declaration Chnagelog in v5 - Rebase to mainline Chnagelog in v6 - Rebase to 4.20-rc2 mainline - Fixed nitpick findings in v5 Saravanan Sekar (5): pinctrl: actions: define constructor generic to Actions Semi SoC's pinctrl: actions: define pad control configurtion to SoC specific dt-bindings: pinctrl: Add bindings for Actions Semi S700 SoC pinctrl: actions: Add Actions Semi S700 pinctrl driver arm64: dts: actions: Add pinctrl node for Actions Semi S700 .../bindings/pinctrl/actions,s700-pinctrl.txt | 170 ++ arch/arm64/boot/dts/actions/s700.dtsi | 16 + drivers/pinctrl/actions/Kconfig | 6 + drivers/pinctrl/actions/Makefile | 1 + drivers/pinctrl/actions/pinctrl-owl.c | 71 +- drivers/pinctrl/actions/pinctrl-owl.h | 142 +- drivers/pinctrl/actions/pinctrl-s700.c | 1912 +++++++++++++++++ drivers/pinctrl/actions/pinctrl-s900.c | 205 +- 8 files changed, 2324 insertions(+), 199 deletions(-) create mode 100644 Documentation/devicetree/bindings/pinctrl/actions,s700-pinctrl.txt create mode 100644 drivers/pinctrl/actions/pinctrl-s700.c -- 2.17.2