This patent specification describes a switching regulator which includes a
step-up/step-down unit configured to generate an output voltage by
stepping up or down an input voltage in accordance with a control signal,
and a control unit configured to cause the step-up/step-down unit to
perform the step-up or step-down operation.