Dimmable Quasi-Resonant Primary Side Current Mode Controller for LED Lighting with thermal foldback dimmable