Message ID | 20241107-msm8917-v3-2-6ddc5acd978b@mainlining.org |
---|---|
State | New |
Headers | show
Return-Path: <linux-gpio+bounces-12678-incoming=patchwork.ozlabs.org@vger.kernel.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=mainlining.org header.i=@mainlining.org header.a=rsa-sha256 header.s=psm header.b=b9HYVxWD; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.80.249; helo=am.mirrors.kernel.org; envelope-from=linux-gpio+bounces-12678-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [147.75.80.249]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XkpM21KY6z1xyM for <incoming@patchwork.ozlabs.org>; Fri, 8 Nov 2024 04:03:58 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 82EBF1F23422 for <incoming@patchwork.ozlabs.org>; Thu, 7 Nov 2024 17:03:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A51A5217458; Thu, 7 Nov 2024 17:03:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="b9HYVxWD" X-Original-To: linux-gpio@vger.kernel.org Received: from mail.mainlining.org (mail.mainlining.org [5.75.144.95]) (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 B5DD12170BD; Thu, 7 Nov 2024 17:03:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.75.144.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730998984; cv=none; b=o7sdWdBlwaCLiJ0O71kcQ8DjbXXX7vuslUtu2MQy/COtgc9eh2KW5NPyWP7QipHZ/uI1ZfZBjKC+QmrXbjpuCGM/qtEOXBHsSnjhFUlWpbqgWNF0elW08t0YkYOLZMm0QW8ZB+GzX7g7I1KdXrP/QqstISR9GqmtGFO9o/3d5+Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730998984; c=relaxed/simple; bh=4/3yIerMwWJrV0PgQtDH3R5bMiqTFPqF4LbIqu7XNtA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qTMCgln4Ldd/IOAamYQhVtzbzKS3G6wccnZ4geENmXKhg+At4VisRSs51kEMajFevy4RKoaLR0MepfkZVf83C6mtNmUh/YDOi+za0FK4qjIf8EM2r+IbEuJOmj/5EV9v+wkwBghfz3e8JZqxEYcAJGzaoaa+QIz9IEzygF2JMZY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=b9HYVxWD; arc=none smtp.client-ip=5.75.144.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Received: from [192.168.118.162] (254C2715.nat.pool.telekom.hu [37.76.39.21]) by mail.mainlining.org (Postfix) with ESMTPSA id A0E35E45C5; Thu, 7 Nov 2024 17:02:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mainlining.org; s=psm; t=1730998974; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1cSXtHNT4k7URrcC7KCf7aIwX75O9SVcuiydlyG6cN4=; b=b9HYVxWDznwYuZi4XF9UWzgo7T2G7AbHKxNGyzA9bg4KCuEnHKCOS7uU2NZHyAkNJpI7K9 pIOnXoN9usroW0HzYRkB1gQocw2qm/lg8FZ/CBRvn0OMbPvvVU0qJMmjx1MWJmUefANMFd H5Lnt6mY5neGaFD4YoV7OB8RBhHxivLJaz27fW2p+YFQUIUPwGxR5pxgnhGP4b7gYDh8JI Z9NhkQHjFvW0jxkztOwvGEUg3YNOEIVv8Fdc0D77YDk73wobzyg/cbX3TIcAZsFDOxVkd6 EB4K1h7e1ekgygN/D02H66UjG6LNB8XecVyKaeeokqqCX7Gc4RAsPWJMP+/cog== From: =?utf-8?b?QmFybmFiw6FzIEN6w6ltw6Fu?= <barnabas.czeman@mainlining.org> Date: Thu, 07 Nov 2024 18:02:43 +0100 Subject: [PATCH v3 02/14] pinctrl: qcom-pmic-gpio: Add support for PM8937 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: <linux-gpio.vger.kernel.org> List-Subscribe: <mailto:linux-gpio+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-gpio+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20241107-msm8917-v3-2-6ddc5acd978b@mainlining.org> References: <20241107-msm8917-v3-0-6ddc5acd978b@mainlining.org> In-Reply-To: <20241107-msm8917-v3-0-6ddc5acd978b@mainlining.org> To: Bjorn Andersson <andersson@kernel.org>, Linus Walleij <linus.walleij@linaro.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Konrad Dybcio <konradybcio@kernel.org>, Lee Jones <lee@kernel.org>, Amit Kucheria <amitk@kernel.org>, Thara Gopinath <thara.gopinath@gmail.com>, "Rafael J. Wysocki" <rafael@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Zhang Rui <rui.zhang@intel.com>, Lukasz Luba <lukasz.luba@arm.com>, Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, iommu@lists.linux.dev, =?utf-8?b?QmFybmFiw6Fz?= =?utf-8?b?IEN6w6ltw6Fu?= <barnabas.czeman@mainlining.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1730998970; l=1136; i=barnabas.czeman@mainlining.org; s=20240730; h=from:subject:message-id; bh=4/3yIerMwWJrV0PgQtDH3R5bMiqTFPqF4LbIqu7XNtA=; b=hYAUT/svKEE3ITQ9nUpOqCrhVmG7XwioFmlK4nUk5gjlSWoqKelQEC7PpLxYRnfYMmlu6g2Gn rIR00t+BMMeAKVNlEvTNII2x6kXLd/izhXFVriudpGrFhaqXX1xGY/B X-Developer-Key: i=barnabas.czeman@mainlining.org; a=ed25519; pk=TWUSIGgwW/Sn4xnX25nw+lszj1AT/A3bzkahn7EhOFc= |
Series |
Add MSM8917/PM8937/Redmi 5A
|
expand
|
diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c index d42c812a89a848b2f64c84da1546f48e9e899d4d..a8a154a2ac94e3fc94d2da1710867a6f0a7ae11e 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 },