zephyr/drivers
Aksel Skauge Mellbye d35eac2326 drivers: spi: gecko: Respect frequency configuration
This commit adds support for configuring SPI frequency per transaction.
The "clock-frequency" devicetree property is used as the default
frequency unless the peripheral being communicated with has a lower
"max-spi-frequency" (passed to the driver as spi_config::frequency).

An error is returned if the requested frequency is higher than the
hardware can support. This limit is half the peripheral clock (PCLK on
Series 2, HFPERCLK on Series 0/1) for SPI in controller mode.

Previously, the driver hard-coded 1 MHz operation. For backwards
compatibility, default to 1 MHz if the "clock-frequency" property is not
set in devicetree.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2024-06-12 18:52:17 +02:00
..
adc drivers: adc device: smartbond: Add power management 2024-06-11 20:04:02 +03:00
audio
auxdisplay
bbram drivers: bbram: stm32-bbram: fix write for devices with TAMP 2024-06-10 15:16:59 -05:00
bluetooth Bluetooth: drivers: Convert Silabs HCI driver to new API 2024-06-11 19:42:49 -04:00
cache
can drivers: can: nxp_s32_canxl: calculate and set the TDCO 2024-06-11 10:05:24 +02:00
charger
clock_control drivers: clock_control: clock_stm32_ll_u5 add get_status API callback 2024-06-12 14:22:13 +03:00
console Revert "drivers/console/xtensa_sim_console: force `\r\n` byte sequence" 2024-06-06 20:06:26 -04:00
coredump
counter drivers: counter: counter_mcux_lptmr: Update to start with top value 2024-06-11 17:04:26 +03:00
crypto
dac
dai drivers: dai/ssp: Support dynamic SSP management 2024-06-04 13:40:04 +02:00
disk drivers: disk: add DISK_IOCTL_CTRL_DEINIT command to supported IOCTLs 2024-06-07 18:16:01 +01:00
display drivers: display: st7796s: remove unused gpio pins 2024-06-11 19:46:21 -04:00
dma drivers: dma: smartbond: Add missing direction case 2024-06-10 14:58:38 +03:00
edac arch: define `struct arch_esf` and deprecate `z_arch_esf_t` 2024-06-04 14:02:51 -05:00
eeprom drivers: eeprom: atmel_at2x: improve Kconfig help descriptions 2024-06-04 13:40:14 +02:00
entropy
espi drivers: samples: espi: Adjust terms per eSPI specification 1.5 2024-06-11 19:46:08 -04:00
ethernet drivers: nxp_enet: Add fuse map address 2024-06-11 20:05:50 +03:00
flash drivers: flash: Fix stm32 ospi and xpsi reset gpios handling 2024-06-12 12:51:06 -04:00
fpga
fuel_gauge
gnss drivers: gnss: make `gnss_xxx_config` and `gnss_driver_api` as `const` 2024-06-12 12:47:34 -04:00
gpio gpio: add support for node label based lookup in the shell 2024-06-12 18:49:54 +02:00
hwinfo driver: Move away from SOC_VENDOR_SILABS 2024-06-10 15:15:34 -05:00
hwspinlock
i2c drivers: i2c: stm32 for V2 driver get_config with timings 2024-06-12 14:35:48 +03:00
i2s
i3c
ieee802154 drivers: ieee802154_nrf5: Use BLE.ADDR instead of FICR to create EUI64. 2024-06-10 15:00:01 +03:00
input drivers: input: sbus remote controller support 2024-06-06 15:56:38 -05:00
interrupt_controller
ipm
kscan
led drivers: led: shell: print color as string 2024-06-11 19:43:15 -04:00
led_strip
lora
mbox
mdio
memc
mfd
mipi_dbi
mipi_dsi
misc
mm drivers: mm/intel_adsp: Add MMU support to MM driver 2024-06-04 13:40:04 +02:00
modem drivers: modem: add at shell 2024-06-10 15:12:34 -05:00
net drivers: nsos: handle connect() blocking call 2024-06-06 15:20:15 -05:00
pcie
peci
pinctrl drivers: pinctrl: esp32: Use BIT macro when writing pin value 2024-06-06 07:52:55 -04:00
pm_cpu_ops
power_domain
ps2
ptp_clock
pwm drivers: pwm: generate pwm with nxp flexio IP 2024-06-11 11:38:48 +01:00
regulator
reset
retained_mem
rtc drivers: rtc: add RV3028 RTC driver 2024-06-10 21:03:59 -04:00
sdhc
sensor drivers: sensor: update bme280 to new async api 2024-06-11 20:28:24 -05:00
serial soc: psoc6: fix build error when CONFIG_UART_INTERRUPT_DRIVEN 2024-06-12 12:50:28 -04:00
sip_svc
smbus
spi drivers: spi: gecko: Respect frequency configuration 2024-06-12 18:52:17 +02:00
syscon
timer drivers: timer: updated lptmr_timer binding 2024-06-11 17:04:26 +03:00
usb drivers: udc_dwc2: Fix control OUT buffer leak 2024-06-12 12:48:45 -04:00
usb_c
video drivers: video: ov7670: introduce driver for ov7670 camera 2024-06-06 20:07:57 -04:00
virtualization
w1
watchdog
wifi drivers: change Laird references to Ezurio 2024-06-05 17:37:54 -05:00
xen
CMakeLists.txt
Kconfig