On 10/10/2022 16:00, Siarhei Volkau wrote: >> How do you build it? How do you test it? It's basically non-compillable, >> dead code. You need a board. > > I tested it on a Ritmix RZX-50 handheld, You cannot, there is no such DTS. > although this patchset doesn't > include it as it requires many other changes to be fully functional. Exactly. > I decided to do this in two steps: add platform first (this patchset) then > specific drivers and quirks, in the next patchset, when this one passes. > > Of course I can add machine's dts with working parts. What's the usual way? Don't add dead code to the kernel, so DTSI comes with DTS. Best regards, Krzysztof