Skip to content

Commit bfd5fab

Browse files
mmahadevan108nashif
authored andcommitted
drivers: pinctrl: Do not confgure sleep pins in NXP MCI IOMUX driver
The sleep-output property is no longer used. This results in the sleep bit to be always cleared. Delete this code so we can retain any sleep mode configuration done. Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
1 parent 9ad5e8d commit bfd5fab

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/pinctrl/pinctrl_mci_io_mux.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,6 @@ static void configure_pin_props(uint32_t pin_mux, uint8_t gpio_idx)
5959
/* Set slew rate */
6060
set = IOMUX_PAD_GET_SLEW(pin_mux) << ((gpio_idx & 0xF) << 1);
6161
*slew_reg = (*slew_reg & ~mask) | set;
62-
63-
/* Set sleep force enable bit */
64-
mask = (0x1 << (gpio_idx & 0x1F));
65-
set = (IOMUX_PAD_GET_SLEEP_FORCE_EN(pin_mux) << (gpio_idx & 0x1F));
66-
*sleep_force_en = (*sleep_force_en & ~mask) | set;
67-
set = (IOMUX_PAD_GET_SLEEP_FORCE_VAL(pin_mux) << (gpio_idx & 0x1F));
68-
*sleep_force_val = (*sleep_force_val & ~mask) | set;
6962
}
7063

7164
static void select_gpio_mode(uint8_t gpio_idx)

0 commit comments

Comments
 (0)