A switching power supply unit for providing an output voltage that is
controlled such that a first detection voltage detected on the basis of
the output voltage becomes equal to a first reference voltage. The peak
voltage at the node of a serially connected coil and a switch of the
switching power supply unit is detected and used as a second detection
voltage for over-voltage protection. Thus, over-voltage protection of the
switching power supply unit is secured with no additional terminal on the
switching control IC for over-voltage protection even if such components
as a feedback circuit and a rectifying diode of the power supply unit
become open.