Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp10334imm; Tue, 31 Jul 2018 12:51:10 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfr/I+qUFiIzaN++pEFDUKUOBvIiA6TyrLpgofldLIXq1Bazys77jHO7/LKasXkAqx78eOw X-Received: by 2002:a17:902:8e86:: with SMTP id bg6-v6mr21587604plb.108.1533066670316; Tue, 31 Jul 2018 12:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533066670; cv=none; d=google.com; s=arc-20160816; b=cBKo6HtuOXUzHxnVH4mqtmEH0j57mgZ7xS2AN/XatjQr7BQgNzJMXjs/1nxTwcsi7d JNa0MjpAHS5Qfw92uFRZp1EkjgwttdvejY74nOPWG8qepLQlM2IG8WRcCZieEF+azC1f 3QdaXti2K/zYYPQkPnhk15mSp/M4fXZSTpgHl21wbPmlhcYYQgdHNtO1vGYssogUUuPb dnNScN7s/vzGwuZD+4pvle8aIgMruB3/F+lP9ECbOKZgn613pgU705MIn9EY0loCaMG6 y2wgtpF1xuzit4qPEEeJCvUIn4BvA9MEa3ruANx+akF9fcB3kWI94xWyJREv1t1KkJYs F4eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=bWdqMld/i5K3K1vegGZzaqGIvZRP5WuoGPzyJw7Lts8=; b=dysAsPywYrWgMJUrx9THdqomPgVDjE/Xv7Js4aqHdSgVJX8zrfJJpMQoEvb5/blGHs 9oiKDUtrbX/LHlh5D2angLXLno0Z6/JKl/atF2rlbABskWIORNgUvDPV2WfHFvyZehlU XgiqCTcMzsApGyV37OEnnwfqYYbQSeOYYY0b+hx+eVHp3lsTRv9tL3/wxS9TnXQOMDZo yySxc5unrgtt33L8vfxc8zYly5Q+jTqGsVtsA7tC8hT3t5xPBvQdbSQdgwuRKfAnP3x9 0N3x1CcLa01S/jR5YAI4D6yCePv66AHRSrC5d8Q4r64oa0o7jDFzOG9cQzMymwAlE5na 0tyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TTYim38q; 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=pass (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 c16-v6si14811553pfj.333.2018.07.31.12.50.30; Tue, 31 Jul 2018 12:51:10 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TTYim38q; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732403AbeGaVaP (ORCPT + 99 others); Tue, 31 Jul 2018 17:30:15 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:51687 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731564AbeGaVaP (ORCPT ); Tue, 31 Jul 2018 17:30:15 -0400 Received: by mail-wm0-f68.google.com with SMTP id y2-v6so4383048wma.1; Tue, 31 Jul 2018 12:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bWdqMld/i5K3K1vegGZzaqGIvZRP5WuoGPzyJw7Lts8=; b=TTYim38qzTTwCIvWtqThg8V1srfHQbJKoPA25FM6zCgIUwaVStbZX9DOGn5OEoq7Cx 28q4W/FSs0nZBn8/OD7iapBZSwWWdF/Wl9PZXGb+p/R4rP4z8aEDFSNO0fG8J1uaTJR7 oG0RjJduQ3NIp7RmLXzfz2gaykQXj2pB+vSu3yi/43gto3CLM3E5gj7LJZEBwSO3VYw0 QHfabBQJqViwRTNmDx/G89fgzqXi28v4hb67AFJSEwCuoI8B3HGXyRaEBViwmNVMl2yS s1MhSGQXP0hS800FcuX7B0hxsjZtKBV9sMuESIRgIi0JOsfEpTiKlbrLo1fQ2XxVjy1I VPMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bWdqMld/i5K3K1vegGZzaqGIvZRP5WuoGPzyJw7Lts8=; b=eLAYqrx1bv3cK84rLSc87FLR4J4NiHs7Eixl6RKZEu/uQ14MaV6uTXMt8SjzAki+Nn pKot/XfLAAp+1ZSHXXCIwfL6zdZJfHdmst3TJTl7F7FDB7G0xZsRdofHt9AiP0qDsihZ 24m3wFPUn4dFhnWQjF5YqKGbV149Ex+z64AQ+E9CRR9PdSE+ODqCRWJapkpgkhXyJMm/ V0YXS8d3jg/xUPN+Nr8pn2pQi2r3nln6H69uyMCPDfuvXmt6BW+btb9lj/UFhFTNan8v 9N/4gmaJOPrdTekIJrOYMvRs+XmtbhMdK4b0BCGpT3lIPLrGdsphDFpgDMPXSL6kB/Ug mqRg== X-Gm-Message-State: AOUpUlGd8XUfYthQGXtYjqRC6MZFoa5uDm2SH7O9FcH4/k2TbZzqAAII nEqwgXxw72puDCuGfKZDwpM= X-Received: by 2002:a1c:148f:: with SMTP id 137-v6mr650096wmu.61.1533066501808; Tue, 31 Jul 2018 12:48:21 -0700 (PDT) Received: from localhost.localdomain (p5B3F73FD.dip0.t-ipconnect.de. [91.63.115.253]) by smtp.gmail.com with ESMTPSA id z1-v6sm2444829wmf.5.2018.07.31.12.48.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 12:48:20 -0700 (PDT) From: Saravanan Sekar To: manivannan.sadhasivam@linaro.org, linus.walleij@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, afaerber@suse.de, catalin.marinas@arm.com, will.deacon@arm.com Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, pn@denx.de, mp-cs@actions-semi.com, jeff.chen@actions-semi.com, thomas.liau@actions-semi.com, linux@cubietech.com, Saravanan Sekar Subject: [PATCH v4 0/5] Add Actions Semi S700 pinctrl support Date: Tue, 31 Jul 2018 21:47:38 +0200 Message-Id: <20180731194743.13678-1-sravanhome@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <0180729200038.11795-1-sravanhome@gmail.com> References: <0180729200038.11795-1-sravanhome@gmail.com> 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 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 | 1925 +++++++++++++++++ drivers/pinctrl/actions/pinctrl-s900.c | 205 +- 8 files changed, 2337 insertions(+), 199 deletions(-) create mode 100644 Documentation/devicetree/bindings/pinctrl/actions,s700-pinctrl.txt create mode 100644 drivers/pinctrl/actions/pinctrl-s700.c -- 2.18.0