Luminal dissociation of Ca2+ from the phosphorylated Ca2+-ATPase is sequential and gated by Mg2+.