On 2026-06-02T11:20:14, Peng Fan (OSS) <[email protected]> wrote: > spi: ti_qspi: Use device APIs > > Convert the driver to use driver model APIs for phandle parsing and address > handling instead of legacy FDT interfaces. > > Replace fdt_getprop() parsing of 'syscon-chipselects' with > dev_read_phandle_with_args(), and switch address-related helpers > from devfdt_*() to dev_read_*() variants. > > Also update 'num-cs' handling to use dev_read_u32_default(). > > Remove direct dependencies on gd->fdt_blob and simplify the code while > keeping the existing behavior. > > No functional changes. > > Signed-off-by: Peng Fan <[email protected]> > > drivers/spi/ti_qspi.c | 22 ++++++++++------------ > 1 file changed, 10 insertions(+), 12 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

