Directly from the ruling:
"In reaching this conclusion, we emphasize the narrowness of this opinion. Specifically,
we have decided nothing more than that, in this particular litigation and on this particular record, Texas has failed to demonstrate that its particular voter ID law lacks retrogressive effect. Nothing in this opinion remotely suggests that section 5 bars all covered jurisdictions from implementing photo ID laws. To the contrary, under our reasoning today, such laws might well be precleared if they ensure (1) that all prospective voters can easily obtain free photo ID, and (2) that any underlying documents required to obtain that ID are truly free of charge."
Completely agree with the highlighted conditions.