Solutions for gate driver and power switches