From patchwork Sun Jul 22 16:35:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: saravanan sekar X-Patchwork-Id: 10539343 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 510F81822 for ; Sun, 22 Jul 2018 16:36:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2FA66283C3 for ; Sun, 22 Jul 2018 16:36:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 20904283CF; Sun, 22 Jul 2018 16:36:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0913E283C3 for ; Sun, 22 Jul 2018 16:36:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=QuuU87hYezP5a/IyAc/jyF81lzRYZAyAYBcfpQdJZXk=; b=c1A HWA2VAPsaLbYyEggb0L/hE9MJYC+W2UTJC6Ch50wryz/n5r0jav8e9LW1R5z8dLf7DopirKXE2qIG WCSDrPUslIr4REd4O4gjyJC1OIXuWm2JmbylJme4D6xx5IlrgmUWhFinLSApQz36mz+mW7aw1+cID GLn5NviryuHnevjK83+2WiBkvPYDFjjVY8b2kn/Jo8xH+ABkiFje7Z5+j3WR75XX5ErAGnGWCBgwR JFn2vgcRvCTZendGVh7nn9A7flCTlceemAKUJzaLvTDJmB3c3kXVphaPqd5ak4AzqSZPzODdY/a+F SF0SkygVCy9ybuuCmirlDM6UfwBrdxQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhHLW-0004s1-Qd; Sun, 22 Jul 2018 16:36:34 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhHLS-0004nj-Do for linux-arm-kernel@lists.infradead.org; Sun, 22 Jul 2018 16:36:31 +0000 Received: by mail-wm0-x244.google.com with SMTP id h20-v6so14047309wmb.4 for ; Sun, 22 Jul 2018 09:36:17 -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=FUjjrbkH5Elfvj/1+BIl2kR6ghyGwGKFDxZvHjf7Oeg=; b=CIV70HUQBXkaSBmDzIZXrdv2he04FvJkPChuRsxIU4ti3UoR8wmoI23cZYt5vi4Jwo 9q+ZWANKtWyfA45P7C6DNujh1da8TY2MrdGQdmBl9XnYFFi3d4K7kZCofMhRYoLpfLuD SG4OrhpKrWr846eZKUT+WZTQEsdRNu7SpbdyJdGgB19HhuexVSUQQli5BXKPnTT7mM2R d7W71qQgHcRL5Sqz1WCju+B9nGOa0MW2VKeMIRD5MENSKYa7hWPNRZROCAnLZm6uqNCA mhOWw39OZYTNEEhEp4LV0K+6YKjMUoL5CHxD63gOkmqVnAOPTS37ueWso4FOYc47sdgP ARXg== 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=FUjjrbkH5Elfvj/1+BIl2kR6ghyGwGKFDxZvHjf7Oeg=; b=Oa/1RyvACLW3hcaCvtO0Bz/cdVHmuMolJwWVzW/If+QvaG8/Y8mhn5hmxKLVLVFT1v EDeJNaP93WoLQ16aIa1ecZQXx7Sn80DDBkskawWInQh7/40gZnrjfagv6koTqbA6eIDT oPcusAsMSGCsmUMFOtG9kbpVG8SEmPEYD9MC0RnhPb8XNj2Jz+BDCwNQf8pRWesxWnUG veViGlS0DjFz1thpZdjzjbHACwoS+cM4keMu0rN3vzHYCa8aVqvEXScnBJ6oVFHRAfow RYhOEBi73WIARozJUruDrU+C475aBUKncx3LvPV8JKn3i8TOrRFpl34aNAF0lW+LZ52p wp8w== X-Gm-Message-State: AOUpUlGLEVD/aQrPiu+b8lt0fbH4MjrvFIIIUDWR/m1n7Qzu1+4dyRI1 VaDosYlKQrE3xCZ5bsiF2Gc= X-Google-Smtp-Source: AAOMgpevLSVff1sPZqRtdiFjVzL2s6HJ3lxjSTMJz4+E9K46YKrFCJo6KTgsBz9F5ExU9U2G3y3Xcw== X-Received: by 2002:a1c:7a19:: with SMTP id v25-v6mr5308007wmc.81.1532277375781; Sun, 22 Jul 2018 09:36:15 -0700 (PDT) Received: from parthiban.fritz.box ([62.91.37.46]) by smtp.gmail.com with ESMTPSA id z8-v6sm15195653wrp.54.2018.07.22.09.36.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jul 2018 09:36:14 -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 Subject: [PATCH 0/5] Add Actions Semi S700 pinctrl support Date: Sun, 22 Jul 2018 18:35:56 +0200 Message-Id: <20180722163601.28346-1-sravanhome@gmail.com> X-Mailer: git-send-email 2.18.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180722_093630_473000_1AA9C599 X-CRM114-Status: GOOD ( 10.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux@cubietech.com, Saravanan Sekar , jeff.chen@actions-semi.com, linux-kernel@vger.kernel.org, thomas.liau@actions-semi.com, linux-gpio@vger.kernel.org, mp-cs@actions-semi.com, pn@denx.de, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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 | 162 ++ arch/arm64/boot/dts/actions/s700.dtsi | 6 + drivers/pinctrl/actions/Kconfig | 6 + drivers/pinctrl/actions/Makefile | 1 + drivers/pinctrl/actions/pinctrl-owl.c | 64 +- drivers/pinctrl/actions/pinctrl-owl.h | 135 +- drivers/pinctrl/actions/pinctrl-s700.c | 1925 +++++++++++++++++ drivers/pinctrl/actions/pinctrl-s900.c | 188 +- 8 files changed, 2302 insertions(+), 185 deletions(-) create mode 100644 Documentation/devicetree/bindings/pinctrl/actions,s700-pinctrl.txt create mode 100644 drivers/pinctrl/actions/pinctrl-s700.c