Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 May 2020 09:12:44 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        kamalp@acm.org, freebsd-arm@freebsd.org
Subject:   Re: pl022 driver
Message-ID:  <daece850dda7ede7a04e4d5167c4535d620c2647.camel@freebsd.org>
In-Reply-To: <CAK=yUGKvKiFCjuXwSB8bn%2Bqbhm_co%2B010M%2BD2QWT0EQ6aUmmVg@mail.gmail.com>
References:  <CAK=yUG%2BhC52gRijA6kBa6PoWJp0_naJFHqJzQA3j0ueEHbnmvQ@mail.gmail.com> <CAK=yUGKvKiFCjuXwSB8bn%2Bqbhm_co%2B010M%2BD2QWT0EQ6aUmmVg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gmail.com>
> wrote:
> 
> > hello,
> > 
> >  I am looking for a pl022 driver for freebsd. Can someone point me
> > to the
> > same?
> > 
> > thanks
> > -kamal
> > 
> > 
> 
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org
> "




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?daece850dda7ede7a04e4d5167c4535d620c2647.camel>