From patchwork Sat Feb 17 20:44:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 128758 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1904910ljc; Sat, 17 Feb 2018 12:45:10 -0800 (PST) X-Google-Smtp-Source: AH8x227ne09/oFnet+oWohx81XgpjCRmP0UqPI3YQ/S7FrkWKPubz7bd9QV/EDJ+7TVqn1PtttB5 X-Received: by 2002:a17:902:981:: with SMTP id 1-v6mr9789499pln.345.1518900310212; Sat, 17 Feb 2018 12:45:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518900310; cv=none; d=google.com; s=arc-20160816; b=rVbyFia/KG1GhvF7fpKaeHUh0paJQZjfgPBtgbjdpq3wresSnNLwe3a/vANmUvetJe 7gFRr0QTfvtIMeLMgjn31/1ygufG9r6Q9orBB5M7pJi5df+DIKV54K78eKU8CJZMaOOu FY7p6rrYlSlHcpHP9fhssvg6JubzpugrNI7Qln+2aobbHzm3tmRT+IMriH4Tgevq5l4C 0hS2yEvzC0WqgPLl8LA/I6OShC51Wra1m8Ti4CWMxXwFKXTXX37pTisdNXA+vaPRH22w KsremAozyLio7sDN8YYHUg6O/uvG1QBgEyM6Bizbars7CmS47VoPBWhB2bjfPjpT/abb Zwvg== 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=8b1IQXe5UWbsjturgwyjCHM8ByTlj7LYTzgJjojKbxg=; b=TAvFyWhhhWnrKY4SPa3GdeibPHkPILBJ+VwxowRNGJRqNRvxbIU4JXAZPJ9tMuuSz5 B6S17uVo9mSRj9zgCY7H/j8sdsmbEaM2TXnuPgsqzR3lYEIRZ+CHQT6nvm4/Fk0wDtyG 0BNcVBMQjj79aucV568An+fMh52BBEoBrMOfQHEJyll6mdl4hUOSx4JtR8nidBUdMAvC kQzaFSecy+dFTNaw7C37Qwq/lXTaixGetO0Eyu6EtoYJnerYTmAuxtSsS31YVKcEASXR oklTWdzmtC2GLvkPXBOI+/fL11e76AOiqnmYvj460OtnRN/MXgqbB7gtS4WsBvIVie8q J2sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=buGmLbkn; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 185si538887pgj.636.2018.02.17.12.45.09; Sat, 17 Feb 2018 12:45:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=buGmLbkn; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751238AbeBQUpH (ORCPT + 6 others); Sat, 17 Feb 2018 15:45:07 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:38738 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751159AbeBQUpG (ORCPT ); Sat, 17 Feb 2018 15:45:06 -0500 Received: by mail-pl0-f66.google.com with SMTP id h10so3546253plt.5 for ; Sat, 17 Feb 2018 12:45:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=ods17edZfM/ppLWtdb9zkLRauOOE4H9cw16GQc2qEzE=; b=buGmLbkn/zeyTLE/NMPgq61pMogxSNdhIsklqyQ286f+hvG03pRKETx/yoMczeRHBz XxySheG4FMVCIYzx0kDAgxE7RALC8HgpLGoi2L8Xezpb6vhOqTk4EJh20U8OdKiQ/wC8 Bs61ndcSTH0/h9YULtLvLR8eVne7ic6z/B3L8= 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=ods17edZfM/ppLWtdb9zkLRauOOE4H9cw16GQc2qEzE=; b=SLD/xn34Ua46nVmDbzAiQxXNHoFU4aK3D/fCHJ5eNnEwZvaSHYE+hBB1FiCL19bCQg +go1/cmBhCJuxYmi6Ra3k8Y0OKwyBswbK96ThFBVjuQ64IKab3kMg6/sttebmv+/Uv/Q qJn6oEd3YdHRhMypniZm3fXA3CPc0dfRan1tnBYC4BEgetQ3h4Z+NQpNqdoYMlKJkBke I2wna2plvmE5T/nixbsibzbZ6DmhAKXT1CfLx6TdSeoXO1nk/GouBPMCgSQJz0iQ0oFO 9DCa6tZ5b/R+Abo7rqGnEEPH19P4zl6+jd2217zUtRlZnQB7TYkqEjirvho1inC46n8J 7ojA== X-Gm-Message-State: APf1xPAnLP7OgxrAuwoGXByjkQUyYEWDnK0Q5IMIxHnLKfmCq4IEIcTp JAblKWp3UcMNu+AVzMydmjMN X-Received: by 2002:a17:902:6a08:: with SMTP id m8-v6mr9608475plk.379.1518900305678; Sat, 17 Feb 2018 12:45:05 -0800 (PST) Received: from localhost.localdomain ([2405:204:724f:5cf:50e:6e8c:d464:bc4c]) by smtp.gmail.com with ESMTPSA id v65sm23222710pfv.61.2018.02.17.12.44.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Feb 2018 12:45:04 -0800 (PST) From: Manivannan Sadhasivam To: linus.walleij@linaro.org, robh+dt@kernel.org, afaerber@suse.de Cc: liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 00/10] Add Actions Semi S900 pinctrl and gpio support Date: Sun, 18 Feb 2018 02:14:23 +0530 Message-Id: <20180217204433.3095-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patchset adds pinctrl and gpio support for Actions Semi S900 SoC. Pinctrl and gpio subsystems share the common set of register range but implemented as individual drivers for making it less complex. Pinmux functions are only accessible for pin groups while pinconf parameters are available for both pin groups and individual pins. gpio-line-names has been added for the Bubblegum-96 board matching the 96Boards CE specification v1.0. Both pinctrl and gpio drivers are verified using the Bubblegum-96 board. This patchset depends on the clock driver which is still under review: https://lkml.org/lkml/2018/2/9/831 Thanks, Mani Manivannan Sadhasivam (10): dt-bindings: pinctrl: Add bindings for Actions S900 SoC arm64: dts: actions: Add pinctrl node for S900 arm64: actions: Enable PINCTRL in platforms Kconfig pinctrl: actions: Add Actions S900 pinctrl driver dt-bindings: gpio: Add gpio nodes for Actions S900 SoC arm64: dts: actions: Add S900 gpio nodes arm64: dts: actions: Add gpio line names to Bubblegum-96 board gpio: Add gpio driver for Actions OWL S900 SoC MAINTAINERS: Add reviewer for ACTIONS platforms MAINTAINERS: Add Actions Semi S900 pinctrl and gpio entries .../devicetree/bindings/gpio/actions,owl-gpio.txt | 15 + .../bindings/pinctrl/actions,s900-pinctrl.txt | 171 ++ MAINTAINERS | 5 + arch/arm64/Kconfig.platforms | 1 + arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 175 ++ arch/arm64/boot/dts/actions/s900.dtsi | 13 + drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-owl.c | 258 ++ drivers/pinctrl/Kconfig | 1 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/actions/Kconfig | 12 + drivers/pinctrl/actions/Makefile | 2 + drivers/pinctrl/actions/pinctrl-owl.c | 573 +++++ drivers/pinctrl/actions/pinctrl-owl.h | 178 ++ drivers/pinctrl/actions/pinctrl-s900.c | 2536 ++++++++++++++++++++ 16 files changed, 3950 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/actions,owl-gpio.txt create mode 100644 Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt create mode 100644 drivers/gpio/gpio-owl.c create mode 100644 drivers/pinctrl/actions/Kconfig create mode 100644 drivers/pinctrl/actions/Makefile create mode 100644 drivers/pinctrl/actions/pinctrl-owl.c create mode 100644 drivers/pinctrl/actions/pinctrl-owl.h create mode 100644 drivers/pinctrl/actions/pinctrl-s900.c -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html