From patchwork Tue Nov 20 05:45:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 151544 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp194224ljp; Mon, 19 Nov 2018 21:45:50 -0800 (PST) X-Google-Smtp-Source: AFSGD/W2QYh79OVB5q9vL1aG+2ir321wWAqr+59kT/kzih1VYqXbdfYRwa405Nz1lRdooQJ2wt3m X-Received: by 2002:a17:902:e290:: with SMTP id cf16mr814844plb.81.1542692750225; Mon, 19 Nov 2018 21:45:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542692750; cv=none; d=google.com; s=arc-20160816; b=nrP+Dj4MUBvfwR5rnUd75hgrQYVGvmAM5ruHmAO9N6uFwPS4hngpUN5NtF6Sm+3D2/ s4V22wpWbPUdwJDvzT/WVDPnVFYpYvJ1CMn+Z6G672PS/MlWNO4dKt82NoJB2O87PurG mWydAmGmqUzf3ejHnkGcqavW+eWIq75sJPxrf04MEi63Oz/q11m8tqD30wN2kvX0OuuK +Jo7Z9Z4A1x6UpJoRxqsQ9maEHht8JxOD8qluFFreR1nngcY9vXF7Cg7Lk68bWbaue1k pOPH7qTshQC/hTA7xfH4e98B5BoBQz8cNGZ93aC3jajX3qMS7lWAJG5w3Ekiq7ItK5xD eUcQ== 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; bh=NKXRRyQHRbNyeDa+bCVZCq0xl2wx7GcPeZBiLkuszeM=; b=LhTcY3RGqEymNBSOenBYU72P+FOw7VR8URS4sktRkYCWRpb0gSYF6Sxho/gfK03nA3 3ApVIiItvmxQVeMSHSPVP820rYFwAiDX6uVR6ViMiP3xI2kQ5kluRA4SZSFi48pzo9Db XnzYPkx8yVRFKqRJZlTre71eF1OANI5nJRpx/SQIl90N6TFuOS9la09Hni5pKkbTZQez mewWI2aQz69wNPoNElCJGxkyMu3CJOLrWQ9nSUXWO4SNANk0Mnlne84qStqaLJd7Pivt IRDSmWIAYPl31m9QeXe+btHj88LagEDb9gOUfgFwlj38+oEkWMdYDpzJlaa415Oqi9qF XXRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NPkIEtTq; 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=pass (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 e136si33486742pfh.17.2018.11.19.21.45.49; Mon, 19 Nov 2018 21:45:50 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=NPkIEtTq; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731905AbeKTQNG (ORCPT + 5 others); Tue, 20 Nov 2018 11:13:06 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:37644 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726883AbeKTQNG (ORCPT ); Tue, 20 Nov 2018 11:13:06 -0500 Received: by mail-pl1-f195.google.com with SMTP id b5so436976plr.4 for ; Mon, 19 Nov 2018 21:45:48 -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=NKXRRyQHRbNyeDa+bCVZCq0xl2wx7GcPeZBiLkuszeM=; b=NPkIEtTqFQh458tiLkEb35qTdRJ7kSDJpL+j8jfXQnZFa2Jh37LzVLYVMx1gS7OxAn +jwosOwFEO+iJSGAItk76J478C77sGQW0UIRq/+fu8vaQL8oxfGZ7T4sQfVTmZMvRsIG wjUaCbZcZs04mN468fIhEuCQz1T1wnzaXg+PE= 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=NKXRRyQHRbNyeDa+bCVZCq0xl2wx7GcPeZBiLkuszeM=; b=qXo2MjLjgNriKfwON30G0POl6YOUHaKx25tc+U/TfyGU1Jk1nbj+cLxua6nV3Z0Azu gWuf5UEmLDw4QPyK20bziLeYDrusWe9ex7KdcqDmlSgsdQdyaBOQhWBL99UVIZqpOSm4 UCotbQu6Eq3vms9IdZ7FnGfx3ZJgcIovJsOzqEVHj+n9SmYDh64i7JwI1EQrcDM8R93A EGLKmA4TnB9Xd+EcI8/YgDpD46eR1rgV2JYX5/+1m48Rg0Cw3yxPFUfNws0r7faJPsBL PpxW/XMzg6fOia2pypfFjVErS7feDD76c+Dy++1BwpOIw8PHTl0s5nYLjNElgNEEbOyx jb4w== X-Gm-Message-State: AA+aEWZL0/iEGiI8hgyzCEfLYAGvlDl0tydQ2UWoe49QN+2xoriE35Kc QzFy8TZ+xJaX5bhnP73U1y/R6Q== X-Received: by 2002:a17:902:560f:: with SMTP id h15-v6mr847013pli.160.1542692748484; Mon, 19 Nov 2018 21:45:48 -0800 (PST) Received: from localhost.localdomain (61-216-91-114.HINET-IP.hinet.net. [61.216.91.114]) by smtp.gmail.com with ESMTPSA id y184sm43257095pgd.71.2018.11.19.21.45.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Nov 2018 21:45:47 -0800 (PST) From: Shawn Guo To: Linus Walleij Cc: Rob Herring , Bjorn Andersson , Vinod Koul , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, Shawn Guo Subject: [PATCH 1/2] dt-bindings: pinctrl: fix qcom-pmic-gpio for pms405 Date: Tue, 20 Nov 2018 13:45:21 +0800 Message-Id: <20181120054522.18698-1-shawn.guo@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Rather than gpio1-gpio11 for pms405, there are 12 GPIOs for pms405. But gpio1, gpio9 and gpio10 are not available. Fix the bindings doc to make it correct for pms405. Fixes: ed80f6eb799a ("dt-bindings: pinctrl: qcom-pmic-gpio: Add pms405 support") Signed-off-by: Shawn Guo --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.18.0 diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt index ab4000eab07d..759aa1732e48 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt @@ -92,7 +92,7 @@ to specify in a pin configuration subnode: gpio1-gpio26 for pm8998 gpio1-gpio22 for pma8084 gpio1-gpio10 for pmi8994 - gpio1-gpio11 for pms405 + gpio1-gpio12 for pms405 (holes on gpio1, gpio9 and gpio10) - function: Usage: required From patchwork Tue Nov 20 05:45:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 151545 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp194260ljp; Mon, 19 Nov 2018 21:45:53 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vgbo4oNKnuU9nq1PgRe+mQdFk/pIuiKFKBaf/amWbqJjwA77AppeUxyApxYhZ7t7+RAXAk X-Received: by 2002:a17:902:28e9:: with SMTP id f96mr788424plb.169.1542692753592; Mon, 19 Nov 2018 21:45:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542692753; cv=none; d=google.com; s=arc-20160816; b=RnclN9CT6ltCxCaCy8ViKsOHgiaQ3/k9qpVZbnZRita5cyqB7Qu38P9SMzLZIXOjle P1i4Gs5VQxhN+PLhlOcgHHOCrD5svHrrLKC2qtunR4QoJVzv2ywmJPG/gog3rM5ocuoo /O6/ltR4+tgNeZHH7ZncTSYg86Q4jVV7CiuTsDctjZZVtfrs7Iek96polBl44lDP+icU LS6U6O/bNNTqn7CPkp0SdvsQkqNENC+/Uqe2ldirWzshzZOVPe3EHxZ2N4tiw/2olycy ZzTapIbtnZWxoYRWO7Ar1J7QwFht2jzadL6GCkj283fLj6SbhMTkl9kAs1sh6pOZDjiB CSBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Zt0Kbm8n47wid3rZUYwFvUoD4Ssgf4A7Tr4QO6s34zQ=; b=hBhyZjuxQXsf7SxECU+8r99PmzvKDc54ATeZgztPxknWz2rjIvnxWFvz7Ogj5IRoA8 y1D3f9m+joYlMl4l8qaS62nEoS64lFtk2lcOUyvxqVv8nAKbBW0kZ0qkWiH6/UvEN9oj vwkXjenH5iwMsCFJfynrqgR5R/rgxiXT+Oxqd41uJDhooVqDJmyKusdhKpiY+zEXt+mm Ba/X4OC/dA4dRaorUjWRx1jUHIX4+TdlyPSDCkTeV0Qn2mpwF9PflC7sLTYw2Q/0JP8l ag3lmpbXK+f/CJX0xurOTEqa+CuwJxaGcO//6lZhHOQ3Y6CNeiDp0P5nvmY5YamNCEEu toFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QhnyXt1u; 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=pass (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 e136si33486742pfh.17.2018.11.19.21.45.53; Mon, 19 Nov 2018 21:45:53 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=QhnyXt1u; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731928AbeKTQNK (ORCPT + 5 others); Tue, 20 Nov 2018 11:13:10 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:46280 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731903AbeKTQNK (ORCPT ); Tue, 20 Nov 2018 11:13:10 -0500 Received: by mail-pg1-f194.google.com with SMTP id w7so380892pgp.13 for ; Mon, 19 Nov 2018 21:45:52 -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:in-reply-to:references; bh=Zt0Kbm8n47wid3rZUYwFvUoD4Ssgf4A7Tr4QO6s34zQ=; b=QhnyXt1uvxHyBmxvbZIEsPOT1VJZwd0FVpdj2jvFxXF+HW+O1YlCUfEMbwneZjjmvQ XfsuoGf4QWwgdizwJA7AHeISXdp6Zksj0hX2U6z/ED6wXi9WAkB4mDWZtVKt7Uf8ToRq 8Ahr4HwkBQYWM/3ccmEAK42dte/QgEnbM9igQ= 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:in-reply-to :references; bh=Zt0Kbm8n47wid3rZUYwFvUoD4Ssgf4A7Tr4QO6s34zQ=; b=TrrJNvu+++rpYA34/azONOZgqtn6eA6e3Zdp5AoA5BCekVbeVn9MJyzbOpIYQP787P nh/XXyDTewkNQak+EUg2FWVSmvYVezcbh+IbXH5JmZIl9zTVzDfOXV58SjTuidWcJi73 3k9R0Vdf8voUVnyY0ar+kgpiT5jWEv0AFHhrD8iI81WmI59BUCw2h+tmIjFAk76Ge8zt FWObbfLTT1Y1fMKe3RWWmQDLx47EGtTiD2om85ivE9Td5KWXUmLRT3rgxqkcepqoQGoj 0gyqtw741sQadgOkjZPSJ7xoZmbztXxdg1jaRbI/yBGnqamwEbwn5RBy/r5c9gxIFq7D uGwA== X-Gm-Message-State: AA+aEWZc0vgxhc2sC2BaX0djHkFqMWa5GVM5EbAlDryw6uRPpT5KFRfC 5NrclepmBu7KzlYGk4x5XpE4qQ== X-Received: by 2002:a63:6cc8:: with SMTP id h191mr668294pgc.366.1542692752144; Mon, 19 Nov 2018 21:45:52 -0800 (PST) Received: from localhost.localdomain (61-216-91-114.HINET-IP.hinet.net. [61.216.91.114]) by smtp.gmail.com with ESMTPSA id y184sm43257095pgd.71.2018.11.19.21.45.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Nov 2018 21:45:50 -0800 (PST) From: Shawn Guo To: Linus Walleij Cc: Rob Herring , Bjorn Andersson , Vinod Koul , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, Shawn Guo Subject: [PATCH 2/2] pinctrl: qcom: spmi-gpio: add compatible for pms405 GPIO Date: Tue, 20 Nov 2018 13:45:22 +0800 Message-Id: <20181120054522.18698-2-shawn.guo@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181120054522.18698-1-shawn.guo@linaro.org> References: <20181120054522.18698-1-shawn.guo@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Let's add "qcom,pms405-gpio" to match table, as commit ed80f6eb799a ("dt-bindings: pinctrl: qcom-pmic-gpio: Add pms405 support") already adds the compatible. Signed-off-by: Shawn Guo --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index a29efbe08f48..21ccf94b22ea 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1055,6 +1055,7 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8994-gpio" }, /* 22 GPIO's */ { .compatible = "qcom,pmi8994-gpio" }, /* 10 GPIO's */ { .compatible = "qcom,pma8084-gpio" }, /* 22 GPIO's */ + { .compatible = "qcom,pms405-gpio" }, /* 12 GPIO's, holes on 1 9 10 */ { .compatible = "qcom,spmi-gpio" }, /* Generic */ { }, };