diff options
author | Janne Grunau <j@jannau.net> | 2023-01-13 19:23:08 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-13 12:31:49 +0000 |
commit | f276aacf5d2f7fb57e400db44c807ea3b9525fd6 (patch) | |
tree | ee0999ff2c040acf0ea51136c107e2c540f63765 /drivers/cxl | |
parent | e0fe6a31cac84735939c29d1e05055d58325c6c0 (diff) |
spi: Use a 32-bit DT property for spi-cs-setup-delay-ns
65us is not a reasonable maximum for this property, as some devices
might need a much longer setup time (e.g. those driven by firmware on
the other end). Plus, device tree property values are in 32-bit cells
and smaller widths should not be used without good reason.
Also move the logic to a helper function, since this will later be used
to parse other CS delay properties too.
Fixes: 33a2fde5f77b ("spi: Introduce spi-cs-setup-ns property")
Signed-off-by: Janne Grunau <j@jannau.net>
Signed-off-by: Hector Martin <marcan@marcan.st>
Link: https://lore.kernel.org/r/20230113102309.18308-2-marcan@marcan.st
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/cxl')
0 files changed, 0 insertions, 0 deletions