mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-17 23:13:46 +00:00
Convert ak8975 sensor driver to utilize device tree. This also supports the ak8975 embedded in a invensense MPU9150. In such a case the device tree node should look something like, where the ak8975 is a child of the mpu9150. mpu9150@68 { compatible = "invensense,mpu9150"; reg = <0x68>; label = "mpu9150"; #address-cells = <1>; #size-cells = <0>; ak8975@c { compatible = "asahi-kasei,ak8975"; reg = <0xc>; label = "ak8975"; }; }; Signed-off-by: Kumar Gala <kumar.gala@linaro.org> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
drivers.conf | ||
dts_fixup.h | ||
eeprom.conf | ||
ethernet.conf | ||
gpio.conf | ||
prj.conf | ||
README.txt | ||
sensors_a_h.conf | ||
sensors_i_z.conf | ||
sensors_stmemsc_trigger.conf | ||
sensors_stmemsc.conf | ||
sensors_trigger_a_h.conf | ||
sensors_trigger_i_z.conf | ||
testcase.yaml |
Overview -------- Build tests for drivers and sensors on all platforms. This test might now work for some of the drivers, those need to be addressed in other tests targeting those special cases. Tests ----- drivers: build all drivers sensors_a_m: build sensors with name beginning a through m. sensors_n_z: build sensors with name beginning n through z. sensors_trigger: build sensors with trigger option enabled