January 2017 archive

Beaglebone PCF8574A simple driver

PCF8574A is 8-bit expander with I2C bus. Driver will check presence of dev in device-tree, and will count from 0x00 to 0xff. Device tree modifications(vs orginal TI device-trr for beaglebone) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 i2c1_pins: pinmux_i2c1_pins { pinctrl-single,pins = < …

Continue reading