A 1-MHz Resonant LED Driver With Charge-Pump-Based Power Factor Correction