drivers: spi: xec: mec172x: Reflect update device tree properties
Propagate update device tree properties. Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
This commit is contained in:
parent
2fed22c26a
commit
b4d82289e1
1 changed files with 2 additions and 2 deletions
|
@ -1188,8 +1188,8 @@ static const struct spi_driver_api spi_qmspi_xec_driver_api = {
|
|||
.irq_pri = DT_INST_IRQ(i, priority), \
|
||||
.pcr_idx = DT_INST_PROP_BY_IDX(i, pcrs, 0), \
|
||||
.pcr_pos = DT_INST_PROP_BY_IDX(i, pcrs, 1), \
|
||||
.port_sel = DT_INST_PROP_OR(i, port-sel, 0), \
|
||||
.chip_sel = DT_INST_PROP_OR(i, chip-select, 0), \
|
||||
.port_sel = DT_INST_PROP_OR(i, port_sel, 0), \
|
||||
.chip_sel = DT_INST_PROP_OR(i, chip_select, 0), \
|
||||
.width = DT_INST_PROP_OR(0, lines, 1), \
|
||||
.irq_config_func = qmspi_xec_irq_config_func_##i, \
|
||||
.pcfg = PINCTRL_DT_INST_DEV_CONFIG_GET(i), \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue