An integrated circuit comprising: an input voltage lead; a high-side gate drive output lead; a first charge pump capacitor lead; a second charge pump capacitor lead; a reference voltage lead; a charge pump circuitry having an input, and an output coupled to the second charge pump capacitor lead; a gate driver (18, 20) having a control input, a power input coupled to the output of the charge pump circuitry, and an output coupled to the high-side gate drive output lead; a switching circuit (28, 30) having a control input, a first terminal coupled to the reference voltage lead, a second terminal coupled to the input voltage lead, and a third terminal coupled to the first charge pump capacitor lead; and an overvoltage detection circuit having an input coupled to the input voltage lead, and an output coupled to the control input of the switching circuit, wherein the input of the charge pump circuitry is coupled to the input voltage lead and to the second terminal of the switching circuit, wherein the switching circuit includes: a first transistor having a first current conduction electrode coupled to the input voltage lead, a second current conduction electrode coupled to the first charge pump capacitor lead, and a control electrode coupled to the control input of the switching circuit; and a second transistor having a first current conduction electrode coupled to the reference voltage lead, a second current conduction electrode coupled to the first charge pump capacitor lead, and a control electrode coupled to the control input of the switching circuit, wherein the switching circuit is configured to decouple the first charge pump capacitor lead from the input voltage lead in response to detecting, by the overvoltage detection circuit, an overvoltage condition on the input voltage lead, wherein the switching circuit is further configured to couple the first charge pump capacitor lead to the reference voltage lead in response to detecting, by the overvoltage detection circuit, an overvoltage condition on the input voltage lead. an input voltage lead; a high-side gate drive output lead; a first charge pump capacitor lead; a second charge pump capacitor lead; a reference voltage lead; a charge pump circuitry having an input, and an output coupled to the second charge pump capacitor lead; a gate driver (18, 20) having a control input, a power input coupled to the output of the charge pump circuitry, and an output coupled to the high-side gate drive output lead; a switching circuit (28, 30) having a control input, a first terminal coupled to the reference voltage lead, a second terminal coupled to the input voltage lead, and a third terminal coupled to the first charge pump capacitor lead; and an overvoltage detection circuit having an input coupled to the input voltage lead, and an output coupled to the control input of the switching circuit, wherein the input of the charge pump circuitry is coupled to the input voltage lead and to the second terminal of the switching circuit, wherein the switching circuit includes: a first transistor having a first current conduction electrode coupled to the input voltage lead, a second current conduction electrode coupled to the first charge pump capacitor lead, and a control electrode coupled to the control input of the switching circuit; and a second transistor having a first current conduction electrode coupled to the reference voltage lead, a second current conduction electrode coupled to the first charge pump capacitor lead, and a control electrode coupled to the control input of the switching circuit, wherein the switching circuit is configured to decouple the first charge pump capacitor lead from the input voltage lead in response to detecting, by the overvoltage detection circuit, an overvoltage condition on the input voltage lead, wherein the switching circuit is further configured to couple the first charge pump capacitor lead to the reference voltage lead in response to detecting, by the overvoltage detection circuit, an overvoltage condition on the input voltage lead.