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>
This commit is contained in:
parent
19272b37aa
commit
c8edb80494
@ -1405,7 +1405,7 @@ static const struct samsung_pin_bank_data exynosautov920_pin_banks7[] = {
|
||||
EXYNOSV920_PIN_BANK_EINTG(8, 0x8000, "gpg1", 0x18, 0x24, 0x28),
|
||||
};
|
||||
|
||||
static const struct samsung_retention_data exynosautov920_retention_data __initconst = {
|
||||
static const struct samsung_retention_data no_retention_data __initconst = {
|
||||
.regs = NULL,
|
||||
.nr_regs = 0,
|
||||
.value = 0,
|
||||
@ -1421,7 +1421,7 @@ static const struct samsung_pin_ctrl exynosautov920_pin_ctrl[] = {
|
||||
.eint_wkup_init = exynos_eint_wkup_init,
|
||||
.suspend = exynosautov920_pinctrl_suspend,
|
||||
.resume = exynosautov920_pinctrl_resume,
|
||||
.retention_data = &exynosautov920_retention_data,
|
||||
.retention_data = &no_retention_data,
|
||||
}, {
|
||||
/* pin-controller instance 1 AUD data */
|
||||
.pin_banks = exynosautov920_pin_banks1,
|
||||
@ -1764,6 +1764,7 @@ static const struct samsung_pin_ctrl gs101_pin_ctrl[] __initconst = {
|
||||
.eint_wkup_init = exynos_eint_wkup_init,
|
||||
.suspend = gs101_pinctrl_suspend,
|
||||
.resume = gs101_pinctrl_resume,
|
||||
.retention_data = &no_retention_data,
|
||||
}, {
|
||||
/* pin banks of gs101 pin-controller (FAR_ALIVE) */
|
||||
.pin_banks = gs101_pin_far_alive,
|
||||
@ -1771,6 +1772,7 @@ static const struct samsung_pin_ctrl gs101_pin_ctrl[] __initconst = {
|
||||
.eint_wkup_init = exynos_eint_wkup_init,
|
||||
.suspend = gs101_pinctrl_suspend,
|
||||
.resume = gs101_pinctrl_resume,
|
||||
.retention_data = &no_retention_data,
|
||||
}, {
|
||||
/* pin banks of gs101 pin-controller (GSACORE) */
|
||||
.pin_banks = gs101_pin_gsacore,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user