msm8909+android5.1.1 由BLSP3改为BLSP1后SPI读写速度慢问题解决
发现SPI的读写速度慢了不少,msm8909-cb03.dtsi文件相关内容如下:
spi_0: spi@78b5000 { /* BLSP1 QUP1 */
compatible =”qcom,spi-qup-v2″;
#address-cells = <1>;
#size-cells = <0>;
reg-names =”spi_physical”, “spi_bam_physical”;
reg = <0x78b5000 0x600>,
<0x7884000 0x23000>;
interrupt-names =”spi_irq”, “spi_bam_irq”;
interrupts = <0 95 0>,<0 238 0>;
spi-max-frequency =<19200000>;
pinctrl-names =”spi_default”, “spi_sleep”;
pinctrl-0 =;
pinctrl-1 = ;
clocks = ,
;
clock-names =”iface_clk”, “core_clk”;
qcom,infinite-mode = <0>;
qcom,use-bam;
qcom,use-pinctrl;
qcom,ver-reg-exists;
qcom,bam-consumer-pipe-index =<8>;
qcom,bam-producer-pipe-index =<9>;
qcom,master-id = <86>;
};
改成下面的pipe就OK了,之前也改过这里,但高通给的文档是错的。
qcom,bam-consumer-pipe-index =<4>;//<8>;
qcom,bam-producer-pipe-index =<5>;//<9>;
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/180285.html原文链接:https://javaforall.cn