Retirement tax questions

He didn't have any earned income in 2020, but I did.  As a married couple does my earned income count or does he specifically have to have earned income?  Thx