Message ID | 20241019-msm8917-v1-2-f1f3ca1d88e5@mainlining.org |
---|---|
State | New |
Headers | show
Return-Path: <linux-gpio+bounces-11657-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=cRL2yetM; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:40f1:3f00::1; helo=sy.mirrors.kernel.org; envelope-from=linux-gpio+bounces-11657-incoming=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [IPv6:2604:1380:40f1:3f00::1]) (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 4XW0KQ4hrzz1xwL for <incoming@patchwork.ozlabs.org>; Sat, 19 Oct 2024 22:51:38 +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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2450CB23013 for <incoming@patchwork.ozlabs.org>; Sat, 19 Oct 2024 11:51:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3338D1E0DCD; Sat, 19 Oct 2024 11:50:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="cRL2yetM" 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 D28F31E049C; Sat, 19 Oct 2024 11:50:50 +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=1729338652; cv=none; b=SmBTcHskgRNBS0801Qr+j/9BRc8FRzDKx9+GeNYvjd1LMF2p0R16OrqLx8q2+NRyDeRYw+KefxleMEbKLnUqx2PxOccNiTezuawwyUxX9plgNXVR2CHfFJ0GK2TRlpUSV8PfCgEJwpUTOvMvj/2r/vSOygCdETfBYqHQx1IBMRw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729338652; c=relaxed/simple; bh=lD7Z5J16+ZW7jj0xA29KakGtzo/Qo18WuBFRIMXCgUw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Z/pZmztlzi0NCifDIApTcOjjJ2HvhUezDQ3HhpC+P6Kd7tehSHuDD6k7jw5L5KZ0IiFkTRZ2wTiDM+psMnJWdBWypf8L/h/M0m0XhlOnUFHIGLvURFkHaItL6DMPkWbWJNRj8PubQwJwQz94ia/hfaUvzWACYkobvUhfGDAaKRI= 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=cRL2yetM; 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.1.130] (51B6DD9D.dsl.pool.telekom.hu [81.182.221.157]) by mail.mainlining.org (Postfix) with ESMTPSA id 45402E459E; Sat, 19 Oct 2024 11:50:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mainlining.org; s=psm; t=1729338642; 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=84UkJxh0Dni49KkElyBD9QL3bGo5S0yZi1HX4sLA6Es=; b=cRL2yetMc8SmhpXr6wkmi1x/wALsWy4EFMSKbcqdUVinhaEmgMw0L/MKp3gYVQdm1UQUCK clotp6hq/OV+AYAg1fzkGRskDc+sQGq04vOZ4hbUn7IhCz+Xd74UA0bagjxzG/IZ5UBLoN 9IPa5UXef+lTepe3yagdqKpu7dLL5/SnhwqyuRyF6S1vqExiL4+LFdTW/cSMASKpzCJPTC R+sTHYLpjq0VoWP3au4bM1OPwHf+fgc7ZKIuH5QZikAjbaicNz/SDhTy8UiCcInqK7FNal JZZtPVDzjDS8UPQiWV3Yute8PD8ntGYSFTmuki+3XzYkYZd+N3fq04UEsLKJlg== From: =?utf-8?b?QmFybmFiw6FzIEN6w6ltw6Fu?= <barnabas.czeman@mainlining.org> Date: Sat, 19 Oct 2024 13:50:39 +0200 Subject: [PATCH RFC 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: <20241019-msm8917-v1-2-f1f3ca1d88e5@mainlining.org> References: <20241019-msm8917-v1-0-f1f3ca1d88e5@mainlining.org> In-Reply-To: <20241019-msm8917-v1-0-f1f3ca1d88e5@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> X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1729338640; l=1075; i=barnabas.czeman@mainlining.org; s=20240730; h=from:subject:message-id; bh=lD7Z5J16+ZW7jj0xA29KakGtzo/Qo18WuBFRIMXCgUw=; b=wBsmI82ji2gGlqWChhszxmibZWvyY8BDUS5pQRj8cEcI7aZBalWK2NDTRmGpqdbQfO40cowY+ 0t4yDlP/1CMApp/tmqx3Erk67q1yS8cXrOEiPdWceCOFKRqz8RObwSL 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 c33af2d6677846a4c43fc817e7b01621ab220890..b1140eaecd32de90e4ae2eafb1d0e0ec939e24bf 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 },
PM8937 has 8 GPIO-s with holes on GPIO3, GPIO4 and GPIO6. Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org> --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 2 ++ 1 file changed, 2 insertions(+)