Editing
Build android snapdragon
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== I2C bus config info == The dtsi file is located: kernel/msm-3.18/arch/arm/boot/dts/qcom/apq8096-hbi160.dtsi I2c-10 is set to 100k baud rate. This should be the location of the summing box fpga at address 0x55. Just added the following parameters to the dtsi file making the duty cycle actually 50% not 30% @100kHz based on the default settings. /* modified from standard values fs-clk-div = 124 high-time-clk-div = 62 The following values where determined empirically to achieve a 50% duty cycle on the clk. */ qcom,fs-clk-div = <90>; qcom,high-time-clk-div = <93>; /* 0x0 β Legacy mode 0x01 β One cycle wide low pulse is rejected 0x2 β Two cycles wide low pulse is rejected 0x3 β Three cycles wide low pulse is rejected */ qcom,noise-rjct-scl = <0>; qcom,noise-rjct-sda = <0>;
Summary:
Please note that all contributions to SoftwareGuy may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SoftwareGuy:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information