|
@@ -48,6 +48,7 @@ static struct pin_config_item conf_items[] = {
|
|
|
PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_DRAIN, "output drive open drain", NULL),
|
|
|
PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_SOURCE, "output drive open source", NULL),
|
|
|
PCONFDUMP(PIN_CONFIG_DRIVE_STRENGTH, "output drive strength", "mA"),
|
|
|
+ PCONFDUMP(PIN_CONFIG_INPUT_ENABLE, "input enabled", NULL),
|
|
|
PCONFDUMP(PIN_CONFIG_INPUT_SCHMITT_ENABLE, "input schmitt enabled", NULL),
|
|
|
PCONFDUMP(PIN_CONFIG_INPUT_SCHMITT, "input schmitt trigger", NULL),
|
|
|
PCONFDUMP(PIN_CONFIG_INPUT_DEBOUNCE, "input debounce", "usec"),
|
|
@@ -160,6 +161,8 @@ static struct pinconf_generic_dt_params dt_params[] = {
|
|
|
{ "drive-open-drain", PIN_CONFIG_DRIVE_OPEN_DRAIN, 0 },
|
|
|
{ "drive-open-source", PIN_CONFIG_DRIVE_OPEN_SOURCE, 0 },
|
|
|
{ "drive-strength", PIN_CONFIG_DRIVE_STRENGTH, 0 },
|
|
|
+ { "input-enable", PIN_CONFIG_INPUT_ENABLE, 1 },
|
|
|
+ { "input-disable", PIN_CONFIG_INPUT_ENABLE, 0 },
|
|
|
{ "input-schmitt-enable", PIN_CONFIG_INPUT_SCHMITT_ENABLE, 1 },
|
|
|
{ "input-schmitt-disable", PIN_CONFIG_INPUT_SCHMITT_ENABLE, 0 },
|
|
|
{ "input-debounce", PIN_CONFIG_INPUT_DEBOUNCE, 0 },
|
|
@@ -167,6 +170,7 @@ static struct pinconf_generic_dt_params dt_params[] = {
|
|
|
{ "low-power-disable", PIN_CONFIG_LOW_POWER_MODE, 0 },
|
|
|
{ "output-low", PIN_CONFIG_OUTPUT, 0, },
|
|
|
{ "output-high", PIN_CONFIG_OUTPUT, 1, },
|
|
|
+ { "slew-rate", PIN_CONFIG_SLEW_RATE, 0},
|
|
|
};
|
|
|
|
|
|
/**
|