Grated coconut are to be ground with a pinch of cumin, half tsp turmeric powder and one garlic clove and keep this aside .
Wash the daal/lentils, add salt & adequate water and cook in pressure cooker with sliced onion n garlic.
When cooked well, add the chopped spinach and green chilly. Cook for a few minutes. Now add the ground coconut. Stir continuously, do not let it boil or overcook.
Add salt to taste. (Some people add a pinch of chilly powder too - it is optional).
When done, proceed to the seasoning. In a pan, splutter mustard in hot oil, add onion, dried chilly pieces and curry leaves. When crispy, add to the curry.
This curry goes well with rice, roti etc. You can use moong daal (green gram daal) as an alternate to toor daal.