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
};
&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";
supports-sd;
broken-cd;
card-detect-delay = <200>;
+
+ ignore-pm-notify;
+ keep-power-in-suspend;
+
vmmc-supply = <&rk808_ldo5_reg>;
status = "okay";
};
broken-cd;
card-detect-delay = <200>;
+ ignore-pm-notify;
+ keep-power-in-suspend;
vmmc-supply = <&rk808_ldo5_reg>;
status = "okay";
};
&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 {
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";
};
};
&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";
};
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";
};