Wash the toor dal or lentils and keep aside for 30 minutes.
Take the pressure cooker pan and heat it. Add chopped onion, chopped palak and toor dal along with 2 cups water and pressure cook for 4 to 5 whistles or till dal is cooked. Switch off the gas and wait till pressure from cooker is released on its own.
Heat a kadai and add oil or ghee. After it gets heated add mustard seeds.
After mustard seeds flutter, add cumin seeds, asafeotida, dry red chilies and curry leaves and fry for few 2 minutes.
Add chopped garlic and chopped ginger and sauté till raw smell of garlic goes away.
Add turmeric powder and red chili powder and mix well.
Add boiled dal, onion and palak from the pressure cooker and mix.