Heat oil in a medium non-stick pan.
Add cumin seeds and garlic and fry lightly, until the garlic starts changing color.
Add onions and red chillies and fry, till translucent.
Add turmeric powder, chilly powder and salt to taste.
Add potatoes and green chillies.
Cover and cook on medium low heat.
:- Do not add water.
Keep stirring the potato mixture in between, until thoroughly cooked.
Add the spinach and mix lightly, until wilted.
Add the coconut and mix well, until the mixture is dry.
:- Serve with rice.