未验证 提交 8b037cab 编写于 作者: C Conor Dooley 提交者: Mark Brown

spi: dt-bindings: dw-apb-ssi: update spi-{r,t}x-bus-width

Most users of dw-apb-ssi use spi-{r,t}x-bus-width of 1, however the
Canaan k210 is wired up for a width of 4.
Quoting Serge:
The modern DW APB SSI controllers of v.4.* and newer also support the
enhanced SPI Modes too (Dual, Quad and Octal). Since the IP-core
version is auto-detected at run-time there is no way to create a
DT-schema correctly constraining the Rx/Tx SPI bus widths.
/endquote

As such, drop the restriction on only supporting a bus width of 1.

Link: https://lore.kernel.org/all/20220620205654.g7fyipwytbww5757@mobilestation/Signed-off-by: NConor Dooley <conor.dooley@microchip.com>
Reviewed-by: NSerge Semin <fancer.lancer@gmail.com>
Reviewed-by: NRob Herring <robh@kernel.org>
Tested-by: NNiklas Cassel <niklas.cassel@wdc.com>
Link: https://lore.kernel.org/r/20220629184343.3438856-5-mail@conchuod.ieSigned-off-by: NMark Brown <broonie@kernel.org>
上级 10365cad
...@@ -143,12 +143,6 @@ patternProperties: ...@@ -143,12 +143,6 @@ patternProperties:
minimum: 0 minimum: 0
maximum: 3 maximum: 3
spi-rx-bus-width:
const: 1
spi-tx-bus-width:
const: 1
unevaluatedProperties: false unevaluatedProperties: false
required: required:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册