diff options
| author | Frieder Schrempf <frieder.schrempf@kontron.de> | 2026-09-21 12:16:45 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-21 14:15:04 +0200 |
| commit | 631a5633638136add14406d5bc18ca113492cd77 (patch) | |
| tree | 87d278c3a66219b5d0e0304a2da08908365144ed /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2c68b2403acd1cbf0b19c71dab9858cd2ca6bbb5 (diff) | |
spi: Parse the rx-sample-delay-ns peripheral property in the core
"rx-sample-delay-ns" is documented in spi-peripheral-props.yaml as a
generic SPI peripheral property, but the core never looks at it. Only
spi-dw reads it from the peripheral node as the binding describes, and
any other driver wanting to act on it would have to duplicate that.
Add spi_device.rx_sample_delay_ns and parse the property once, in
__spi_add_device(), which covers every way a device can be instantiated
and runs before ->setup().
Use device_property_read_u32() rather than adding this to
of_spi_parse_dt(). spi-dw already uses the fwnode accessor, so the
property works today on ACPI and software node platforms such as the
ones served by spi-dw-pci, and parsing it only in the device tree path
would quietly drop it there.
No functional change, since nothing reads the new field yet.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Link: https://patch.msgid.link/20260921-spi-sample-delay-cleanup-v2-2-b460d572fd32@kontron.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
