7#ifndef DRIVERS_MSPI_HPF_MSPI_H
8#define DRIVERS_MSPI_HPF_MSPI_H
10#include <zephyr/drivers/pinctrl.h>
11#include <zephyr/drivers/mspi.h>
12#include <hal/nrf_timer.h>
18#if defined(CONFIG_SOC_NRF54L15) || defined(CONFIG_SOC_NRF54LM20A) || \
19 defined(CONFIG_SOC_NRF54LM20B)
20#define HPF_MSPI_PIN_COUNT 11
21#elif defined(CONFIG_SOC_NRF54LV10A) || defined(CONFIG_SOC_NRF54LC10A)
22#define HPF_MSPI_PIN_COUNT 10
24#error "Unsupported SoC for HPF MSPI"
45 enum mspi_cpp_mode
cpp;
68 pinctrl_soc_pin_t pin[HPF_MSPI_PIN_COUNT];
87#if (defined(CONFIG_MSPI_HPF_IPC_NO_COPY) || defined(CONFIG_HPF_MSPI_IPC_NO_COPY))
hpf_mspi_opcode_t
eMSPI opcodes.
Definition hpf_mspi.h:28
@ HPF_MSPI_TXRX
Definition hpf_mspi.h:35
@ HPF_MSPI_TX
Definition hpf_mspi.h:34
@ HPF_MSPI_CONFIG_PINS
Definition hpf_mspi.h:31
@ HPF_MSPI_HPF_APP_HARD_FAULT
Definition hpf_mspi.h:36
@ HPF_MSPI_EP_BOUNDED
Definition hpf_mspi.h:29
@ HPF_MSPI_OPCODES_MAX
Definition hpf_mspi.h:40
@ HPF_MSPI_CONFIG_DEV
Definition hpf_mspi.h:32
@ HPF_MSPI_WRONG_OPCODE
Definition hpf_mspi.h:37
@ HPF_MSPI_CONFIG_TIMER_PTR
Definition hpf_mspi.h:30
@ HPF_MSPI_CONFIG_XFER
Definition hpf_mspi.h:33
@ HPF_MSPI_OPCODES_COUNT
Definition hpf_mspi.h:38
hpf_mspi_opcode_t opcode
Definition hpf_mspi.h:72
hpf_mspi_dev_config_t dev_config
Definition hpf_mspi.h:74
uint8_t device_index
Definition hpf_mspi.h:73
enum mspi_cpp_mode cpp
Definition hpf_mspi.h:45
enum mspi_io_mode io_mode
Definition hpf_mspi.h:44
uint8_t ce_index
Definition hpf_mspi.h:46
uint16_t cnt0_value
Definition hpf_mspi.h:48
enum mspi_ce_polarity ce_polarity
Definition hpf_mspi.h:47
uint8_t data
Definition hpf_mspi.h:96
hpf_mspi_opcode_t opcode
Definition hpf_mspi.h:95
NRF_TIMER_Type * timer_ptr
Definition hpf_mspi.h:62
hpf_mspi_opcode_t opcode
Definition hpf_mspi.h:61
hpf_mspi_opcode_t opcode
Definition hpf_mspi.h:66
uint8_t pins_count
Definition hpf_mspi.h:67
hpf_mspi_opcode_t opcode
Definition hpf_mspi.h:78
hpf_mspi_xfer_config_t xfer_config
Definition hpf_mspi.h:79
uint16_t tx_dummy
Definition hpf_mspi.h:56
bool hold_ce
Definition hpf_mspi.h:55
uint8_t command_length
Definition hpf_mspi.h:53
uint8_t address_length
Definition hpf_mspi.h:54
uint8_t device_index
Definition hpf_mspi.h:52
uint16_t rx_dummy
Definition hpf_mspi.h:57
uint32_t num_bytes
Definition hpf_mspi.h:86
hpf_mspi_opcode_t opcode
Definition hpf_mspi.h:83
uint32_t address
Definition hpf_mspi.h:85
uint32_t command
Definition hpf_mspi.h:84