From patchwork Thu Nov 26 09:21:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 333219 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67A0CC64E7B for ; Thu, 26 Nov 2020 09:22:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0409D21741 for ; Thu, 26 Nov 2020 09:22:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="WRusDJSN" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389233AbgKZJWM (ORCPT ); Thu, 26 Nov 2020 04:22:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:33910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389212AbgKZJWM (ORCPT ); Thu, 26 Nov 2020 04:22:12 -0500 Received: from localhost.localdomain (unknown [122.179.79.180]) (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 9756D21D81; Thu, 26 Nov 2020 09:22:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606382531; bh=J7Ny/AexIoe1mEfGuqNRg5LPcj8KfibZXHtUVvVaILg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WRusDJSNfT8FWqvcy9Zg8smd+greMbrafqj53rzgm3Qbt+LWpensf3icjph8/jGe9 eNx4phgnKfqUQ0V321gmfCyIkoo6n4ewSb9SSAuxvN/+4Duw04vc0WWrIfSncKOrbD qyEamw8MiwWPmR98ys4ChqA7rC4+5P6iM93aXnaA= From: Vinod Koul To: Linus Walleij Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Andy Gross , Rob Herring , Manivannan Sadhasivam , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] pinctrl: qcom-pmic-gpio: Add support for pmx55 Date: Thu, 26 Nov 2020 14:51:51 +0530 Message-Id: <20201126092151.1082697-2-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201126092151.1082697-1-vkoul@kernel.org> References: <20201126092151.1082697-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org PM55 pmic support gpio controller so add compatible and comment for gpio holes Signed-off-by: Vinod Koul --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index 17441388ce8f..9801c717e311 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1129,6 +1129,8 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 }, { .compatible = "qcom,pm6150-gpio", .data = (void *) 10 }, { .compatible = "qcom,pm6150l-gpio", .data = (void *) 12 }, + /* pmx55 has 11 GPIOs with holes on 3, 7, 10, 11 */ + { .compatible = "qcom,pmx55-gpio", .data = (void *) 11 }, { }, };