600mA solenoid PWM control question

What would be the most effective way to control a solenoid that draws 600mA at 5V DC?

I'd like to slowly modulate the Duty up to 100%.

I have it in an Automotive application so I have a 12V supply stepped down to 5V for the L3 I'm using.

Thanks

Thanks

for the L3 I'm using.

What is an L3?

A simple logic level FET and diode are all you need.