]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: spi-uclass: Read chipselect and restrict capabilities
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Thu, 26 Sep 2024 04:55:05 +0000 (10:25 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 9 Oct 2024 15:01:54 +0000 (09:01 -0600)
commit34da258bb0465de4bf44dc8949a9536cc06bf725
tree7aa92b21cd25503e3ad8ed496a38a3ef080546c1
parentc480ec2c45b221b2044c6268c9773e78fa47f305
spi: spi-uclass: Read chipselect and restrict capabilities

Read chipselect properties from DT which are populated using 'reg'
property and save it in plat->cs[] array for later use.

Also read multi chipselect capability which is used for
parallel-memories and return errors if they are passed on using DT but
driver is not capable of handling it.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
41 files changed:
drivers/mtd/spi/sandbox.c
drivers/spi/altera_spi.c
drivers/spi/atcspi200_spi.c
drivers/spi/ath79_spi.c
drivers/spi/atmel_spi.c
drivers/spi/bcm63xx_hsspi.c
drivers/spi/bcm63xx_spi.c
drivers/spi/bcmbca_hsspi.c
drivers/spi/cf_spi.c
drivers/spi/davinci_spi.c
drivers/spi/fsl_dspi.c
drivers/spi/fsl_espi.c
drivers/spi/fsl_qspi.c
drivers/spi/gxp_spi.c
drivers/spi/mpc8xx_spi.c
drivers/spi/mpc8xxx_spi.c
drivers/spi/mscc_bb_spi.c
drivers/spi/mxc_spi.c
drivers/spi/npcm_fiu_spi.c
drivers/spi/nxp_fspi.c
drivers/spi/octeon_spi.c
drivers/spi/omap3_spi.c
drivers/spi/pic32_spi.c
drivers/spi/rk_spi.c
drivers/spi/rockchip_sfc.c
drivers/spi/spi-aspeed-smc.c
drivers/spi/spi-mxic.c
drivers/spi/spi-qup.c
drivers/spi/spi-sifive.c
drivers/spi/spi-sn-f-ospi.c
drivers/spi/spi-sunxi.c
drivers/spi/spi-synquacer.c
drivers/spi/spi-uclass.c
drivers/spi/stm32_qspi.c
drivers/spi/stm32_spi.c
drivers/spi/ti_qspi.c
drivers/spi/xilinx_spi.c
drivers/spi/zynq_qspi.c
drivers/spi/zynq_spi.c
include/spi.h
lib/acpi/acpi_device.c