gpio: remove handling of W_DISABLE pin

The PinePhone has circuitry that makes this pin active-high, but the
PinePhone Pro doesn't appear to, which means we would need read active
high / active low from the config file. Since the modem works fine
without setting this pin, remove the logic to handle the W_DISBALE pin.
This commit is contained in:
Aren Moynihan
2024-10-28 14:45:18 -04:00
parent ce0fc25892
commit 6016a531a1

View File

@@ -74,10 +74,6 @@ int gpio_line_set_value(struct EG25Manager *manager, int line, enum gpiod_line_v
int gpio_sequence_poweron(struct EG25Manager *manager)
{
/* Disable airplane mode in case it was enabled by other software. The
* W_DISABLE pin is active-low, so we set it to high here. */
gpio_line_set_value(manager, GPIO_OUT_DISABLE, GPIOD_LINE_VALUE_ACTIVE);
/*
* Force the modem to poweroff using the RESET_N pin before attempting to
* boot in case the it got into a bad state.