An apparatus to tune a non-linear clamp of a digital low dropout regulator, the apparatus comprising: a first comparator to compare an output voltage or a divided version of the output voltage on an output power supply rail with a first reference, wherein the first comparator is to generate a first output, the first output, when asserted, indicating that the output voltage is below the first reference; a second comparator to compare the output voltage or a divided version of the output voltage on the output power supply rail with a second reference, wherein the first reference has a voltage level below a voltage level of the second reference, wherein the second comparator is to generate a second output, the second output, when asserted, indicating that the output voltage is above the second reference; a third comparator to compare the output voltage or a divided version of the output voltage on the output power supply rail with a third reference, wherein the third reference has a voltage level below the voltage level of the first reference, wherein the third comparator is to generate a third output, the third output, when asserted, indicating that the output voltage is below the third reference; a two-dimensional array of power switches coupled to the output power supply rail; a first controller to receive the first and second outputs and to generate a code indicative of a coarse setting for the power switches; and a second controller to receive the first, second, and third outputs, wherein the second controller comprises a non-linear clamp strength tuning scheme instantiated with three-level ripple quantization, and wherein the second controller is to generate a fine code for the power switches. a first comparator to compare an output voltage or a divided version of the output voltage on an output power supply rail with a first reference, wherein the first comparator is to generate a first output, the first output, when asserted, indicating that the output voltage is below the first reference; a second comparator to compare the output voltage or a divided version of the output voltage on the output power supply rail with a second reference, wherein the first reference has a voltage level below a voltage level of the second reference, wherein the second comparator is to generate a second output, the second output, when asserted, indicating that the output voltage is above the second reference; a third comparator to compare the output voltage or a divided version of the output voltage on the output power supply rail with a third reference, wherein the third reference has a voltage level below the voltage level of the first reference, wherein the third comparator is to generate a third output, the third output, when asserted, indicating that the output voltage is below the third reference; a two-dimensional array of power switches coupled to the output power supply rail; a first controller to receive the first and second outputs and to generate a code indicative of a coarse setting for the power switches; and a second controller to receive the first, second, and third outputs, wherein the second controller comprises a non-linear clamp strength tuning scheme instantiated with three-level ripple quantization, and wherein the second controller is to generate a fine code for the power switches.