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 7B6FC209693; Thu, 12 Dec 2024 15:24:49 +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=1734017089; cv=none; b=pIewy5XpqQxKgSs53ZsD7UVej+3ZeCj5IAhW1MV6zeJDKMsVuHojh/5MMrpNUlsANbaQTrJgfASTyTjFkYsb+lHS2yOuxsAuARfTjySs24+fKqfGMnHNdsEQOZ1FR02rwxzSpIwFqqoPFXJH+UpfApFrErGbY8Wli+VIJ94uRXQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734017089; c=relaxed/simple; bh=uWe27rmbNwgdjToDk9kROja4nC3rqDJ42xFKI7Q+wSg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=uudDJpym5WrP3RGszrqyxjNemBxeHC88TLElgciy52i+vynL7JtB7Gj9OdU9BaKOoJ01kjdAANJaJW2h0ZCYW3ryJdH9DyrmK52wad/+ebQJTcD7yJgi6R8XAu3NJ7e2MzVXMCClUqbhAejSbSrExUg4uC42E4BY204UtHXhPwk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YI9XiDcK; 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="YI9XiDcK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD125C4CECE; Thu, 12 Dec 2024 15:24:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1734017089; bh=uWe27rmbNwgdjToDk9kROja4nC3rqDJ42xFKI7Q+wSg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YI9XiDcKaRL1HnqY+tUEZ6D2NKIRYIqYSVKTAXstzO+Ukno3H8mspqia8nEZBEiXX MKGdpzs0Jv4yQRZnzy9JaBxH9zLNQpdIunFb7kRdAJ1DVV+8lcRuwm7EKwwctufBBb 42zULgaXOokxGn6ksbay0sXhONAt8CmCMrEvdFfw= 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.12 379/466] pinctrl: qcom-pmic-gpio: add support for PM8937 Date: Thu, 12 Dec 2024 15:59:08 +0100 Message-ID: <20241212144321.745864696@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241212144306.641051666@linuxfoundation.org> References: <20241212144306.641051666@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.12-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 a0eb4e01b3a75..1b7eecff3ffa4 100644 --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c @@ -1226,6 +1226,8 @@ static const struct of_device_id pmic_gpio_of_match[] = { { .compatible = "qcom,pm8550ve-gpio", .data = (void *) 8 }, { .compatible = "qcom,pm8550vs-gpio", .data = (void *) 6 }, { .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