dm: spi: Read default speed and mode values from DT
In case of DT boot, don't read default speed and mode for SPI from CONFIG_*, instead read from DT node. This will make sure that boards with multiple SPI/QSPI controllers can be probed at different bus frequencies and SPI modes. Signed-off-by: NVignesh R <vigneshr@ti.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMugunthan V N <mugunthanvnm@ti.com> Reviewed-by: NJagan Teki <jteki@openedev.com>
Showing
想要评论请 注册 或 登录