commit | baaa3fc6cada3f333de1264fb09e9d651862ad46 | [log] [tgz] |
---|---|---|
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | Wed Nov 20 22:27:31 2019 +0100 |
committer | Marek Vasut <marex@denx.de> | Wed Nov 20 23:46:11 2019 +0100 |
tree | 285f8ec37fff6d6bcdb5718fbcade6b4278fa916 | |
parent | 0b6b82a6eab6eb612bafa05b86357c6dff0d9f39 [diff] [blame] |
spi: cadence_qspi: support DM_CLK Support loading clk speed via DM instead of requiring ad-hoc code. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
diff --git a/drivers/spi/cadence_qspi.h b/drivers/spi/cadence_qspi.h index 20cceca..99dee75 100644 --- a/drivers/spi/cadence_qspi.h +++ b/drivers/spi/cadence_qspi.h
@@ -16,6 +16,7 @@ #define CQSPI_READ_CAPTURE_MAX_DELAY 16 struct cadence_spi_platdata { + unsigned int ref_clk_hz; unsigned int max_hz; void *regbase; void *ahbbase;