From patchwork Wed Aug 14 12:35:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171276 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp775516ily; Wed, 14 Aug 2019 05:36:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGusJ1OmyiRqpIwz3/3actLsmBepN2nyoGvX1VBagUzROYr8z0bbH85DsQKPwDm6SPmj7d X-Received: by 2002:a63:de43:: with SMTP id y3mr39112458pgi.211.1565786216074; Wed, 14 Aug 2019 05:36:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565786216; cv=none; d=google.com; s=arc-20160816; b=JqsKO0GcZU4kZjhN5CdeX662eDeTfhNOm209PQ1YowoNmaLRSRFI+hA2hcVxDU5r24 Px4tJOZbVzc4D4W4xjQcYbxtR/vqrCHm69nGtD+103QrB4VpsfhoNh6iQ3waYkbAH5SB kWPQabUpQveAOCqKfUtTjiPY3Azq8hV5SXJTkE/eZcfNbBR+DVg72wGEAZD+GKeC6MJO UhI0ulTqExwljfjDt+2rglhpYQYeFgSQmR+uD8jsNw2YlPO52a0PgLeMuF//bxKxD4LC chvZMbVt7V4yzg1sqtlbyBVRj7y8MPfyNOq02/vjbWsNafPOoS+uORoDi7g38MZJU/MX 1zAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PmMyGp5C6LQn3/HcexVwNZYxM0LxjUxajhLFPioMrro=; b=bY9rF4gV6vNURwiBzsAMOq2oiDEIL5sh36ogo2id/46eKBQNEnkkvEQv+GUetXqP38 1M94jDfTVHFtl3pLhxV1XHES9o2R2I6ArQpyuVxh67RVcMMFnL8qFX05HVwCA4F+g85e nHYE5EFmGbQ2vmO3ClgE/t6o4NyEn1uoStsqikhAjUd9Rqo5qx4s2kOp8ZdlDKzBjRZm aevttMHOfSQpclxf1/6jQ6lwdAa9Ftpxx+gpSSHoKMrfI7jx6J8DoJw/B3gxqlQgWv6l p5CfIR37e73wjaksL66kQsdrB6baVkzpBFvPABGfgYVhLT75CF2xqTrX1LZdL8uMMoVy RZSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iYMGZ4F2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d74si9724683pfd.164.2019.08.14.05.36.55; Wed, 14 Aug 2019 05:36:56 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=iYMGZ4F2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727973AbfHNMgy (ORCPT + 28 others); Wed, 14 Aug 2019 08:36:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:57072 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbfHNMgx (ORCPT ); Wed, 14 Aug 2019 08:36:53 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C3DC8214DA; Wed, 14 Aug 2019 12:36:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565786212; bh=iw7/VOdW7KyurNi2mN9MCaftt4mJsQIbhD4ac/JMS08=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iYMGZ4F2C016+yIxESrvTfcGGu1G3m80KFPKMkBm585htPG2zIwAAQxEhwMpr7Vdx +1d28PXinWL+jnEdnJhsYMIRySOyt+o2y4ApGXuay/XlakUuKk31olwS4ticd+OGBo dx3zNuvBaI7MagLWcEEhDxOt9q9mVJ17arK2zlQY= From: Vinod Koul To: Linus Walleij Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Andy Gross , Rob Herring , Mark Rutland , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] dt-bindings: pinctrl: qcom-pmic-gpio: Add pm8150l support Date: Wed, 14 Aug 2019 18:05:12 +0530 Message-Id: <20190814123512.6017-3-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814123512.6017-1-vkoul@kernel.org> References: <20190814123512.6017-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for the PM8150l GPIO support to the Qualcomm PMIC GPIO binding. Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 1 + drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++ 2 files changed, 3 insertions(+) -- 2.20.1 diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt index 457459d17e79..c32bf3237545 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt @@ -99,6 +99,7 @@ to specify in a pin configuration subnode: gpio1-gpio10 for pm8150 (holes on gpio2, gpio5, gpio7 and gpio8) gpio1-gpio12 for pm8150b (holes on gpio3, gpio4, gpio7) + gpio1-gpio12 for pm8150l (hole on gpio7) - function: Usage: required diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index 931c9349f145..6f935e46f12c 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1159,6 +1159,8 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8150-gpio", .data = (void *) 10 }, /* pm8150b has 12 GPIOs with holes on 3, r and 7 */ { .compatible = "qcom,pm8150b-gpio", .data = (void *) 12 }, + /* pm8150l has 12 GPIOs with holes on 7 */ + { .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 }, { }, };