Index: output/otp.dat
===================================================================
--- /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_RC25/output/otp.dat	(revision 4157)
+++ /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_RC25/output/otp.dat	(working copy)
@@ -11,7 +11,7 @@
 00
 aa
 55
-16
+3e
 09
 c2
 84
@@ -2236,11 +2236,51 @@
 20
 40
 02
-2d
+37
+6f
+e0
+c0
+cb
+79
 20
+7e
+04
 20
+40
+23
+e1
 24
-25
+55
+a3
+cb
+37
+d9
+82
+00
+1b
+22
+7e
+00
+67
+e3
+40
+b1
+6f
+e1
+c0
+c6
+6a
+20
+c0
+c9
+df
+20
+00
+03
+20
+20
+24
+2e
 60
 04
 40
@@ -2308,7 +2348,7 @@
 20
 22
 82
-40
+4a
 e7
 e0
 80
@@ -2328,7 +2368,7 @@
 c2
 00
 02
-3a
+44
 1a
 42
 04
@@ -2337,8 +2377,8 @@
 60
 00
 00
-64
-51
+73
+96
 aa
 55
 40
@@ -2723,5 +2763,5 @@
 55
 db
 54
-41
-83
+ed
+d6
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_RC25/output/ramcode.rom	(revision 4157)
+++ /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_RC25/output/ramcode.rom	(working copy)
@@ -553,8 +553,18 @@
 6fe240ad
 9840fe00
 67e240ad
-2040022d
-20202425
+20400237
+6fe0c0cb
+79207e04
+204023e1
+2455a3cb
+37d98200
+1b227e00
+67e340b1
+6fe1c0c6
+6a20c0c9
+df200003
+2020242e
 600440e7
 d8c08070
 d8a040cc
@@ -571,11 +581,11 @@
 efe08011
 e8408013
 98467c00
-20228240
+2022824a
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c200023a
+c2000244
 1a420400
 20600000
Index: program/patch.prog
===================================================================
--- /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_RC25/program/patch.prog	(revision 4157)
+++ /1121s/branch/shutter/branch/shutter/yb_project/yc1386s_shutter_RC25/program/patch.prog	(working copy)
@@ -838,7 +838,18 @@
 	iadd temp,pdata
 	store 4,mem_sleep_counter_all
 	call p_lpm_save_context
-	branch lpm_sleep_skip_cb_function+4
+	fetch 1,mem_lpm_hv_sel
+	set1 LPM_DOZE_EN_BIT, pdata
+	call lpm_write_sel_hv
+	ncall lpm_preon_counter,wake
+	until null,lpo_edge
+	copy clkn,pdata
+	store 6,mem_sleep_clkn
+	// storer clkn,6,mem_sleep_clkn
+	fetch 3,mem_lpm_isogate
+	fetchr rega,1,mem_lpm_ldo_sel
+	arg 3,loopcnt
+	branch lpm_sleep_loop
 
 p_lpm_save_context:
 	storer mark,8,mem_saved_mark
