samsung msm7x27a: implement restart/poweroff code