Commit bfd5fab2 authored by Mahesh Mahadevan's avatar Mahesh Mahadevan Committed by Anas Nashif
Browse files

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: default avatarMahesh Mahadevan <mahesh.mahadevan@nxp.com>
parent 9ad5e8dc
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -59,13 +59,6 @@ static void configure_pin_props(uint32_t pin_mux, uint8_t gpio_idx)
	/* Set slew rate */
	set = IOMUX_PAD_GET_SLEW(pin_mux) << ((gpio_idx & 0xF) << 1);
	*slew_reg = (*slew_reg & ~mask) | set;

	/* Set sleep force enable bit */
	mask = (0x1 << (gpio_idx & 0x1F));
	set = (IOMUX_PAD_GET_SLEEP_FORCE_EN(pin_mux) << (gpio_idx & 0x1F));
	*sleep_force_en = (*sleep_force_en & ~mask) | set;
	set = (IOMUX_PAD_GET_SLEEP_FORCE_VAL(pin_mux) << (gpio_idx & 0x1F));
	*sleep_force_val = (*sleep_force_val & ~mask) | set;
}

static void select_gpio_mode(uint8_t gpio_idx)