linux版本 linux-3.12.10-ti2013.12.01
在网上看了一下好像在linux4.x的版本会有hdc1000的驱动,但是我们现在使用的是linux-3.12.10-ti2013.12.01,所以要自己撸,没有办法,撸的不好,求斧正。
199 hdc1000:hdc1000@40 {
200 compatible = "hdc1000";
201 reg = <0x40>;
202 interrupts = <29 2>;
203 interrupt-parent = <&gpio1>;
204 irq-gpio=<&gpio1 29 2>;
205 // pinctrl-names = "default";
206 // pinctrl-0 = <&hdc_pins>;
207 };