drivers: cc13xx_cc26xx: pinctrl: support edge detection

Introduces support for SoC-specific input-edge-detect configuration to
the CC13/26xx pinctrl driver.

Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
This commit is contained in:
Florian Grandel 2023-07-25 12:49:08 +02:00 committed by Carles Cufí
commit d34709121f
3 changed files with 30 additions and 1 deletions

View file

@ -26,7 +26,8 @@ typedef struct pinctrl_soc_pin {
DT_PROP(node_id, drive_open_source) * IOC_IOMODE_OPEN_SRC_NORMAL | \
(DT_PROP(node_id, drive_strength) >> 2) << IOC_IOCFG0_IOCURR_S | \
DT_PROP(node_id, input_enable) * IOC_INPUT_ENABLE | \
DT_PROP(node_id, input_schmitt_enable) * IOC_HYST_ENABLE)
DT_PROP(node_id, input_schmitt_enable) * IOC_HYST_ENABLE | \
DT_PROP(node_id, ti_input_edge_detect))
#define CC13XX_CC26XX_DT_PIN(node_id) \
{ \