Firefly Open Source Community

Title: Where to define and register new i2c device/driver [Print This Page]

Author: KrunalShah    Time: 4/20/2018 16:51
Title: Where to define and register new i2c device/driver
Hi,
I am trying to interface pcf8574(i2c-gpio expander) with rk3399 and AIO 3399J using the i2c4 port.I have also added basic details of pcf8574 in the 'rk3399-firefly-port.dtsi' file.But I do not know how to define and register the i2c device/driver in dts file.They have mentioned the steps for device/driver registration but I could not understand it.
Steps: http://en.t-firefly.com/doc/product/info/280.html




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1