gpioiic FDT overlays for sun8i-h3

Nick Kostirya nikolay.kostirya at i11.co
Fri Nov 29 11:23:04 UTC 2019


On Thu, 28 Nov 2019 06:21:49 +0100
Emmanuel Vadot <manu at bidouilliste.com> wrote:

>  Try this but I haven't even compiled it :
> 
> /dts-v1/;
> /plugin/;
> 
> / {
>     compatible = "allwinner,sun8i-h3";
> };
> 
> &{/soc/pinctrl at 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 at 0", but this does not work either.


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


More information about the freebsd-arm mailing list