linux-i2c-process

 client driver write i2c calls to i2c-core.

i2c-core calls goes to vendor specific i2c calls.


device tree:

i2c controller andd slaves


i2c1: i2c@400a0000 {

        /* ... master properties skipped ... */

        clock-frequency = <100000>;


//slave1

        flash@50 {

                compatible = "atmel,24c256";

                reg = <0x50>;

        };

//slave2

        pca9532: gpio@60 {

                compatible = "nxp,pca9532";

                gpio-controller;

                #gpio-cells = <2>;

                reg = <0x60>;

        };

}


Comments

Popular posts from this blog

dev_get_platdata understanding

Getting started with pinctrl subsystem linux

How to take systrace in android