I'm trying to communicate with a device over I2C from my BeagleBone Black, and I'm a bit curious as to the device tree's interpretation of I2C. I see that there are a couple of device nodes within the actual I2C bus node itself, and these are visible in userspace under
/sys/class/i2c-adapter/i2c-x/. But I can't seem to be able to view the status, or query the device like I would be able to with a GPIO device in
I can use SMBus to communicate with the I2C device within a C++ program, but I'm curious as to why some of these built-in devices (like the PMIC) have their own nodes. Is it for kernel driver reasons?