I was under the impression that going for a massive megapixel count like 40 on a tiny sensor like most smartphones have (iPhone 5's is about 4.5mm x 3.4mm -- miniscule) is entirely pointless because the pixels start getting much smaller than the airy disk[1].
"This gives a value for x of about 4 µm. In a digital camera, making the pixels of the image sensor smaller than this would not actually increase image resolution."
[1] http://en.wikipedia.org/wiki/Airy_disk