Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7980674imu; Thu, 15 Nov 2018 04:49:38 -0800 (PST) X-Google-Smtp-Source: AJdET5eW5iH8wslunM6J1hfnUlY8dK1kih9kXLAxeZ8ic+eiNGCMRBoiKX5q50h+yEMreXu1Jb3m X-Received: by 2002:a63:8c0b:: with SMTP id m11-v6mr5679273pgd.422.1542286178632; Thu, 15 Nov 2018 04:49:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542286178; cv=none; d=google.com; s=arc-20160816; b=ankI9ytyO2aL625yxLay054usY//vdPzhnbMyNPzpR5/cqgpoVd0bzLjRVrZNzQPSr yCZWoRkZ8/sezG3P2VFJ2X22Zmqx+LO1pWAq5WsnFk0xxpIVC8QR4lI84Yzm515BT1HB EesgY7Xp/aklL7pRnsrWIDYshkdCu7xbuDKkpmDXDwfl4DkcpshU+tdhxrne5AjkIFAP iiRB9Am7l8xOEC6fOVlkJ2LW3uyTj3OijiCMkAS945nOFfHAVC8R+Z2BS3hqIDjSeJZG 5YJUrOMp2+1TxzX4wbgrqB3ZGvcXEAqv9XHekHpiMd3yRlJcd4BC0kLVnWxT/RnsP2pO XVyQ== 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=e6nG+ynIK0QOyRju0Y+7trCIC76/GPuIQGYdgooUcag=; b=QaDWRAzewSoOGVgCy6cehZEAXvOmY/SSzW1JQlcduLwbdzW9in4HbVAin22Tal5gtb WtvL77uD89RjqfbrwXitzvx8xrNN1iY8BIRjwVtbDjCjH60o0CQANHt/9ePg9BcefCet NcGf6XnTxuS5AWCHW6N22jWiwHqHjLcEYM8G/lh8SwlfBk24RJLeXuLRa1a8YndSJuFB O+LpOpPYtFoC6RGrf0JyssE/IICvbnoIUIlFBqRza09uiU09Ar8PxZVX2DEZuixfNiSN K6hW2zpqRit80fkIJS68/NyaQTAulGfeQ7d2VoIjvTd1FlpxTymF0n1Fh5x/Uc2ijsow gPSA== 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 n4si3920882pgm.487.2018.11.15.04.49.16; Thu, 15 Nov 2018 04:49:38 -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 S2388019AbeKOW4J (ORCPT + 99 others); Thu, 15 Nov 2018 17:56:09 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:47903 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728757AbeKOW4J (ORCPT ); Thu, 15 Nov 2018 17:56:09 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 42wh476bgmz1qvnN; Thu, 15 Nov 2018 13:48:23 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 42wh466kbLz1qqkq; Thu, 15 Nov 2018 13:48:22 +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 pMjSEoAU_0Al; Thu, 15 Nov 2018 13:48:20 +0100 (CET) X-Auth-Info: I2uX+Xn6TudMPlq14NqlGtLZdEa6CARrIUrTrVqQ2iU= 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; Thu, 15 Nov 2018 13:48:20 +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, sravanhome@gmail.com, Parthiban Nallathambi Subject: [PATCH v7 0/5] Add Actions Semi S700 pinctrl support Date: Thu, 15 Nov 2018 13:47:43 +0100 Message-Id: <20181115124748.268286-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 Chnagelog in v7 - Fixed nitpick in dt-binding - Rebase to current mainline 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