A new solar desalination system takes in saltwater and heats it with natural sunlight. The system flushes out accumulated salt, so replacement parts aren’t needed often, meaning the system could potentially produce drinking water that is cheaper than tap water.
It’s basically just an optimized solar-still that avoids salt accumulation, so it is IMHO not really suitable for the massive amount of water agriculture usually needs.