I've lost passion for projects, companies and teams, even languages and tools, but never for programming. YMMV of course -- you might have lost your passion for programming itself. If you're not sure, maybe try switching it up. Work on a new project, a new technology stack, or find a new employer, see if that helps you regain your passion?