Hi all, This patch series adds support for MSIOF on R-Car V3U. I tested it on Falcon, with MSIOF1 TXD/RXD loopback (connect pins 5/6 of CN5), CONFIG_SPI_LOOPBACK_TEST, loopback=1, and the following appended to arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts: &msiof1 { #address-cells = <1>; #size-cells = <0>; status = "okay"; loopback@0 { compatible = "linux,spi-loopback-test"; reg = <0>; spi-max-frequency = <10000000>; }; }; Although the bootloader defaults for GPSR1 (0xbff7fff) and IP1SR1 (0x00000000) should be correct to configure the pins for the MSIOF1 function, spi-loopback-test failed with: spi-loopback-test spi0.0: with iteration values: len = 2, tx_off = 0, rx_off = 0 spi-loopback-test spi0.0: loopback strangeness - transfer mismatch on byte 0001 - expected 0x01, but got 0x00 spi-loopback-test spi0.0: spi_msg@(____ptrval____) spi-loopback-test spi0.0: frame_length: 2 spi-loopback-test spi0.0: actual_length: 2 spi-loopback-test spi0.0: spi_transfer@(____ptrval____) spi-loopback-test spi0.0: len: 2 spi-loopback-test spi0.0: tx_buf: (____ptrval____) TX: 00000000: 00 01 spi-loopback-test spi0.0: rx_buf: (____ptrval____) RX: 00000000: 00 00 spi-loopback-test spi0.0: test failed - test returned -22, but we expect 0 spi-loopback-test spi0.0: Finished spi-loopback-tests with return: -22 spi-loopback-test: probe of spi0.0 failed with error -22 Note that the tests before (len = 1) did succeed... I will retry after we have proper pinctrl support. Thanks for your comments! Geert Uytterhoeven (2): [RFC] clk: renesas: r8a779a0: Add MSIOF clocks [RFC] arm64: dts: renesas: r8a779a0: Add dmac1 placeholder node Koji Matsuoka (1): [RFC] arm64: dts: renesas: r8a779a0: Add MSIOF device nodes Wolfram Sang (1): spi: renesas,sh-msiof: Add r8a779a0 (V3U) support .../bindings/spi/renesas,sh-msiof.yaml | 1 + arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 96 +++++++++++++++++++ drivers/clk/renesas/r8a779a0-cpg-mssr.c | 6 ++ 3 files changed, 103 insertions(+) -- 2.25.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds