Hacker News new | ask | show | jobs
by dexterhaslem 1775 days ago
yes ive done this recently with both spi and i2c. it works with modules, the hardest part for me was finding the right way to create the device tree so eg, my module got the spi bus over spidev. same with i2cdev if you are not using userspace