Re: I2C/IIC working on RPI4 8GB?

Mark Millard via freebsd-arm <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>

On 2021-May-1, at 04:48, Mark Murray <markm at freebsd.org> wrote:

> On 30 Apr 2021, at 15:22, Klaus Küchemann <maciphone2 at googlemail.com> wrote:
>> 
>> 
>> yet another useful document(at least that's what I hope to fix your usecase) :
>> 
>> https://www.raspberrypi.org/documentation/configuration/config-txt/gpio.md
> 
> BINGO!!
> 
> I added
> 
> gpio=2,3=a0
> 
> to my config.txt file and after a reboot,
> 
> # i2c -f /dev/iic0 -s worked!


Cool.

But it leaves me wondering what the FreeBSD equivalent
for setting the mode of those 2 gpio's to a0 (or other
alternatives) is supposed to look like (even if such
code would not work as things are in the implementation).

(But, for me, it is idle wondering.)

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
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.