1. modify the policy of suspend-resume for sd-card.i.e ignore-pm-notify and keep-power-in-suspend.
2, Unified the SDMMC-setting  of individual projects, refer to rk3288-p977.dts
This commit is contained in:
xbw
2014-05-08 18:33:17 +08:00
parent d59a671ccc
commit bde40359ea
4 changed files with 46 additions and 18 deletions

View File

@@ -196,11 +196,15 @@
};
&emmc {
clock-frequency = <1500000000>;
clock-freq-min-max = <400000 150000000>;
clock-frequency = <150000000>;
clock-freq-min-max = <400000 150000000>;
supports-highspeed;
supports-emmc;
bootpart-no-access;
supports-emmc;
bootpart-no-access;
supports-DDR_MODE;
caps2-mmc-hs200;
ignore-pm-notify;
keep-power-in-suspend;
status = "okay";
@@ -213,6 +217,10 @@
supports-sd;
broken-cd;
card-detect-delay = <200>;
ignore-pm-notify;
keep-power-in-suspend;
vmmc-supply = <&rk808_ldo5_reg>;
status = "okay";
};

View File

@@ -200,6 +200,8 @@
broken-cd;
card-detect-delay = <200>;
ignore-pm-notify;
keep-power-in-suspend;
vmmc-supply = <&rk808_ldo5_reg>;
status = "okay";

View File

@@ -204,15 +204,21 @@
};
&emmc {
clock-frequency = <150000000>;
clock-freq-min-max = <400000 1500000000>;
clock-frequency = <100000000>;
clock-freq-min-max = <400000 100000000>;
supports-highspeed;
supports-emmc;
bootpart-no-access;
supports-emmc;
bootpart-no-access;
//supports-DDR_MODE; //you should set the two value in your project. only close in RK3288-SDK board.
//caps2-mmc-hs200;
ignore-pm-notify;
keep-power-in-suspend;
//poll-hw-reset
status = "okay";
keep-power-in-suspend;
//poll-hw-reset
status = "okay";
};
&sdmmc {
@@ -222,7 +228,11 @@
supports-sd;
broken-cd;
card-detect-delay = <200>;
vmmc-supply = <&rk808_ldo5_reg>;
ignore-pm-notify;
keep-power-in-suspend;
vmmc-supply = <&rk808_ldo5_reg>;
status = "okay";
};

View File

@@ -202,13 +202,17 @@
};
&emmc {
clock-frequency = <1500000000>;
clock-freq-min-max = <400000 150000000>;
clock-frequency = <150000000>;
clock-freq-min-max = <400000 150000000>;
supports-highspeed;
supports-emmc;
bootpart-no-access;
supports-emmc;
bootpart-no-access;
supports-DDR_MODE;
caps2-mmc-hs200;
ignore-pm-notify;
keep-power-in-suspend;
keep-power-in-suspend;
status = "okay";
};
@@ -219,7 +223,11 @@
supports-sd;
broken-cd;
card-detect-delay = <200>;
vmmc-supply = <&rk808_ldo5_reg>;
ignore-pm-notify;
keep-power-in-suspend;
vmmc-supply = <&rk808_ldo5_reg>;
status = "okay";
};