/Zephyr-latest/drivers/mspi/ |
D | Kconfig | 1 # MSPI driver configuration options 4 # SPDX-License-Identifier: Apache-2.0 7 # MSPI Drivers 9 menuconfig MSPI config 10 bool "Multi-bit Serial Peripheral Interface (MSPI) bus drivers" 12 Enable support for the MSPI hardware bus. 14 if MSPI 25 Enables Driver MSPI peripheral mode operations. Peripheral mode 32 Device driver initialization priority. 38 The tolerance value in ms for the MSPI completion timeout logic. [all …]
|
D | mspi_emul.c | 4 * SPDX-License-Identifier: Apache-2.0 6 * This driver creates fake MSPI buses which can contain emulated devices, 18 #include <zephyr/device.h> 20 #include <zephyr/drivers/mspi.h> 44 /* List of struct mspi_emul associated with the device */ 46 /* common mspi hardware configurations */ 48 /* device id of the current device occupied the bus */ 52 /* device specific hardware settings */ 60 /* local storage of mspi callback hanlder */ 62 /* local storage of mspi callback context */ [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | mspi_emul.h | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/device.h> 12 #include <zephyr/drivers/mspi.h> 19 * @brief Public APIs for the MSPI emulation drivers. 23 * @brief MSPI Emulation Interface 24 * @defgroup mspi_emul_interface MSPI Emulation Interface 36 * Find an emulator present on a MSPI bus 39 * device. It may be useful in systems with the SPI flash chips. 41 * @param dev MSPI emulation controller device 42 * @param dev_idx Device index from device tree. [all …]
|
D | mspi.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Public APIs for MSPI driver 22 #include <zephyr/device.h> 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 [all …]
|
/Zephyr-latest/dts/bindings/mspi/ |
D | mspi-device.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 # Common fields for MSPI devices 8 on-bus: mspi 14 mspi-max-frequency: 18 Maximum clock frequency of device to configure in Hz. 19 In device tree, it is normally the target operating 22 mspi-io-mode: 25 - "MSPI_IO_MODE_SINGLE" 26 - "MSPI_IO_MODE_DUAL" 27 - "MSPI_IO_MODE_DUAL_1_1_2" [all …]
|
D | mspi-controller.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 # Common fields for MSPI controllers 8 bus: mspi 11 clock-frequency: 14 Clock frequency the MSPI peripheral is being driven at, in Hz. 15 "#address-cells": 18 "#size-cells": 22 op-mode: 25 - "MSPI_CONTROLLER" 26 - "MSPI_PERIPHERAL" [all …]
|
D | ambiq,mspi-device.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Ambiq MSPI device 6 compatible: "ambiq,mspi-device" 8 include: [mspi-device.yaml, "jedec,jesd216.yaml"] 11 mspi-io-mode: 14 mspi-data-rate: 17 mspi-hardware-ce-num: 25 rx-dummy: 28 tx-dummy: 31 read-command: [all …]
|
D | zephyr,mspi-emul-device.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Zephyr MSPI Emulation Device 6 compatible: "zephyr,mspi-emul-device" 8 include: mspi-device.yaml 14 xip-config: 17 scramble-config: 20 ce-break-config:
|
D | ambiq,mspi-controller.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Ambiq MSPI controller 6 compatible: "ambiq,mspi-controller" 8 include: [mspi-controller.yaml, pinctrl-device.yaml, ambiq-pwrcfg.yaml] 20 ce-gpios: 23 cmdq-buffer-location: 28 cmdq-buffer-size: 31 Define the DMA command queue buffer size in (4-byte) words
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | mspi.rst | 3 Multi-bit SPI Bus 6 The MSPI (multi-bit SPI) is provided as a generic API to accommodate 16 .. _mspi-controller-api: 18 MSPI Controller API 21 Zephyr's MSPI controller API may be used when a multi-bit SPI controller 22 is present. E.g. Ambiq MSPI, QSPI, OSPI, Flexspi, etc. 25 not limited to high-speed, high density flash/psram memory devices, displays 28 The MSPI interface contains controller drivers that are SoC platform specific 29 and implement the MSPI APIs, and device drivers that reference these APIs. 30 The relationship between the controller and device drivers is many-to-many to [all …]
|
/Zephyr-latest/samples/drivers/mspi/mspi_async/ |
D | README.rst | 1 .. zephyr:code-sample:: mspi-async 2 :name: MSPI asynchronous transfer 3 :relevant-api: mspi_interface 5 Use the MSPI API to interact with MSPI memory device asynchronously. 10 This sample demonstrates using the :ref:`MSPI API <mspi_api>` on a MSPI 11 memory device. The asynchronous transceive call need to be supported 18 The application will build only for a target that has a :ref:`devicetree <dt-guide>` 21 * :dtcompatible:`ambiq,mspi-device`, :dtcompatible:`mspi-aps6404l` 23 .. zephyr-app-commands:: 24 :zephyr-app: samples/drivers/mspi/mspi_async [all …]
|
/Zephyr-latest/samples/drivers/mspi/mspi_flash/ |
D | README.rst | 1 .. zephyr:code-sample:: mspi-flash 2 :name: JEDEC MSPI-NOR flash 3 :relevant-api: flash_interface 5 Use the flash API to interact with a MSPI NOR serial flash memory device. 10 This sample demonstrates using the :ref:`flash API <flash_api>` on a MSPI NOR serial flash 11 memory device. While trivial it is an example of direct access and 18 The application will build only for a target that has a :ref:`devicetree <dt-guide>` 21 * :dtcompatible:`ambiq,mspi-device`, :dtcompatible:`mspi-atxp032` 23 .. zephyr-app-commands:: 24 :zephyr-app: samples/drivers/mspi/mspi_flash [all …]
|
/Zephyr-latest/drivers/flash/ |
D | Kconfig.mspi | 2 # SPDX-License-Identifier: Apache-2.0 4 menu "MSPI flash device driver" 9 select MSPI 11 MSPI flash drivers are enabled. 14 bool "MSPI flash device emulator" 22 bool "MSPI ATXP032 driver"
|
D | flash_mspi_emul_device.c | 3 * SPDX-License-Identifier: Apache-2.0 4 * Emulate a memory device on MSPI emulator bus 13 #include <zephyr/drivers/mspi.h> 40 const struct device *bus; 54 * Acquire the device lock. 56 * @param flash MSPI emulation flash device. 58 static void acquire(const struct device *flash) in acquire() 60 const struct flash_mspi_emul_device_config *cfg = flash->config; in acquire() 61 struct flash_mspi_emul_device_data *data = flash->data; in acquire() 63 k_sem_take(&data->lock, K_FOREVER); in acquire() [all …]
|
/Zephyr-latest/include/zephyr/drivers/mspi/ |
D | devicetree.h | 4 * 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 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 178 * @brief Get a <tt>struct gpio_dt_spec</tt> for a MSPI device's chip enable pin [all …]
|
/Zephyr-latest/drivers/memc/ |
D | Kconfig.mspi | 2 # SPDX-License-Identifier: Apache-2.0 4 menu "MSPI MEMC device driver" 8 select MSPI 10 MSPI MEMC drivers are enabled. 13 bool "MSPI AP Memory APS6404L pSRAM driver"
|
/Zephyr-latest/samples/drivers/mspi/mspi_flash/boards/ |
D | apollo3p_evb.overlay | 4 * SPDX-License-Identifier: Apache-2.0 23 pinctrl-0 = <&mspi1_default>; 24 pinctrl-1 = <&mspi1_sleep>; 25 pinctrl-2 = <&mspi1_psram>; 26 pinctrl-3 = <&mspi1_flash>; 27 pinctrl-names = "default","sleep","psram","flash"; 30 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>, 33 cmdq-buffer-location = ".mspi_buff"; 34 cmdq-buffer-size = <256>; 37 compatible = "ambiq,mspi-device", "mspi-aps6404l"; [all …]
|
/Zephyr-latest/dts/bindings/mtd/ |
D | zephyr,mspi-emul-flash.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Zephyr MSPI flash emulator 6 compatible: "zephyr,mspi-emul-flash" 8 include: ["zephyr,mspi-emul-device.yaml", "jedec,jesd216.yaml"]
|
D | mspi-aps6404l.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: AP Memory APS6404L pSRAM on MSPI bus 6 compatible: "mspi-aps6404l" 8 include: [mspi-device.yaml, "jedec,jesd216.yaml"]
|
D | mspi-atxp032.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: NOR Flash devices ATXP032 on MSPI bus 6 compatible: "mspi-atxp032" 8 include: [mspi-device.yaml, "jedec,jesd216.yaml"]
|
/Zephyr-latest/tests/drivers/mspi/flash/boards/ |
D | apollo3p_evb.overlay | 3 * SPDX-License-Identifier: Apache-2.0 18 compatible = "ambiq,mspi-controller"; 19 pinctrl-0 = <&mspi1_default>; 20 pinctrl-1 = <&mspi1_sleep>; 21 pinctrl-2 = <&mspi1_flash>; 22 pinctrl-names = "default","sleep","flash"; 25 ce-gpios = <&gpio32_63 18 GPIO_ACTIVE_LOW>; 27 cmdq-buffer-location = ".mspi_buff"; 28 cmdq-buffer-size = <256>; 31 compatible = "ambiq,mspi-device", "mspi-atxp032"; [all …]
|
/Zephyr-latest/tests/drivers/mspi/api/boards/ |
D | apollo3p_evb.overlay | 3 * SPDX-License-Identifier: Apache-2.0 18 compatible = "ambiq,mspi-controller"; 19 pinctrl-0 = <&mspi1_default>; 20 pinctrl-1 = <&mspi1_sleep>; 21 pinctrl-2 = <&mspi1_emul>; 24 ce-gpios = <&gpio32_63 18 GPIO_ACTIVE_LOW>; 28 compatible = "zephyr,mspi-emul-device"; 30 mspi-max-frequency = <48000000>; 64 drive-strength = "0.75"; 65 ambiq,iom-mspi = <0>; [all …]
|
/Zephyr-latest/samples/drivers/memc/boards/ |
D | apollo3p_evb.overlay | 4 * SPDX-License-Identifier: Apache-2.0 23 pinctrl-0 = <&mspi1_default>; 24 pinctrl-1 = <&mspi1_sleep>; 25 pinctrl-2 = <&mspi1_psram>; 26 pinctrl-names = "default","sleep","psram"; 29 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>, 32 cmdq-buffer-location = ".mspi_buff"; 33 cmdq-buffer-size = <256>; 36 compatible = "ambiq,mspi-device", "mspi-aps6404l"; 40 mspi-max-frequency = <48000000>; [all …]
|
/Zephyr-latest/samples/drivers/mspi/mspi_async/boards/ |
D | apollo3p_evb.overlay | 4 * SPDX-License-Identifier: Apache-2.0 23 pinctrl-0 = <&mspi1_default>; 24 pinctrl-1 = <&mspi1_sleep>; 25 pinctrl-2 = <&mspi1_psram>; 26 pinctrl-names = "default","sleep","psram"; 29 ce-gpios = <&gpio64_95 5 GPIO_ACTIVE_LOW>, 32 cmdq-buffer-location = ".mspi_buff"; 33 cmdq-buffer-size = <256>; 36 compatible = "ambiq,mspi-device", "mspi-aps6404l"; 40 mspi-max-frequency = <48000000>; [all …]
|
/Zephyr-latest/dts/bindings/spi/ |
D | ambiq,mspi.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Ambiq MSPI 6 compatible: "ambiq,mspi" 8 include: [spi-controller.yaml, pinctrl-device.yaml, ambiq-pwrcfg.yaml]
|