tests: spi_loopback: Rework test
* Move test to using devicetree for various "device" params. * Move test to using spi_dt_spec to simplify code Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
parent
d5b0bd55e0
commit
ac50f8a99e
103 changed files with 908 additions and 293 deletions
|
@ -7,4 +7,15 @@
|
|||
&spi3 {
|
||||
overrun-character = <0x00>;
|
||||
rx-delay = <1>;
|
||||
cs-gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
|
||||
slow@0 {
|
||||
compatible = "test-spi-loopback-slow";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <500000>;
|
||||
};
|
||||
fast@0 {
|
||||
compatible = "test-spi-loopback-fast";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <16000000>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue