pl022 driver

Ian Lepore ian at freebsd.org
Mon May 4 15:12:48 UTC 2020


On Mon, 2020-05-04 at 10:58 +0530, Kamal R. Prasad wrote:
> I am looking for the freebsd equivalent of
> https://github.com/torvalds/linux/blob/master/drivers/spi/spi-pl022.c
> 
> thanks
> -kamal
> 

Aleksandr already gave you a link to the only thing which exists, a
stripped-down, spi-master-only driver without dma support, written for
the LPC variation of the pl022 hardware.  It appears to be a very old
driver with no support for FDT data.  But it's the only thing that
exists right now for freebsd.

https://socsvn.freebsd.org/socsvn/soc2015/mihai/bhyve-on-arm-head/sys/arm/lpc/lpc_spi.c

It might be worth checking whether netbsd or openbsd has a driver,
those can often be ported to freebsd without much trouble.

-- Ian

> 
> On Fri, May 1, 2020 at 1:59 PM Kamal R. Prasad <kamalpr at gmail.com>
> wrote:
> 
> > hello,
> > 
> >  I am looking for a pl022 driver for freebsd. Can someone point me
> > to the
> > same?
> > 
> > thanks
> > -kamal
> > 
> > 
> 
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org
> "



More information about the freebsd-arm mailing list