Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/qcom/msm8998.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -3087,6 +3087,11 @@
compatible = "qcom,msm-imem-diag-dload";
reg = <0xc8 200>;
};

emergency_download_mode@fe0 {
compatible = "qcom,msm-imem-emergency_download_mode";
reg = <0xfe0 12>;
};
};

cpu_pmu: cpu-pmu {
Expand Down
4 changes: 2 additions & 2 deletions drivers/power/reset/msm-poweroff.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ static bool get_dload_mode(void)
return dload_mode_enabled;
}

#if 0
#if 1
static void enable_emergency_dload_mode(void)
{
int ret;
Expand Down Expand Up @@ -396,7 +396,7 @@ static void msm_restart_prepare(const char *cmd)
restart_reason);
}
}
#if 0
#if 1
} else if (!strncmp(cmd, "edl", 3)) {
enable_emergency_dload_mode();
#endif
Expand Down
2 changes: 1 addition & 1 deletion drivers/power/supply/qcom/smb-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -5648,7 +5648,7 @@ static void smblib_icl_change_work(struct work_struct *work)

power_supply_changed(chg->usb_main_psy);

smblib_dbg(chg, PR_INTERRUPT, "icl_settled=%d\n", settled_ua);
//smblib_dbg(chg, PR_INTERRUPT, "icl_settled=%d\n", settled_ua);
}

static void smblib_pl_enable_work(struct work_struct *work)
Expand Down