drivers: cc13xx_cc26xx: pinctrl: support drive strength
Introduces support for drive-strength configuration to the CC13/26xx pinctrl driver. Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
This commit is contained in:
parent
31fb5f53d2
commit
0dcbb22265
2 changed files with 26 additions and 0 deletions
|
@ -24,6 +24,7 @@ typedef struct pinctrl_soc_pin {
|
|||
DT_PROP(node_id, bias_disable) * IOC_NO_IOPULL | \
|
||||
DT_PROP(node_id, drive_open_drain) * IOC_IOMODE_OPEN_DRAIN_NORMAL | \
|
||||
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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue