Timeline for When dynamically adding I2C device through sysfs. Is it possible to also define the GPIO pins that comes with the I2C device?
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 10 at 23:19 | comment | added | Seamus | Wow... yet another hidden nugget of wisdom in the kernel documentation! Thanks for this :) | |
| Jan 18, 2023 at 13:17 | comment | added | Viktor |
Okay, so if I understand this correctly: 1. I create a i2c_board_info struct containing the information for my device. 2. I pass this struct into the i2c_new_client_device function. Would I then be able to compile and run this program? And then the device should be available to me?
|
|
| Jan 18, 2023 at 12:53 | history | answered | MC68020 | CC BY-SA 4.0 |