Copied from msm8660 device