From patchwork Sun May 20 05:17:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 136406 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3093264lji; Sat, 19 May 2018 22:18:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr1SZCVEa0wdSYtuvS/mQslQf3eowX/CKwHlpft6jPJ9Ohd2f7UjISP9JRxJr0pr995dK4v X-Received: by 2002:a17:902:4603:: with SMTP id o3-v6mr16182877pld.49.1526793530661; Sat, 19 May 2018 22:18:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526793530; cv=none; d=google.com; s=arc-20160816; b=rvweclm1ZS0njUK283zrSZCxiEAFhvGUl0jlPwBNy7Y+acuJX6h7pLj+Dh+qZkE7LU dgshHFr/mGGaEppq1Sl95apbibG8hMEawhsVAOTRw1EWk5lpKEAADWBLE9MgYAf+0rpy IzgIVIYVGUtV7MgLYEQl7o7Llza0PFQt/s3v6OC9IVKGrY/GydA9prJApa87Nv/p1CV5 tKrruPDvCtfAfSZoyDk131lzgH/AbQmaR6d/tRXm54LL0ySMDBQ5BfDOrCYfQz0XuNMj lx9A1uwN6MrMEXWPca93SHlOmRdhyraB19HSqPf6E7TjzY78T9O/dZaMUXRawz/zY6yu 54zQ== 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=rw5ZwXovjTMhXJ3nbVgGFiZtl3LqlYzofcNa9y2oHjg=; b=d+F0bdTNsUR8p1zZzihgh2Sqsf+ZUWyG0+4dS638GBHLGo0o9wTTquVj580dVA/ytG jt2hH5lFGbN5A6dkyO4VZ+REeX705qWwCwv1BjJRY2PzIze+brMqU1uiztDYFAM0nblM lRmYX947gtGCFZtue8Id8+zLIJbchAuf4+nzvnzZ2W0JAxcHW+udyEAN7F2INHNpr1Kp KXa4PmVc5zSY+GNmMF2cJ2bjOoq25g4fi6cJ6wtJ4a2xBruxIHpxWAdUkx0AxH3Xkd0w RRZ4RZWj/Da6ZcQ4U3fbtdDwi+g00ppCKSYDWKrbRBeVosYkVGXJTJ+rm1vCtihWqQOn K4/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QWRsxTJl; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-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 c13-v6si7601423pgq.616.2018.05.19.22.18.50; Sat, 19 May 2018 22:18:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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=QWRsxTJl; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-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 S1750836AbeETFSp (ORCPT + 5 others); Sun, 20 May 2018 01:18:45 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:43554 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750914AbeETFSn (ORCPT ); Sun, 20 May 2018 01:18:43 -0400 Received: by mail-pg0-f66.google.com with SMTP id p8-v6so4949946pgq.10 for ; Sat, 19 May 2018 22:18:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=SklPWVrc5fjh1UWB9qHCdyrzfWHcI/e8JfUjcrSzGcQ=; b=QWRsxTJlPmbK/4pGh326r4kp29XfhBlu+4JeJ79e7WLZtzEjr46QnfWetrDgtUlVe6 ERYTO0uaAAh9ko46zzLVFX4XwcLr2kUb4MQ360qkdq4FTmkiK4Spnwbzun0th43Bb1wX HB5LrEQIBFDudrcKzDJ1AHx1fArXWJeFf8Neg= 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=SklPWVrc5fjh1UWB9qHCdyrzfWHcI/e8JfUjcrSzGcQ=; b=HCkgdGedmd3+2PKac0+qAU25ylZcnY5PLbQgRCvj+5NOGrG8FaN8tUfq+SV2M5Xg4U W2diuvV2tP0PmTEq5qgHNoyjY+FT9rjLt/Xyi73EFjCL27aAVYR1qpcuYmv/oeKZpMpp qpDR1JyFC/w/ChvhcIi/ZAQNwLnM0iusVxVkQHiHdRJbCvLw4C96LhUpYIcLxwO4jWW6 t9Ww74KihnpDUozyc9KvFAj66q4ypvxpslsv4nTpliacvWgy4bDVZubP0mUwRtg2piZJ 2hafY5Y54r9ihfbJMzi1TcH1hh6hj5rnBAMyyDm9ELVYLIHmF4jgKQpH5dSujLuvm7Ug vGWg== X-Gm-Message-State: ALKqPweJubMtULeWKucnb1fFrFLA6NAQhr842uLRfKBJAeG1Ne1M19rg oDA6gKElcOZFzGJU4J57wbVf X-Received: by 2002:a65:6557:: with SMTP id a23-v6mr6801578pgw.319.1526793522835; Sat, 19 May 2018 22:18:42 -0700 (PDT) Received: from localhost.localdomain ([2405:204:718a:6d36:c501:566:93b3:ade2]) by smtp.gmail.com with ESMTPSA id p6-v6sm20107670pfg.157.2018.05.19.22.18.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 May 2018 22:18:42 -0700 (PDT) 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, andy.shevchenko@gmail.com, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, manivannanece23@gmail.com, Manivannan Sadhasivam Subject: [PATCH v2 0/5] Add gpio support for Action Semi S900 SoC Date: Sun, 20 May 2018 10:47:31 +0530 Message-Id: <20180520051736.4842-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.14.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This patchset adds gpio support for Actions Semi S900 SoC by extending the pinctrl driver. There were previous patches submitted for adding a standalone gpio driver based on gpiolib. But later on it has been realised that the gpio functionality is closely tied with pinctrl subsystem for this OWL family processors. So, having a separate gpio driver will make it hard to add further functionalities in future. Hence, we decided to drop the previous patches below adding a standalone gpio support: 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 Actions Semi S900 pinctrl and gpio entries This patchset consits of incremental patches which will apply with the previous pinctrl series: Add Actions Semi S900 pinctrl and gpio support, excluding the dropped patches mentioned above. Thanks, Mani Changes in v2: * Removed gpiochip_add_pin_range() function and added gpio-ranges property in DT. * Added Reviewed-by tag from Andy. Manivannan Sadhasivam (5): dt-bindings: pinctrl: Add gpio bindings for Actions S900 SoC arm64: dts: actions: Add gpio properties to pinctrl node for S900 arm64: dts: actions: Add gpio line names to Bubblegum-96 board pinctrl: actions: Add gpio support for Actions S900 SoC MAINTAINERS: Add Actions Semi S900 pinctrl entries .../bindings/pinctrl/actions,s900-pinctrl.txt | 16 ++ MAINTAINERS | 2 + arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 175 ++++++++++++++++++ arch/arm64/boot/dts/actions/s900.dtsi | 3 + drivers/pinctrl/actions/Kconfig | 1 + drivers/pinctrl/actions/pinctrl-owl.c | 198 +++++++++++++++++++++ drivers/pinctrl/actions/pinctrl-owl.h | 20 +++ drivers/pinctrl/actions/pinctrl-s900.c | 29 ++- 8 files changed, 443 insertions(+), 1 deletion(-) -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html