Combine lentils, onions, green chili, cumin, turmeric, half the chopped ginger and the water in a big, heavy pan. Bring to a simmer, cover, leaving the lid slightly ajar, and cook on low heat for 20 minutes, or until the lentils are very tender. Add the chicken pieces and the salt. Mix and bring to a boil. Cover, turn the heat to low and simmer gently for 25 to 35 minutes or until the chicken is tender.