Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3869

Device Tree • Re: Configure overlay for SPI in kernel 6.8

$
0
0
You don't need to write overlays in the dark - there are many, many examples in our kernel trees, including spi0-1cs: https://github.com/raspberrypi/linux/bl ... verlay.dts

An obvious difference between what you've posted and the example is that you don't have an equivalent of fragment 2: https://github.com/raspberrypi/linux/bl ... ts#L23-L28

Code:

fragment@2 {target = <&spidev1>;__overlay__ {status = "disabled";};};
Without this, the kernel will try and fail to configure spi0.1.

Statistics: Posted by PhilE — Thu Oct 17, 2024 10:38 am



Viewing all articles
Browse latest Browse all 3869

Trending Articles