Melt butter in a large saucepan over medium-high heat. Add onion and garlic and cook until tender, 3 to 5 minutes. Stir in spices and cook for 1 minute. Add stock, corn, hominy, and beans and bring to a boil.
Reduce heat to low and cook, stirring occasionally, for 15 to 20 minutes to develop flavors.
Stir in squash and cook until heated through, about 5 minutes.
Serve warm with chives and plain yogurt as a garnish.
Photos courtesy of Gather (Illumine Running, 2020)