Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: samsung: rename exynosautov920_retention_data to no_retention_data

To avoid having an exact copy of this struct for gs101 rename it and use it
for both SoCs for eint banks.

The purpose of this for exynosautov920 and gs101 is to obtain the PMU
syscon for writing the calculated WAKEUP_MASK register(s).

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20250619-gs101-eint-mask-v1-1-89438cfd7499@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

authored by

Peter Griffin and committed by
Krzysztof Kozlowski
c8edb804 19272b37

+4 -2
+4 -2
drivers/pinctrl/samsung/pinctrl-exynos-arm64.c
··· 1405 1405 EXYNOSV920_PIN_BANK_EINTG(8, 0x8000, "gpg1", 0x18, 0x24, 0x28), 1406 1406 }; 1407 1407 1408 - static const struct samsung_retention_data exynosautov920_retention_data __initconst = { 1408 + static const struct samsung_retention_data no_retention_data __initconst = { 1409 1409 .regs = NULL, 1410 1410 .nr_regs = 0, 1411 1411 .value = 0, ··· 1421 1421 .eint_wkup_init = exynos_eint_wkup_init, 1422 1422 .suspend = exynosautov920_pinctrl_suspend, 1423 1423 .resume = exynosautov920_pinctrl_resume, 1424 - .retention_data = &exynosautov920_retention_data, 1424 + .retention_data = &no_retention_data, 1425 1425 }, { 1426 1426 /* pin-controller instance 1 AUD data */ 1427 1427 .pin_banks = exynosautov920_pin_banks1, ··· 1764 1764 .eint_wkup_init = exynos_eint_wkup_init, 1765 1765 .suspend = gs101_pinctrl_suspend, 1766 1766 .resume = gs101_pinctrl_resume, 1767 + .retention_data = &no_retention_data, 1767 1768 }, { 1768 1769 /* pin banks of gs101 pin-controller (FAR_ALIVE) */ 1769 1770 .pin_banks = gs101_pin_far_alive, ··· 1772 1771 .eint_wkup_init = exynos_eint_wkup_init, 1773 1772 .suspend = gs101_pinctrl_suspend, 1774 1773 .resume = gs101_pinctrl_resume, 1774 + .retention_data = &no_retention_data, 1775 1775 }, { 1776 1776 /* pin banks of gs101 pin-controller (GSACORE) */ 1777 1777 .pin_banks = gs101_pin_gsacore,