Hey Folks,
I am impressed with all the discussions and support for the mini projects.
Recently, I am playing around with my dragonboard. Trying to interface with i2c and bmp180 sensor.
I hooked up stuff on breadboard and measure voltages reaching 3.3 v with bread board setup.
I have custom debian build.
I could not get my driver to read the registers of the i2c device at 0x77 (bmp180)
I did create a DT entry under i2c0 as:
27 i2c@78b6000 {
26 /* On Low speed expansion /
25 label = “LS-i2c0”;
24 status = “okay”;
23
22 / test - temp, alti, press sensor driver */
21 tap_sensor: bmp180@77 {
20 status = “okay”;
19 compatible = “test,bmp180”;
18 reg = <0x77>;
17 };
16 };
I could see a device node enumerated under /sys/bus/iio/devices directory.
Am I missing something. please help.
/aisri