A large constraint on Spirit and Opportunity was keeping the panels clear, that's why they lasted so long.
From what I remember, during martian winter they had to take the grade and the prevailing wind direction into account to keep the dust and fines off.
Currently the InSight lander is going into hibernation because the solar panels haven't really gotten cleaned in 3 years: https://www.cnet.com/news/nasa-mars-insight-lander-limits-op...