我是靠谱客的博主 重要蜜粉,这篇文章主要介绍MTK平台 Android8.1 SD卡驱动能力修改,现在分享给大家,希望可以做个参考。

以MT6739 Android8.1 平台为例:
drive-strength=val ;//这里的val为register值,比如0/1/2/3/4/5/6/7 实际对应2mA/4mA/6mA/8mA/10mA/12mA/14mA/16mA

 msdc1_pins_default: msdc1@default {
        pins_cmd {
            drive-strength = /bits/ 8 <3>;
        };
        pins_dat {
            drive-strength = /bits/ 8 <3>;
         };
         pins_clk {
             drive-strength = /bits/ 8 <3>;
         };
     };
     msdc1_pins_sdr104: msdc1@sdr104 {
         pins_cmd {
             drive-strength = /bits/ 8 <3>;
         };
         pins_dat {
             drive-strength = /bits/ 8 <3>;
         };
         pins_clk {
             drive-strength = /bits/ 8 <3>;
         };
     };
 
     msdc1_pins_sdr50: msdc1@sdr50 {
         pins_cmd {
             drive-strength = /bits/ 8 <3>;
         };
         pins_dat {
             drive-strength = /bits/ 8 <3>;
         };
         pins_clk {
             drive-strength = /bits/ 8 <3>;
         };
     };
 
     msdc1_pins_ddr50: msdc1@ddr50 {
         pins_cmd {
             drive-strength = /bits/ 8 <3>;
         };
         pins_dat {
             drive-strength = /bits/ 8 <3>;
         };
         pins_clk {
             drive-strength = /bits/ 8 <3>;
         };

修改VMC的地方:
msdc_ldo_power(on, host->mmc->supply.vqmmc, VOL_3000, &host->power_io);

最后

以上就是重要蜜粉最近收集整理的关于MTK平台 Android8.1 SD卡驱动能力修改的全部内容,更多相关MTK平台内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(208)

评论列表共有 0 条评论

立即
投稿
返回
顶部