Re: [PATCH 2/2] pinctrl: qcom: Add sm8750 pinctrl driver

From: Bjorn Andersson
Date: Tue Oct 22 2024 - 23:27:57 EST


On Mon, Oct 21, 2024 at 04:04:14PM GMT, Melody Olvera wrote:
> Add initial pinctrl driver to support pin configuration with pinctrl

I think you should drop the word "initial", and perhaps insert "TLMM" in
its place.

> framework for sm8750 SoC.
>
[..]
> diff --git a/drivers/pinctrl/qcom/pinctrl-sm8750.c b/drivers/pinctrl/qcom/pinctrl-sm8750.c
[..]
> +static const struct msm_pingroup sm8750_groups[] = {
[..]
> + [215] = UFS_RESET(ufs_reset, 0xE2004, 0xE3000),

It would be nice if these digits where lower case...

> + [216] = SDC_QDSD_PINGROUP(sdc2_clk, 0xDB000, 14, 6),
> + [217] = SDC_QDSD_PINGROUP(sdc2_cmd, 0xDB000, 11, 3),
> + [218] = SDC_QDSD_PINGROUP(sdc2_data, 0xDB000, 9, 0),
> +};
> +
[..]
> +static const int sm8750_reserved_gpios[] = {
> + 36, 37, 38, 39, 74, -1

Any particular reason why these are not gpio-reserved-ranges in
DeviceTree?

Regards,
Bjorn

> +};
> +