Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Where to define and register new i2c device/driver

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240

Where to define and register new i2c device/driver

Posted at 4/20/2018 16:51:01      View:3313 | Replies:0        Print      Only Author   [Copy Link] 1#
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
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list