summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorChi-Wen Weng <cwweng@nuvoton.com>2026-10-01 21:18:17 +0800
committerMark Brown <broonie@kernel.org>2026-10-04 19:17:57 +0200
commitdd3fb3b259525238e376d443659e219183b9cf19 (patch)
treecbe8cf3c0d8fb6b2e512efbc325f8a1208df9883 /tools/perf/scripts/python/task-analyzer.py
parent1cdbe8d7c228770c3d15b96b36b8875ec9abf746 (diff)
spi: ma35d1: Add Nuvoton MA35D1 SPI controller support
Add support for the SPI controller found in the Nuvoton MA35D1 SoC. The driver supports SPI host mode using polling-based PIO transfers, with SPI modes 0 through 3, LSB-first operation, and word sizes from 8 to 32 bits. Support the two native chip-select outputs as well as GPIO chip selects through the SPI core GPIO descriptor support. Configure the SPI clock divider according to the hardware requirement that only odd CLKDIV register values are valid, ensuring that the generated SPI clock does not exceed the requested transfer frequency. The controller must be disabled before changing CTL, CLKDIV, SSCTL or FIFOCTL. Avoid unnecessary enable/disable cycles by reconfiguring the controller only when the transfer settings change. Add system sleep support using the SPI core suspend and resume helpers. The MA35D1 SPI registers are retained across power-down and deep sleep, so no hardware state restoration is required after resume. Signed-off-by: Chi-Wen Weng <cwweng@nuvoton.com> Link: https://patch.msgid.link/20261001131818.110028-3-cwweng.linux@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions