Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2019 13:22:59 +0200
From:      Nick Kostirya <nikolay.kostirya@i11.co>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        Nick Kostirya via freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: gpioiic FDT overlays for sun8i-h3
Message-ID:  <20191129132259.7c59777d@thinkpad>
In-Reply-To: <20191128062149.577be86eb7dc15ae5805f31a@bidouilliste.com>
References:  <20191128152901.39dbeb4d@thinkpad> <20191128062149.577be86eb7dc15ae5805f31a@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Nov 2019 06:21:49 +0100
Emmanuel Vadot <manu@bidouilliste.com> wrote:

>  Try this but I haven't even compiled it :
> 
> /dts-v1/;
> /plugin/;
> 
> / {
>     compatible = "allwinner,sun8i-h3";
> };
> 
> &{/soc/pinctrl@1c20800} {
>         gpioiic0 {
>             compatible    = "gpioiic";
>             scl = <0>; /*    GPIO pin 00 (PA0) */
>             sda = <2>; /*    GPIO pin 02 (PA2) */
> 
>     };
> };


But how does the kernel know what it must to call gpioiic_probe function?

I use also "gpioiic@0", but this does not work either.


And Why ofwdump show gpioiic, but devinfo do not it?



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