/linux-6.12.1/drivers/spi/ |
D | spi-bcm-qspi.c | 255 static inline bool has_bspi(struct bcm_qspi *qspi) in has_bspi() argument 257 return qspi->bspi_mode; in has_bspi() 261 static inline bool bcm_qspi_has_fastbr(struct bcm_qspi *qspi) in bcm_qspi_has_fastbr() argument 263 if (!has_bspi(qspi) && in bcm_qspi_has_fastbr() 264 ((qspi->mspi_maj_rev >= 1) && in bcm_qspi_has_fastbr() 265 (qspi->mspi_min_rev >= 5))) in bcm_qspi_has_fastbr() 272 static inline bool bcm_qspi_has_sysclk_108(struct bcm_qspi *qspi) in bcm_qspi_has_sysclk_108() argument 274 if (!has_bspi(qspi) && (qspi->mspi_spcr3_sysclk || in bcm_qspi_has_sysclk_108() 275 ((qspi->mspi_maj_rev >= 1) && in bcm_qspi_has_sysclk_108() 276 (qspi->mspi_min_rev >= 6)))) in bcm_qspi_has_sysclk_108() [all …]
|
D | spi-stm32-qspi.c | 131 struct stm32_qspi *qspi = (struct stm32_qspi *)dev_id; in stm32_qspi_irq() local 134 cr = readl_relaxed(qspi->io_base + QSPI_CR); in stm32_qspi_irq() 135 sr = readl_relaxed(qspi->io_base + QSPI_SR); in stm32_qspi_irq() 140 writel_relaxed(cr, qspi->io_base + QSPI_CR); in stm32_qspi_irq() 141 complete(&qspi->match_completion); in stm32_qspi_irq() 149 writel_relaxed(cr, qspi->io_base + QSPI_CR); in stm32_qspi_irq() 150 complete(&qspi->data_completion); in stm32_qspi_irq() 166 static int stm32_qspi_tx_poll(struct stm32_qspi *qspi, in stm32_qspi_tx_poll() argument 184 ret = readl_relaxed_poll_timeout_atomic(qspi->io_base + QSPI_SR, in stm32_qspi_tx_poll() 188 dev_err(qspi->dev, "fifo timeout (len:%d stat:%#x)\n", in stm32_qspi_tx_poll() [all …]
|
D | spi-ti-qspi.c | 126 static inline unsigned long ti_qspi_read(struct ti_qspi *qspi, in ti_qspi_read() argument 129 return readl(qspi->base + reg); in ti_qspi_read() 132 static inline void ti_qspi_write(struct ti_qspi *qspi, in ti_qspi_write() argument 135 writel(val, qspi->base + reg); in ti_qspi_write() 140 struct ti_qspi *qspi = spi_controller_get_devdata(spi->controller); in ti_qspi_setup() local 144 dev_dbg(qspi->dev, "host busy doing other transfers\n"); in ti_qspi_setup() 148 if (!qspi->host->max_speed_hz) { in ti_qspi_setup() 149 dev_err(qspi->dev, "spi max frequency not defined\n"); in ti_qspi_setup() 153 spi->max_speed_hz = min(spi->max_speed_hz, qspi->host->max_speed_hz); in ti_qspi_setup() 155 ret = pm_runtime_resume_and_get(qspi->dev); in ti_qspi_setup() [all …]
|
D | spi-microchip-core-qspi.c | 126 static int mchp_coreqspi_set_mode(struct mchp_coreqspi *qspi, const struct spi_mem_op *op) in mchp_coreqspi_set_mode() argument 128 u32 control = readl_relaxed(qspi->regs + REG_CONTROL); in mchp_coreqspi_set_mode() 156 writel_relaxed(control, qspi->regs + REG_CONTROL); in mchp_coreqspi_set_mode() 161 static inline void mchp_coreqspi_read_op(struct mchp_coreqspi *qspi) in mchp_coreqspi_read_op() argument 165 if (!qspi->rx_len) in mchp_coreqspi_read_op() 168 control = readl_relaxed(qspi->regs + REG_CONTROL); in mchp_coreqspi_read_op() 175 writel_relaxed(control, qspi->regs + REG_CONTROL); in mchp_coreqspi_read_op() 177 while (qspi->rx_len >= 4) { in mchp_coreqspi_read_op() 178 while (readl_relaxed(qspi->regs + REG_STATUS) & STATUS_RXFIFOEMPTY) in mchp_coreqspi_read_op() 180 data = readl_relaxed(qspi->regs + REG_X4_RX_DATA); in mchp_coreqspi_read_op() [all …]
|
D | Makefile | 36 obj-$(CONFIG_SPI_BCM_QSPI) += spi-iproc-qspi.o spi-brcmstb-qspi.o spi-bcm-qspi.o 44 obj-$(CONFIG_SPI_COLDFIRE_QSPI) += spi-coldfire-qspi.o 62 obj-$(CONFIG_SPI_FSL_QUADSPI) += spi-fsl-qspi.o 85 obj-$(CONFIG_SPI_MICROCHIP_CORE_QSPI) += spi-microchip-core-qspi.o 104 obj-$(CONFIG_SPI_TI_QSPI) += spi-ti-qspi.o 116 obj-$(CONFIG_SPI_QCOM_QSPI) += spi-qcom-qspi.o 137 obj-$(CONFIG_SPI_STM32_QSPI) += spi-stm32-qspi.o 156 obj-$(CONFIG_SPI_ZYNQ_QSPI) += spi-zynq-qspi.o
|
/linux-6.12.1/arch/arm/boot/dts/intel/socfpga/ |
D | socfpga_arria10_socdk_qspi.dts | 9 &qspi { 26 partition@qspi-boot { 31 partition@qspi-rootfs {
|
D | socfpga_arria5_socdk.dts | 116 &qspi { 133 partition@qspi-boot { 139 partition@qspi-rootfs {
|
D | socfpga_cyclone5_socdk.dts | 121 &qspi { 138 partition@qspi-boot { 144 partition@qspi-rootfs {
|
/linux-6.12.1/arch/arm/boot/dts/renesas/ |
D | r8a7742-iwg21m.dtsi | 40 qspi-en-hog { 84 qspi_pins: qspi { 86 function = "qspi"; 90 &qspi {
|
D | r8a7744-iwg20m.dtsi | 39 qspi_pins: qspi { 41 function = "qspi"; 61 &qspi {
|
D | r8a7743-iwg20m.dtsi | 44 qspi_pins: qspi { 46 function = "qspi"; 66 &qspi {
|
D | r8a7745-iwg22m.dtsi | 43 qspi_pins: qspi { 45 function = "qspi"; 70 &qspi {
|
/linux-6.12.1/arch/arm64/boot/dts/xilinx/ |
D | zynqmp-zcu1275-revA.dts | 23 spi0 = &qspi; 45 &qspi {
|
D | zynqmp-zc1254-revA.dts | 23 spi0 = &qspi; 41 &qspi {
|
D | zynqmp-zc1232-revA.dts | 22 spi0 = &qspi; 40 &qspi {
|
D | zynqmp-zc1751-xm018-dc4.dts | 29 spi0 = &qspi; 173 &qspi {
|
/linux-6.12.1/arch/arm/boot/dts/microchip/ |
D | at91-sam9x60ek.dts | 325 qspi { 326 pinctrl_qspi: qspi { 570 &qspi { 587 label = "qspi: at91bootstrap"; 592 label = "qspi: bootloader"; 597 label = "qspi: bootloader env redundant"; 602 label = "qspi: bootloader env"; 607 label = "qspi: device tree"; 612 label = "qspi: kernel";
|
D | at91-sama5d2_icp.dts | 692 label = "qspi: at91bootstrap"; 697 label = "qspi: bootloader"; 702 label = "qspi: bootloader env redundant"; 707 label = "qspi: bootloader env"; 712 label = "qspi: device tree"; 717 label = "qspi: kernel";
|
/linux-6.12.1/arch/mips/boot/dts/brcm/ |
D | bcm7125.dtsi | 247 qspi: spi@443000 { label 250 compatible = "brcm,spi-bcm-qspi", 251 "brcm,spi-brcmstb-qspi"; 270 compatible = "brcm,spi-bcm-qspi",
|
D | bcm7420.dtsi | 308 qspi: spi@443000 { label 311 compatible = "brcm,spi-bcm-qspi", 312 "brcm,spi-brcmstb-qspi"; 331 compatible = "brcm,spi-bcm-qspi",
|
D | bcm7358.dtsi | 339 qspi: spi@413000 { label 342 compatible = "brcm,spi-bcm-qspi", 343 "brcm,spi-brcmstb-qspi"; 362 compatible = "brcm,spi-bcm-qspi",
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sc7280-chrome-common.dtsi | 85 * Chrome designs always boot from SPI flash hooked up to the qspi. 91 &qspi { 165 qspi_sleep: qspi-sleep-state {
|
/linux-6.12.1/arch/arm64/boot/dts/amd/ |
D | elba.dtsi | 81 qspi: spi@2400 { label 82 compatible = "amd,pensando-elba-qspi", "cdns,qspi-nor";
|
/linux-6.12.1/arch/arm/boot/dts/broadcom/ |
D | bcm5301x.dtsi | 100 compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi";
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx7-tqma7.dtsi | 24 qspi-reset-hog { 28 line-name = "qspi-reset"; 258 &qspi {
|