13.11.2012 Views

Creating-Custom-Drivers-for-APQ8060-Dragonboard-BSQUARE

Creating-Custom-Drivers-for-APQ8060-Dragonboard-BSQUARE

Creating-Custom-Drivers-for-APQ8060-Dragonboard-BSQUARE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Add the New Device to Your Board file<br />

• For our driver, we added the new device into<br />

our “board-8660.c file”<br />

– The Kionix device needed to have “power on” and<br />

“power off” functions<br />

• We leveraged the reference sensor “power on” and off<br />

code from board-7x30.c and made the following<br />

modifications<br />

– One regulator needed to be turned on<br />

– Voltage needed to be set to 2.85v<br />

– Neede a New regulator API vs. the code in the 7x30 file

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!