Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3151183imm; Sun, 29 Jul 2018 11:27:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdGcQljK+b5o+a4y4p0QydwRevyaoMZaqXBzw51KEkzeB02TK3OMamd4QmbqswYPwdXhHdK X-Received: by 2002:a63:5143:: with SMTP id r3-v6mr13940100pgl.11.1532888862607; Sun, 29 Jul 2018 11:27:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532888862; cv=none; d=google.com; s=arc-20160816; b=l/3VvulWj62B38Y1SsMWB2URFcEQx06W5qCxt8zBfNh2VHSFTuEF6qJVuu1vmhVGIK elmbS+h9ITum3NHRBP8S9+eH8y7/9pywnDcmfJj5dYQa1zvfIG+J4U/2j0QQY/kjYuHI kasu2s3LBvBKWmlAFlIy8DCQjZcefYFrQuKX4leRXEhArT/uGK+Kgro6j/R204XiArR3 60nnp7wd1Qg0MItTE94AdVUaCw8r1sA4LgYcqxWZKzm46pRCadim4v2/8aAc4JyTenGW xAMfUsEXxlbiFma7dZ7E78YNHBUPcL/MTWrLM1IZAGUZk6QbdnuRLd8Dh3aZYpHl7S5T SsfQ== 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 :dkim-signature:arc-authentication-results; bh=Tj43NRWwO0pqgC1FeTFRBEe9+4k0aBlHopCe7Wz5ysM=; b=C74ZvylilNrSU2UCZuVT/jdzY86b2BV0drnBPKTU5xhha8EAbNvKtaF/LBk9I0N8Qm uwP7DJdbDx4cSw1XONJFoXDrV4oSJtY5m77wnv8VaP4VEPgJWklzI4xzhmVEevjxeSU4 cA9av1cPJqx6XqmWe/Qyv2XPF+EL+DJeSfvpCi0Pw881Yk0cfUUy1SPDA/UAEmk5OHM1 fEStkG4Qd8oyjIdWviuxRY+2VSgo9TqGv8Hrm6OJAU1q82DXYfckM5/jwbn4IMcRGxfU 7hLWpia7H2JAs6NzlZN1OvGuIeiwaMXMpOXgmHIh5BeOyZ7yRFec5RtMNqzyekO6YYcj ySrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aE08xj7z; 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 s17-v6si8442472plr.120.2018.07.29.11.27.27; Sun, 29 Jul 2018 11:27:42 -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=aE08xj7z; 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 S1726899AbeG2T54 (ORCPT + 99 others); Sun, 29 Jul 2018 15:57:56 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33788 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbeG2T54 (ORCPT ); Sun, 29 Jul 2018 15:57:56 -0400 Received: by mail-wm0-f67.google.com with SMTP id r24-v6so6488958wmh.0; Sun, 29 Jul 2018 11:26:36 -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; bh=Tj43NRWwO0pqgC1FeTFRBEe9+4k0aBlHopCe7Wz5ysM=; b=aE08xj7zvCfSZzNAKSky9/m7kAmDNIO7nu6zxTRQy+tYO0z/WLsDBvD83NrLj5d8t0 OnVA0hgbJRfbtEyf8X6DjC6s9uNKsnLfW+9oiXNCKGiaGt18UkcYJEq0CExC4Pkv9YvW BVX7fj51xS0p2+DKKncTiIp3x3D/q+j0b0iIyC3ZoU0MssaSrtc1vQWKq/GQYdnDtaUI oW5w2NaAWqNfwRCQYxhgIvAPtIO98w5xGR8hJYwLSyt7XUmAdK3w8FjxQ5GyYcNbPKvi TBSgwuID/ENIW7zNufgHV13Y5+b227hKGDqU1yj3OHimZVv/Mkt4eErijFonRw69B7bi OT5w== 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; bh=Tj43NRWwO0pqgC1FeTFRBEe9+4k0aBlHopCe7Wz5ysM=; b=WqxtFGpy+HMHsLobMmWjiIZMqgdIVZKhQ4VN455xLe47EQPZEq0yTcn+QZQ24pgUiP ntir46Rz2oSW/g4Ve3hh9aUD3vudpx8AItgZEjhhY0vnoWkd6l3UViwjEp81T9vHtasr pjJAi9+9N3Lj5My1ccARVGaj+bsRtLGmgCcB4C9AQI8BIhJuDdy4bcgxJpg1WYC4+8oH fAqZfhr+5uaBDXWVIhL7jHs27pINH/uN8PA+ezWoeBTQJqarnPysb/83zHUfG+OMyK6s m/9obyrVzFiAriPg+1Jnp0/NrLZ4FknFny3KblSXN5om/D3qmXHRYTWCgJugGeX0TqKZ DO7g== X-Gm-Message-State: AOUpUlFh3VJpGMRL2heEkYc/wM04P4RTNE7cBr9MCmgSgIUY9iRaLY1a GiynKZ2MOaHEfGlZlyYPKpo= X-Received: by 2002:a1c:3b05:: with SMTP id i5-v6mr12698479wma.57.1532888795851; Sun, 29 Jul 2018 11:26:35 -0700 (PDT) Received: from localhost.localdomain (p5DCFE1FB.dip0.t-ipconnect.de. [93.207.225.251]) by smtp.gmail.com with ESMTPSA id f6-v6sm8985217wrp.30.2018.07.29.11.26.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Jul 2018 11:26:34 -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 v2 0/5] Add Actions Semi S700 pinctrl support Date: Sun, 29 Jul 2018 20:25:46 +0200 Message-Id: <20180729182551.19383-1-sravanhome@gmail.com> X-Mailer: git-send-email 2.18.0 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/ 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