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 485CE229661; Thu, 12 Dec 2024 16:35:30 +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=1734021330; cv=none; b=XPme75a0bYacHUOqvGQ08MER/DRiXXI4JG2Q3VkNpSeW33Fcr/K4ycGPPvoqVTluFy7g6cOJ66sRDFOqntGMx5ywAu/ZvNlMZplIdXALOblOSzaSzcdByMjjxYiatb9stLuqN/yar2AYcGqKlEkyPpaUTRm6BzCXeI/uvcZAyuw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734021330; c=relaxed/simple; bh=EZMNECxZCVtvCQ+Ju3hiqucOG08EJ7mOTEzjC2hY3Yo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=iE8RxXRkj1ub813XZXqEE4Xf4cx+t+Ha0bSWDdHTdGw+Gfj5ld9lk41h2AZIeTKY3Wv7RPUENm/3mFRFdp6rhcC3FrtP8dM4jyfKrzyXBwcQ8wZ/lrLbhSwgjk9mwnb/H+KTJ+jVd5NagVAC0Rs4O99EhusKLD6lp9J2ajmBxPI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rBjiDlbV; 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="rBjiDlbV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA780C4CED4; Thu, 12 Dec 2024 16:35:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1734021330; bh=EZMNECxZCVtvCQ+Ju3hiqucOG08EJ7mOTEzjC2hY3Yo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rBjiDlbVOlhFvo/Lc8mGIPsMtiM45xnsBkzRkV0N+ZEJsqskwexltlyVQj2GeFNke zo3eNmfgAYNuRjGfCnbM6Rr6H7+MqeuICB7cWAF8h9d7PwCLZDLSq++6/1CtX3LuIq es8cJoX5a8j//nMiXtfGFeU312BwfMjwQT/rMEps= 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 6.1 708/772] pinctrl: qcom-pmic-gpio: add support for PM8937 Date: Thu, 12 Dec 2024 16:00:53 +0100 Message-ID: <20241212144419.154124695@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241212144349.797589255@linuxfoundation.org> References: <20241212144349.797589255@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 6.1-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 effe32996bac6..63255cd35bd70 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1219,6 +1219,8 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 }, { .compatible = "qcom,pm8450-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 }, /* pm8950 has 8 GPIOs with holes on 3 */ { .compatible = "qcom,pm8950-gpio", .data = (void *) 8 }, -- 2.43.0