Re: [PATCH 0/4] Fix Samsung pinctrl driver static allocation of GPIO base warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06.10.2023 14:55, Mateusz Majewski wrote:
> The object of this work is fixing the following warning, which appears
> on all targets using that driver:
>
> gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
>
> This needs a small refactor to how we interact with the pinctrl
> subsystem. Finally, we remove some bookkeeping that has only been
> necessary to allocate GPIO bases correctly.
>
> Mateusz Majewski (4):
>    pinctrl: samsung: defer pinctrl_enable
>    pinctrl: samsung: use add_pin_ranges method to add pinctrl ranges
>    pinctrl: samsung: choose GPIO numberspace base dynamically
>    pinctrl: samsung: do not offset pinctrl numberspaces
>
>   drivers/pinctrl/samsung/pinctrl-samsung.c | 56 ++++++++++++-----------
>   drivers/pinctrl/samsung/pinctrl-samsung.h |  4 +-
>   2 files changed, 31 insertions(+), 29 deletions(-)

Just to let everyone know - I've tested this patchset on our test farm 
and found no regressions on various Exynos based boards.

Tested-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux