Skip to contentSkip to conversation

arm64: dts: rockchip: add support for NanoPi M6 board

PATCH Diederik de Haas 1 participant 1 message Jul 3 Arm Rockchip

lore
Share & tools
lore
#0 lore raw

[ Something went wrong while sending to the ML, thus forwarding ] Forwarded message from on Fri Jul 3, 2026 at 5:37 PM:

Hi Joachim,

Quoted 35 lines · Joachim Eastwood
Quoted 28 lines · Diederik de Haas
Quoted 12 lines · On Fri Jul 3, 2026 at 12:07 AM CEST, Joachim Eastwood via B4 Relay wrote:

From: Joachim Eastwood <[email protected]>

The NanoPi M6 board shares most of the features of the R6 boards.

Main differences:
* M.2 M-key slot with PCIe (Also present on R6C)
* M.2 E-key slot with PCIe and USB (from hub)
* 1 additional USB 2.0 port from an on-board USB hub
* RT5616 audio CODEC

---

[...]

Review

Quoted 11 lines

+&i2c7 {

(quoted diff) +10 -0
+     clock-frequency = <200000>;
+     status = "okay";
+
+     rt5616: codec@1b {
+             compatible = "realtek,rt5616";
+             reg = <0x1b>;
+             clocks = <&cru I2S0_8CH_MCLKOUT>;
+             clock-names = "mclk";
+             #sound-dai-cells = <0>;
+             assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
Quoted 5 lines

s/I2S0_8CH_MCLKOUT/I2S0_8CH_MCLKOUT_TO_IO/ ?

See these links for details:
https://lore.kernel.org/linux-rockchip/[email protected]/
https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/commit/?h=v7.2-clk/fixes&id=946352b2f88fd2378f0341312e47dff1e8dc2fac

Quoted 6 lines

Thanks for the feedback and pointers.
I will use I2S0_8CH_MCLKOUT_TO_IO for the next version.

Grepping through the other boards there doesn't seem to any other users of I2S0_8CH_MCLKOUT_TO_IO right now. But I assume the other boards will be converted over later(?)

That is indeed the idea; boards can(/should) be converted, ideally by someone who has the board and can verify its result.

There's at least 'one' (or 3) being worked on ;-)
https://git.sr.ht/~diederik/linux-kernel/log/rk3588-nanopc-t6-plus

But for new boards, it's better to use the new _TO_IO variant.

Cheers,
Diederik

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip