From patchwork Wed Sep 20 13:39:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 113120 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp689445edb; Wed, 20 Sep 2017 06:39:39 -0700 (PDT) X-Received: by 10.99.5.204 with SMTP id 195mr2205111pgf.231.1505914779680; Wed, 20 Sep 2017 06:39:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505914779; cv=none; d=google.com; s=arc-20160816; b=xDY9K2tCZ1IbzIEtHNRSgpDYNHHMPvlm0+wNQw87hILAob67xpROOWk8/AMUra8t/A 8xn7ojtPSIZej+yMLHEPreWbFXjvBhiNDVdIFlJpkvRqSq6GnDXmQCRXX9z4CPwliVA+ LZPONBYphJ4xZSC7III6BH7QQ1dR9ZKwbIK4jZ0Nifh30TSsR59/wSM8teHHnRQ+uD7D 5ymS2c6nMBJ9VzNoBeE/zAIFKjWU+wuJLju3rPJGOgxJkvk/Ch/79lWMWhbPhMuF4zOw rTS/op5GrTukztJoJzhe6F4lqmlF7g9zasOT1SAe2nIpSo6U4/tanPnRiNN93ocK3ANu ioag== 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=PiJSDHya6he+f3K8MzIQ4Xz1ZZzwXDfFr6BwQo+b0/8=; b=KDIYVv9Ewz7AyPptJ2qGtSSSMGkwsWnrvI9jlO3MTY9z/SrYTPFpW0TMHxofpzVDwm lN2ZRn9GINeyQtQbbC9HPIyRj22RJmLOD2ec4VVPJf8WihVBmxM8HonmTu8Y3qjc1zUR LTLP+80epK6Ul77BBwGONs2rdT6eepm9t8bJeAgbXckz772D/W41/YETxft3/CRP3voP U6b56pjrpypq1ojpWgMlE5kMK4z7EgP1nPaKHetTjO95c7x53tVuAQ3QgPZlCAc3iwzk 8Aw8uLTs/XPaxYBIMhIW2wDCg5XbLWBQTQ0PYSRZry3vAaj02ANgU12l5qH4RjKD5GSV ifyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Aks1Jyym; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a13si3058461pgd.818.2017.09.20.06.39.39; Wed, 20 Sep 2017 06:39:39 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Aks1Jyym; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751499AbdITNji (ORCPT + 5 others); Wed, 20 Sep 2017 09:39:38 -0400 Received: from mail-wr0-f180.google.com ([209.85.128.180]:46535 "EHLO mail-wr0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751228AbdITNjg (ORCPT ); Wed, 20 Sep 2017 09:39:36 -0400 Received: by mail-wr0-f180.google.com with SMTP id o42so2199279wrb.3 for ; Wed, 20 Sep 2017 06:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=M8/ditZKAF/aAz4rQc/GlcG2X3at1NpEz1ZCENX0lls=; b=Aks1Jyymr3NvOnmTGr+SqzTJ20SWjOI6T5Jvd8kzuv9VfZMU52lpqHlJ1bsoeR1t6x CXqkfS3P958Fo7/Gdf0dyCuoNfCrtqc0KZoZvnuomULobTjR8y/CoiUJ/Zfcsm4su1PZ DBZgYijnwD25apya1msPGHM0QCg75S/0s2J/1WVLtck6OtDAYirQMeMxZeE2gGCST8KT Mh7X815GQuNbxXurOwdOUb8ly0zbs9Qv7OxOdrDxFMWiFSukpVOEvDiHdhVMisavrwFm XsVSumaAyVbUObG++/5qpYQJNoUmj+Ax1UrPkUMrC7wEhY9Q9233qFusgTRSnIkZYYto fF4Q== 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=M8/ditZKAF/aAz4rQc/GlcG2X3at1NpEz1ZCENX0lls=; b=RwqXtlyzbPgNk67h7ze80QdJh5I6qSuisYhEc5i4y1u4vzeWLj73COjJOFfrCdD0QW G00qmg9sOYYtrUXw3VwBTI9kssA5EOTi2HkPJc0SaeJD7BuI1Lr3DK48P3F4SobhDfnk MDzyQlEYa/wdztJF/tUxTJR+GIkCFrchqT42c5jX3uy2o5i8HHj3/+dzSBjEnUXutG6k 0z8y+uPB3nJNUlqGuI2kxONGZckvpKGAmPv1scm+1fJB5NHGbjBIHDHwgHizvBtE2VzH SIz2+AFvMDObzb488Z91/DOIQJDPlCKKJtpMu7dgKnKCXdB03sWtFIzEUITCKCcKqo1t y09A== X-Gm-Message-State: AHPjjUi3PJ2DTmpYpXwYTgN8LG7hkvIIK7Lz7tRIxZYqA+ANDFiYOWJ2 SrVztX8ywSYevGFaTFUCvP67QQ== X-Google-Smtp-Source: AOwi7QCYrG65olV5fpmSXjU83GdjuZqaSGgVasI8mVQ+15aEXoWS9hYkObQcaotwngMWPtvg93U7AQ== X-Received: by 10.223.150.171 with SMTP id u40mr4867032wrb.201.1505914775623; Wed, 20 Sep 2017 06:39:35 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id a39sm1938888wrc.48.2017.09.20.06.39.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Sep 2017 06:39:35 -0700 (PDT) From: Jerome Brunet To: Linus Walleij , Kevin Hilman , Carlo Caione Cc: Jerome Brunet , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Martin Blumenstingl Subject: [PATCH 0/8] pinctrl: meson: clean pin offsets Date: Wed, 20 Sep 2017 15:39:19 +0200 Message-Id: <20170920133927.17390-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.13.5 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The initial goal of this series was move to TEST_N pin from the EE controller to AO controller, where it belongs. This meant modify the EE_OFF value. This offset is a quirk we brought from the vendor driver when it was initially merged. There no reason to keep this around and we could simply let pinctrl figure the pin base value. Removing this offset, while simple, ends up being quite a patch bomb. This is why I split the change over 5 first patches, so the important change, patch #1 remains visible. Of course, to avoid breaking bisect, these first 5 patches should be squashed into one. (If you prefer that I squash it myself, I may have to send you a PR as the patch would exceed VGER 100000 characters limit) The last change is this series, while not directly related, also requires to adjust the gpio-line-names property in DT. Having these changes going together would make it easier to coordinate the DTS changes. This was changeset has been test on gxbb P200, gxl libretech-cc. It was also boot tested on meson8 (Thx Martin!) Jerome Brunet (8): pinctrl: meson: remove offset from pinctrl pinctrl: meson: remove offset continued - gxbb pinctrl: meson: remove offset continued - gxl pinctrl: meson: remove offset continued - meson8 pinctrl: meson: remove offset continued - meson8b pinctrl: meson: get rid of pin_base pinctrl: meson-gx: TEST_N belongs to the AO controller pinctrl: meson-gxbb: add missing GPIOX_22 pin drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 859 +++++++++++++------------ drivers/pinctrl/meson/pinctrl-meson-gxl.c | 818 ++++++++++++------------ drivers/pinctrl/meson/pinctrl-meson.c | 48 +- drivers/pinctrl/meson/pinctrl-meson.h | 8 +- drivers/pinctrl/meson/pinctrl-meson8.c | 964 ++++++++++++++--------------- drivers/pinctrl/meson/pinctrl-meson8b.c | 780 ++++++++++++----------- include/dt-bindings/gpio/meson-gxbb-gpio.h | 2 +- include/dt-bindings/gpio/meson-gxl-gpio.h | 2 +- 8 files changed, 1713 insertions(+), 1768 deletions(-) -- 2.13.5 -- 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 Reviewed-by: Kevin Hilman