Home
last modified time | relevance | path

Searched +full:mspi +full:- +full:endian (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/dts/bindings/mspi/
Dmspi-device.yaml2 # SPDX-License-Identifier: Apache-2.0
4 # Common fields for MSPI devices
8 on-bus: mspi
14 mspi-max-frequency:
22 mspi-io-mode:
25 - "MSPI_IO_MODE_SINGLE"
26 - "MSPI_IO_MODE_DUAL"
27 - "MSPI_IO_MODE_DUAL_1_1_2"
28 - "MSPI_IO_MODE_DUAL_1_2_2"
29 - "MSPI_IO_MODE_QUAD"
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dmspi.h4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Public APIs for MSPI driver
30 * @brief MSPI Driver APIs
31 * @defgroup mspi_interface MSPI Driver APIs
37 * @brief MSPI operational mode
45 * @brief MSPI duplex mode
53 * @brief MSPI I/O mode capabilities
76 * @brief MSPI data rate capabilities
93 * @brief MSPI Polarity & Phase Modes
103 * @brief MSPI Endian
[all …]
/Zephyr-latest/drivers/mspi/
Dmspi_emul.c4 * SPDX-License-Identifier: Apache-2.0
6 * This driver creates fake MSPI buses which can contain emulated devices,
20 #include <zephyr/drivers/mspi.h>
46 /* common mspi hardware configurations */
60 /* local storage of mspi callback hanlder */
62 /* local storage of mspi callback context */
64 /* local mspi context */
69 * Verify if the device with dev_id is on this MSPI bus.
73 * @return 0 The device is on this MSPI bus.
74 * @return -ENODEV The device is not on this MSPI bus.
[all …]
Dmspi_ambiq_ap3.c4 * SPDX-License-Identifier: Apache-2.0
16 #include <zephyr/drivers/mspi.h>
91 LOG_INST_ERR(cfg->log, "%u,Frequency not supported!", __LINE__); in mspi_set_freq()
105 LOG_INST_ERR(cfg->log, "%u, incorrect data rate, only SDR is supported.", __LINE__); in mspi_set_line()
188 if (ctx->owner) { in mspi_context_ce_control()
189 if (ctx->xfer.hold_ce && in mspi_context_ce_control()
190 ctx->xfer.ce_sw_ctrl.gpio.port != NULL) { in mspi_context_ce_control()
192 gpio_pin_set_dt(&ctx->xfer.ce_sw_ctrl.gpio, 1); in mspi_context_ce_control()
193 k_busy_wait(ctx->xfer.ce_sw_ctrl.delay); in mspi_context_ce_control()
195 k_busy_wait(ctx->xfer.ce_sw_ctrl.delay); in mspi_context_ce_control()
[all …]
/Zephyr-latest/include/zephyr/drivers/mspi/
Ddevicetree.h4 * SPDX-License-Identifier: Apache-2.0
11 * @brief MSPI Devicetree related macros
12 * @defgroup mspi_devicetree MSPI Devicetree related macros
29 * @param mspi_dev Devicetree node identifier for the MSPI device whose
41 .endian = DT_ENUM_IDX_OR(mspi_dev, mspi_endian, \
76 * @param mspi_dev Devicetree node identifier for the MSPI device whose
93 * @param mspi_dev Devicetree node identifier for the MSPI device whose
117 * @param mspi_dev Devicetree node identifier for the MSPI device whose
133 * @param mspi_dev Devicetree node identifier for the MSPI device whose
157 * @param mspi_dev Devicetree node identifier for the MSPI device whose
[all …]
/Zephyr-latest/drivers/memc/
Dmemc_mspi_aps6404l.c4 * SPDX-License-Identifier: Apache-2.0
13 #include <zephyr/drivers/mspi.h>
71 const struct memc_mspi_aps6404l_config *cfg = psram->config; in memc_mspi_aps6404l_command_write()
72 struct memc_mspi_aps6404l_data *data = psram->data; in memc_mspi_aps6404l_command_write()
76 data->packet.dir = MSPI_TX; in memc_mspi_aps6404l_command_write()
77 data->packet.cmd = cmd; in memc_mspi_aps6404l_command_write()
78 data->packet.address = addr; in memc_mspi_aps6404l_command_write()
79 data->packet.data_buf = buffer; in memc_mspi_aps6404l_command_write()
80 data->packet.num_bytes = length; in memc_mspi_aps6404l_command_write()
82 data->trans.async = false; in memc_mspi_aps6404l_command_write()
[all …]
/Zephyr-latest/drivers/flash/
Dflash_mspi_atxp032.c4 * SPDX-License-Identifier: Apache-2.0
14 #include <zephyr/drivers/mspi.h>
114 const struct flash_mspi_atxp032_config *cfg = flash->config; in flash_mspi_atxp032_command_write()
115 struct flash_mspi_atxp032_data *data = flash->data; in flash_mspi_atxp032_command_write()
118 data->packet.dir = MSPI_TX; in flash_mspi_atxp032_command_write()
119 data->packet.cmd = cmd; in flash_mspi_atxp032_command_write()
120 data->packet.address = addr; in flash_mspi_atxp032_command_write()
121 data->packet.data_buf = wdata; in flash_mspi_atxp032_command_write()
122 data->packet.num_bytes = length; in flash_mspi_atxp032_command_write()
124 data->trans.async = false; in flash_mspi_atxp032_command_write()
[all …]