Commit 1154c96
include: drivers: spi.h: Get params from DT
- Get bit ordering from DT property in SPI_CONFIG_DT.
More precisely, set LSB first if set in DT.
- Get CS polarity from DT property in SPI_CONFIG_DT.
- Add inter-word delay parameter to spi_config struct. If value is 0, the
value will be half of the period.
Signed-off-by: Declan Snyder <[email protected]>1 parent 570b445 commit 1154c96
1 file changed
+32
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
469 | 474 | | |
470 | 475 | | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
471 | 499 | | |
472 | 500 | | |
473 | 501 | | |
| |||
487 | 515 | | |
488 | 516 | | |
489 | 517 | | |
490 | | - | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
491 | 521 | | |
492 | 522 | | |
| 523 | + | |
493 | 524 | | |
494 | 525 | | |
495 | 526 | | |
| |||
0 commit comments