Re: Kernel doesn't call spi driver's _match() and _attach()

Nick Hudson <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
On 17/09/2024 13:11, Nikita Donskov wrote:
[snip]
> Thank you very much, the problem was exactly what you pointed out.  To be
> honest, I didn't know anything about FDT before.  Below are the steps I
> performed in order to tell kernel about bcmspi existance on evbarm/RPI.
> (for those, who are facing the same issue).

The "normal" way of doing this is using overlays

https://mail-index.netbsd.org/port-arm/2018/12/12/msg005320.html
https://www.raspberrypi.com/documentation/computers/configuration.html#part2

Should help here.

Nick
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.