Roll out the dough and line a pie pan. Prick the dough with a fork and bake for 15 to 20 minutes. Let cool.
For the preparation of the fillings
Cut the mushrooms into quarters. Heat a little olive oil and fry them until they have released their water. Let them drain.Do the same with the spinach if it is fresh. If it is thawed, just let it drain.
In a bowl, soften the ricotta (if necessary add a little milk).
Add the 2 crushed garlic cloves and the Parmesan cheese.
Add the mushrooms, spinach, salt and pepper. Mix well.