Re: [PATCH v3 2/2] pinctrl: qcom: Add Halliday pinctrl driver
From: Bartosz Golaszewski
Date: Tue Nov 24 2026 - 09:40:34 EST
On Tue, Nov 24, 2026 at 02:18:52PM +0000, Stanislav Aleksandrov wrote:
> Add the pinctrl driver for the TLMM block found in the Qualcomm Halliday
> SoC: 224 GPIOs with their functions and PDC wakeup interrupts, the UFS
> reset pin and the SDC2 pins.
>
> The tables are based on Qualcomm's downstream pinctrl-anorak driver.
> The exact PDC map was provided by Bartosz Golaszewski.
>
> Link: https://lore.kernel.org/r/wkceygbndcdv2ldsemla27mn5dnzdeijowvxpjozee73wyze6r@mlmymb7cehm4
> Signed-off-by: Stanislav Aleksandrov <lightofmysoul@xxxxxxxxx>
> ---
...
> +
> +static const struct pinfunction halliday_functions[] = {
> + MSM_GPIO_PIN_FUNCTION(gpio),
> + MSM_PIN_FUNCTION(atest_char),
> + MSM_PIN_FUNCTION(atest_usb),
> + MSM_PIN_FUNCTION(audio_ext_mclk0),
> + MSM_PIN_FUNCTION(audio_ext_mclk1),
> + MSM_PIN_FUNCTION(audio_ref_clk),
> + MSM_PIN_FUNCTION(cam_mclk),
> + MSM_PIN_FUNCTION(cci_async_in),
> + MSM_PIN_FUNCTION(cci_i2c_scl),
> + MSM_PIN_FUNCTION(cci_i2c_sda),
> + MSM_PIN_FUNCTION(cci_timer),
> + MSM_PIN_FUNCTION(cmu_rng),
> + MSM_PIN_FUNCTION(dbg_out_clk),
> + MSM_PIN_FUNCTION(ddr_bist_complete),
> + MSM_PIN_FUNCTION(ddr_bist_fail),
> + MSM_PIN_FUNCTION(ddr_bist_start),
> + MSM_PIN_FUNCTION(ddr_bist_stop),
> + MSM_PIN_FUNCTION(ddr_pxi0),
> + MSM_PIN_FUNCTION(ddr_pxi1),
> + MSM_PIN_FUNCTION(ddr_pxi2),
> + MSM_PIN_FUNCTION(ddr_pxi3),
> + MSM_PIN_FUNCTION(dp0_hot),
> + MSM_PIN_FUNCTION(edp0_hot),
> + MSM_PIN_FUNCTION(edp0_lcd_self),
> + MSM_PIN_FUNCTION(edp1_dpu0_lcd),
> + MSM_PIN_FUNCTION(edp1_dpu1_lcd),
> + MSM_PIN_FUNCTION(edp1_hot),
> + MSM_PIN_FUNCTION(egpio),
Please use MSM_GPIO_PIN_FUNCTION() here. See the series[1] I just sent out
too for reference.
Thanks,
Bartosz
[1] https://lore.kernel.org/all/20261124-qcom-pinctrl-egpio-v1-0-34f2c06b2658@xxxxxxxxxxxxxxxx/