From: Hardeep Sharma <hardeep.sharma@oss.qualcomm.com>
To: Abel Vesa <abel.vesa@oss.qualcomm.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Ulf Hansson <ulfh@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney@redhat.com>,
Taniya Das <quic_tdas@quicinc.com>,
Georgi Djakov <djakov@kernel.org>,
Bartosz Golaszewski <brgl@kernel.org>,
Linus Walleij <linusw@kernel.org>,
Thomas Gleixner <tglx@kernel.org>, Radu Rendec <radu@rendec.net>,
Robert Marko <robimarko@gmail.com>,
Guru Das Srinagesh <linux@gurudas.dev>,
linux-arm-msm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-pm@vger.kernel.org, linux-clk@vger.kernel.org,
linux-gpio@vger.kernel.org
Subject: Re: [PATCH v3 09/15] pinctrl: qcom: Add Kuno pinctrl driver
Date: Thu, 27 Aug 2026 22:16:26 +0530 [thread overview]
Message-ID: <789f0ace-585b-40a0-b1ef-2fa0bbbe0ac2@oss.qualcomm.com> (raw)
In-Reply-To: <7ywfd3hfzngejfprv5zkn65kci52q5tgiq5h3sccpz35ov5eq4@ow4edd5epaws>
On 8/24/2026 1:20 PM, Abel Vesa wrote:
> On 26-08-21 21:39:02, Hardeep Sharma wrote:
>> Add the TLMM pinctrl driver for the Qualcomm Kuno platform, supporting
>> 110 GPIOs and their pin multiplexing, pin configuration and gpiolib
>> interface through the common pinctrl-msm driver.
>>
>> Signed-off-by: Hardeep Sharma <hardeep.sharma@oss.qualcomm.com>
>> ---
>> drivers/pinctrl/qcom/Kconfig.msm | 11 +
>> drivers/pinctrl/qcom/Makefile | 1 +
>> drivers/pinctrl/qcom/pinctrl-kuno.c | 801 ++++++++++++++++++++++++++++++++++++
>> 3 files changed, 813 insertions(+)
>>
> [...]
>
>> diff --git a/drivers/pinctrl/qcom/pinctrl-kuno.c b/drivers/pinctrl/qcom/pinctrl-kuno.c
>> new file mode 100644
>> index 000000000000..f3f8ec3e09de
>> --- /dev/null
>> +++ b/drivers/pinctrl/qcom/pinctrl-kuno.c
>> @@ -0,0 +1,801 @@
>> +// SPDX-License-Identifier: GPL-2.0-only
>> +/*
>> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>> + */
>> +
>> +#include <linux/module.h>
>> +#include <linux/of.h>
>> +#include <linux/platform_device.h>
>> +
>> +#include "pinctrl-msm.h"
> [...]
>
>> +
>> +static const struct pinfunction kuno_functions[] = {
>> + MSM_GPIO_PIN_FUNCTION(gpio),
>> + MSM_PIN_FUNCTION(audio_ref_clk),
>> + MSM_PIN_FUNCTION(coex_uart),
>> + MSM_PIN_FUNCTION(ebi2_lcd_a),
>> + MSM_PIN_FUNCTION(ebi2_lcd_cs),
>> + MSM_PIN_FUNCTION(ebi2_lcd_reset),
>> + MSM_PIN_FUNCTION(ebi2_lcd_te),
>> + MSM_PIN_FUNCTION(emac_mdc),
>> + MSM_PIN_FUNCTION(emac_mdio),
>> + MSM_PIN_FUNCTION(emac_pps_in),
>> + MSM_PIN_FUNCTION(emac_ptp_aux),
>> + MSM_PIN_FUNCTION(emac_ptp_pps),
>> + MSM_PIN_FUNCTION(gcc_gp1_clk),
>> + MSM_PIN_FUNCTION(gcc_gp2_clk),
>> + MSM_PIN_FUNCTION(gcc_gp3_clk),
>> + MSM_PIN_FUNCTION(mi2s0_data0),
>> + MSM_PIN_FUNCTION(mi2s0_data1),
>> + MSM_PIN_FUNCTION(mi2s0_sck),
>> + MSM_PIN_FUNCTION(mi2s0_ws),
>> + MSM_PIN_FUNCTION(mi2s1_data0),
>> + MSM_PIN_FUNCTION(mi2s1_data1),
>> + MSM_PIN_FUNCTION(mi2s1_sck),
>> + MSM_PIN_FUNCTION(mi2s1_ws),
>> + MSM_PIN_FUNCTION(mi2s_mclk),
>> + MSM_PIN_FUNCTION(nav_gpio),
>> + MSM_PIN_FUNCTION(pci_e_rst),
>> + MSM_PIN_FUNCTION(pcie_clkreq_n),
>> + MSM_PIN_FUNCTION(pll_bist_sync),
>> + MSM_PIN_FUNCTION(pll_clk_aux),
>> + MSM_PIN_FUNCTION(qdss_cti_trig0),
>> + MSM_PIN_FUNCTION(qdss_cti_trig1),
>> + MSM_PIN_FUNCTION(qdss_cti_trig1_mire),
>> + MSM_PIN_FUNCTION(qdss_gpio_traceclk),
>> + MSM_PIN_FUNCTION(qdss_gpio_tracectl),
>> + MSM_PIN_FUNCTION(qup0_se0),
>> + MSM_PIN_FUNCTION(qup0_se1),
>> + MSM_PIN_FUNCTION(qup0_se2),
>> + MSM_PIN_FUNCTION(qup0_se3_mira),
>> + MSM_PIN_FUNCTION(qup0_se3_mirb),
>> + MSM_PIN_FUNCTION(qup0_se4),
>> + MSM_PIN_FUNCTION(sdc4_clk),
>> + MSM_PIN_FUNCTION(sdc4_cmd),
>> + MSM_PIN_FUNCTION(sdc4_data),
>> + MSM_PIN_FUNCTION(sdc4_tb_trig),
>> + MSM_PIN_FUNCTION(sgmii_phy_intr),
>> + MSM_PIN_FUNCTION(spmi_coex_clk),
>> + MSM_PIN_FUNCTION(spmi_coex_data),
>> + MSM_PIN_FUNCTION(spmi_vgi_hwevent),
>> + MSM_PIN_FUNCTION(uim1_clk),
>> + MSM_PIN_FUNCTION(uim1_data),
>> + MSM_PIN_FUNCTION(uim1_present),
>> + MSM_PIN_FUNCTION(uim1_reset),
>> + MSM_PIN_FUNCTION(usb2phy_ac_en),
>> +};
>> +
>> +/* Every pin is maintained as a single group, and missing or non-existing pin
>> + * would be maintained as dummy group to synchronize pin group index with
>> + * pin descriptor registered with pinctrl core.
>> + * Clients would not be able to request these dummy pin groups.
>> + */
>> +static const struct msm_pingroup kuno_groups[] = {
>> + [0] = PINGROUP(0, uim1_data, NA, NA, NA, NA, NA, NA, NA, NA),
> We use underscores instead of NA here.
>
> Please compare to the older SoCs in upstream.
Thanks for review.
Corrected in v4 :
https://lore.kernel.org/all/20260827-kuno-soc-support-v4-0-dd34f235fc1a@oss.qualcomm.com/
Best Wishes
Hardeep Sharma
next prev parent reply other threads:[~2026-08-27 16:46 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-21 16:08 [PATCH v3 00/15] Add initial support for Qualcomm Kuno SoC Hardeep Sharma
2026-08-21 16:08 ` [PATCH v3 01/15] soc: qcom: geni-se: allow selection on 32-bit ARM Qualcomm SoCs Hardeep Sharma
2026-08-24 7:59 ` Abel Vesa
2026-08-21 16:08 ` [PATCH v3 02/15] dt-bindings: power: rpmpd: Document Kuno RPMh power domains Hardeep Sharma
2026-08-21 16:08 ` [PATCH v3 03/15] pmdomain: qcom: rpmhpd: Add power domains for Kuno Hardeep Sharma
2026-08-24 7:58 ` Abel Vesa
2026-08-21 16:08 ` [PATCH v3 04/15] dt-bindings: clock: qcom,rpmhcc: Add Kuno RPMh clock controller Hardeep Sharma
2026-08-21 16:08 ` [PATCH v3 05/15] clk: qcom: clk-rpmh: Add support for Kuno RPMh clocks Hardeep Sharma
2026-08-21 16:21 ` sashiko-bot
2026-08-24 7:46 ` Abel Vesa
2026-08-21 16:08 ` [PATCH v3 06/15] dt-bindings: interconnect: Add Qualcomm Kuno NoC Hardeep Sharma
2026-08-27 12:20 ` Krzysztof Kozlowski
2026-08-27 17:01 ` Hardeep Sharma
2026-08-21 16:09 ` [PATCH v3 07/15] interconnect: qcom: Add Kuno interconnect provider driver Hardeep Sharma
2026-08-24 7:57 ` Abel Vesa
2026-08-27 16:44 ` Hardeep Sharma
2026-08-27 16:47 ` Hardeep Sharma
2026-08-21 16:09 ` [PATCH v3 08/15] dt-bindings: pinctrl: qcom: Add Kuno TLMM Hardeep Sharma
2026-08-21 16:09 ` [PATCH v3 09/15] pinctrl: qcom: Add Kuno pinctrl driver Hardeep Sharma
2026-08-24 7:50 ` Abel Vesa
2026-08-27 16:46 ` Hardeep Sharma [this message]
2026-08-21 16:09 ` [PATCH v3 10/15] dt-bindings: clock: qcom: Add Kuno Global Clock Controller Hardeep Sharma
2026-08-21 16:18 ` sashiko-bot
2026-08-27 12:22 ` Krzysztof Kozlowski
2026-08-27 16:57 ` Hardeep Sharma
2026-08-21 16:09 ` [PATCH v3 11/15] clk: qcom: Add Global Clock Controller driver for Kuno Hardeep Sharma
2026-08-21 16:25 ` sashiko-bot
2026-08-24 7:40 ` Abel Vesa
2026-08-21 16:09 ` [PATCH v3 12/15] dt-bindings: interrupt-controller: qcom,pdc: Add Kuno compatible string Hardeep Sharma
2026-08-21 16:09 ` [PATCH v3 13/15] dt-bindings: firmware: qcom,scm: Document SCM on Kuno SoC Hardeep Sharma
2026-08-21 16:09 ` [PATCH v3 14/15] dt-bindings: arm: qcom: Document Kuno IDP board Hardeep Sharma
2026-08-27 7:50 ` Bartosz Golaszewski
2026-08-21 16:09 ` [PATCH v3 15/15] ARM: dts: qcom: Add initial device tree for Kuno SoC Hardeep Sharma
2026-08-21 16:23 ` sashiko-bot
2026-08-24 7:45 ` Abel Vesa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=789f0ace-585b-40a0-b1ef-2fa0bbbe0ac2@oss.qualcomm.com \
--to=hardeep.sharma@oss.qualcomm.com \
--cc=abel.vesa@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=bmasney@redhat.com \
--cc=brgl@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=djakov@kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux@gurudas.dev \
--cc=mturquette@baylibre.com \
--cc=quic_tdas@quicinc.com \
--cc=radu@rendec.net \
--cc=robh@kernel.org \
--cc=robimarko@gmail.com \
--cc=sboyd@kernel.org \
--cc=tglx@kernel.org \
--cc=ulfh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox