linux-stable/drivers/pinctrl/samsung
Mateusz Majewski 8aec97decf pinctrl: samsung: do not offset pinctrl numberspaces
Past versions of this driver have manually calculated base values for
both the pinctrl numberspace and the global GPIO numberspace, giving
both the same values. This was necessary for the global GPIO
numberspace, since its values need to be unique system-wide. However, it
was not necessary for the pinctrl numberspace, since its values only
need to be unique for a single instance of the pinctrl device. It was
just convenient to use the same values for both spaces.

Right now those calculations are only used for the pinctrl numberspace,
since GPIO numberspace bases are selected by the GPIO subsystem.
Therefore, those calculations are unnecessary.

Signed-off-by: Mateusz Majewski <m.majewski2@samsung.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Tested-by: Sam Protsenko <semen.protsenko@linaro.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20231006125557.212681-5-m.majewski2@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2023-10-09 12:37:21 +02:00
..
Kconfig pinctrl: remove s3c24xx driver 2023-01-16 09:26:06 +01:00
Makefile pinctrl: remove s3c24xx driver 2023-01-16 09:26:06 +01:00
pinctrl-exynos-arm.c pinctrl: samsung: fix leaked of_node references 2019-04-23 10:59:47 +02:00
pinctrl-exynos-arm64.c pinctrl: samsung: staticize fsd_pin_ctrl 2022-04-04 18:58:26 +02:00
pinctrl-exynos.c pinctrl: samsung: Annotate struct exynos_muxed_weint_data with __counted_by 2023-10-08 13:36:40 +02:00
pinctrl-exynos.h pinctrl: samsung: Annotate struct exynos_muxed_weint_data with __counted_by 2023-10-08 13:36:40 +02:00
pinctrl-s3c64xx.c pinctrl: samsung: Switch to use for_each_gpiochip_node() helper 2022-04-14 21:44:58 +03:00
pinctrl-samsung.c pinctrl: samsung: do not offset pinctrl numberspaces 2023-10-09 12:37:21 +02:00
pinctrl-samsung.h pinctrl: samsung: do not offset pinctrl numberspaces 2023-10-09 12:37:21 +02:00