From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21D002080D9; Thu, 12 Dec 2024 17:50:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734025822; cv=none; b=kBWbHYCijCpzfD8HTfTQmfKILumFWbNZ1ECsnEoXRiUyfwnnTNlRHAmFRmXYin/4tTEwNCILGq94JubaI2tmkhlVU3drPz761ZZO9M7UdTpFF1Uq/v0Z78n3AixbXAclDvS9RM6gY52iYeXZC46IyDI+4EEZKJsasSOF2Agd3AQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734025822; c=relaxed/simple; bh=BqYFtzhh6zrEbcXq3EdSZ1RNFogdYXjnlkR0dzXwzjc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WsMO6dOb9o/b0EKgvKAhDERTEyDG3OAJ8GNk1KPVPcwGj4XMFjaEkjmkv/zZhuAD+gtRoz8s/w/FGEGaTqJ0E6P8ON/pIzjOEO57jOAlJxyIYvpuHFFcxkrV959RlzgDYaOHwpHf0Kco9Yj1e4JHkDNUrb4FKBeIUoIyNvNnQGc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RC4vmpAH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="RC4vmpAH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99FC5C4CED0; Thu, 12 Dec 2024 17:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1734025822; bh=BqYFtzhh6zrEbcXq3EdSZ1RNFogdYXjnlkR0dzXwzjc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RC4vmpAHkUeMA8pXi2I42b8bszAu77UYFOUD3VAeGKDyilSnnPtko7zS/B3BDUU93 /yg3SlIWHMY/lyIdhTTcTN1b6IiQwgz/US6aOFT9qnXyoBH15+E8XMfaG25VA9w23g y5AJoTtoOYKtDDPFuXEcLe0gnOx9wM2txRHocJu4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Barnab=C3=A1s=20Cz=C3=A9m=C3=A1n?= , Dmitry Baryshkov , Linus Walleij , Sasha Levin Subject: [PATCH 5.4 298/321] pinctrl: qcom-pmic-gpio: add support for PM8937 Date: Thu, 12 Dec 2024 16:03:36 +0100 Message-ID: <20241212144241.749577097@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241212144229.291682835@linuxfoundation.org> References: <20241212144229.291682835@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Barnabás Czémán [ Upstream commit 89265a58ff24e3885c2c9ca722bc3aaa47018be9 ] PM8937 has 8 GPIO-s with holes on GPIO3, GPIO4 and GPIO6. Signed-off-by: Barnabás Czémán Reviewed-by: Dmitry Baryshkov Link: https://lore.kernel.org/20241031-msm8917-v2-2-8a075faa89b1@mainlining.org Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- 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 3769ad08eadfe..ea244b00d5bed 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1106,6 +1106,8 @@ static int pmic_gpio_remove(struct platform_device *pdev) static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8005-gpio", .data = (void *) 4 }, { .compatible = "qcom,pm8916-gpio", .data = (void *) 4 }, + /* pm8937 has 8 GPIOs with holes on 3, 4 and 6 */ + { .compatible = "qcom,pm8937-gpio", .data = (void *) 8 }, { .compatible = "qcom,pm8941-gpio", .data = (void *) 36 }, { .compatible = "qcom,pm8994-gpio", .data = (void *) 22 }, { .compatible = "qcom,pmi8994-gpio", .data = (void *) 10 }, -- 2.43.0