* SPICE netlist
L1 IN N001 4.7
C1 N002 N001 .1
C2 N003 0 4.7
C3 N017 0 1n Rser=10K
C4 N013 0 .001
C6 N012 0 2.2
R3 N012 N014 100K
R4 N016 0 45.3K
R5 N003 N007 300m
R6 N003 N005 1Meg
R7 N005 0 33.2K
C5 N008 0 1
V1 IN 0 20
D1 N011 0 LXHL-BW02 n=10
M1 N011 N009 N007 N007 IRF7343P
R2 IN N004 1Meg
R8 N004 N006 365K
R9 N006 0 59K
R1 N012 N015 100K
XU1 N001 N002 N012 IN N004 N006 N008 N008 N003 N007 N017 N005 N013 N010 N014 N016 0 0 N015 N009 N003 0 LT3922-1 ;pnba SW)BST)INTVcc)Vin)EN/UVLO)OVLO)Vref)CTRL)ISP)ISN)Vc)FB)SS)ISMON)_FAULT)RT)SYNC/SPRD)RP)PWM)PWMTG)Vout)GND
.tran 750u startup

* LTspice schematic (.asc)
Version 4
SHEET 1 1056 880
WIRE -400 -424 -528 -424
WIRE -224 -424 -400 -424
WIRE -48 -424 -144 -424
WIRE -16 -424 -48 -424
WIRE 80 -424 48 -424
WIRE -528 -408 -528 -424
WIRE -48 -376 -48 -424
WIRE 80 -376 80 -424
WIRE 304 -376 256 -376
WIRE 432 -376 304 -376
WIRE 528 -376 432 -376
WIRE -400 -360 -400 -424
WIRE -304 -360 -400 -360
WIRE 304 -360 304 -376
WIRE 432 -360 432 -376
WIRE -400 -344 -400 -360
WIRE -304 -344 -304 -360
WIRE -192 -344 -304 -344
WIRE 256 -344 256 -376
WIRE 256 -344 224 -344
WIRE -528 -312 -528 -328
WIRE 432 -280 432 -296
WIRE -192 -264 -304 -264
WIRE 304 -264 304 -280
WIRE 304 -264 224 -264
WIRE -400 -248 -400 -264
WIRE -304 -248 -304 -264
WIRE -304 -248 -400 -248
WIRE 304 -248 304 -264
WIRE -400 -232 -400 -248
WIRE 528 -216 528 -376
WIRE 528 -216 464 -216
WIRE 528 -200 528 -216
WIRE -192 -184 -256 -184
WIRE 256 -184 224 -184
WIRE 304 -152 304 -168
WIRE -400 -136 -400 -152
WIRE -256 -136 -256 -184
WIRE -256 -136 -400 -136
WIRE -400 -120 -400 -136
WIRE 256 -120 256 -184
WIRE 464 -120 464 -216
WIRE 464 -120 256 -120
WIRE -192 -104 -208 -104
WIRE 528 -104 528 -120
WIRE 528 -104 224 -104
WIRE 528 -40 528 -104
WIRE -400 -24 -400 -40
WIRE -288 -24 -304 -24
WIRE -208 -24 -224 -24
WIRE -192 -24 -208 -24
WIRE 480 -24 224 -24
WIRE -208 56 -208 -24
WIRE -192 56 -208 56
WIRE 256 56 224 56
WIRE 528 72 528 56
WIRE -384 136 -400 136
WIRE -304 136 -320 136
WIRE -192 136 -304 136
WIRE 240 136 224 136
WIRE 320 136 304 136
WIRE 528 152 528 136
WIRE -304 216 -304 136
WIRE -288 216 -304 216
WIRE -192 216 -208 216
WIRE 256 216 224 216
WIRE -304 296 -304 216
WIRE -288 296 -304 296
WIRE -192 296 -208 296
WIRE 256 296 224 296
WIRE -48 344 -48 328
WIRE 80 344 80 328
WIRE 80 424 80 408
WIRE -48 440 -48 424
FLAG -48 440 0
FLAG 80 424 0
FLAG 320 136 0
FLAG 256 296 0
FLAG 432 -280 0
FLAG -304 -24 0
FLAG -400 136 0
FLAG 304 -152 0
FLAG -208 -104 0
FLAG -528 -312 0
FLAG 528 152 0
FLAG -400 -24 0
FLAG 256 216 0
FLAG -528 -424 IN
SYMBOL ind -240 -408 R270
SYMATTR InstName L1
SYMATTR Value 4.7
SYMBOL cap 48 -440 R90
SYMATTR InstName C1
SYMATTR Value .1
SYMBOL cap 416 -360 R0
SYMATTR InstName C2
SYMATTR Value 4.7
SYMBOL cap 64 344 R0
SYMATTR Value 1n
SYMATTR SpiceLine Rser=10K
SYMATTR InstName C3
SYMBOL cap 240 152 R270
SYMATTR InstName C4
SYMATTR Value .001
SYMBOL cap -320 120 R90
SYMATTR InstName C6
SYMATTR Value 2.2
SYMBOL res -304 232 R270
SYMATTR InstName R3
SYMATTR Value 100K
SYMBOL res -64 328 R0
SYMATTR InstName R4
SYMATTR Value 45.3K
SYMBOL res 512 -216 R0
SYMATTR InstName R5
SYMATTR Value 300m
SYMBOL res 288 -376 R0
SYMATTR InstName R6
SYMATTR Value 1Meg
SYMBOL res 288 -264 R0
SYMATTR InstName R7
SYMATTR Value 33.2K
SYMBOL cap -224 -40 R90
SYMATTR InstName C5
SYMATTR Value 1
SYMBOL voltage -528 -424 R0
SYMATTR InstName V1
SYMATTR Value 20
SYMBOL LED 512 72 R0
SYMATTR Value2 n=10
SYMATTR Value LXHL-BW02
SYMATTR InstName D1
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pmos 480 56 M180
SYMATTR InstName M1
SYMATTR Value IRF7343P
SYMBOL res -416 -360 R0
SYMATTR InstName R2
SYMATTR Value 1Meg
SYMBOL res -416 -248 R0
SYMATTR InstName R8
SYMATTR Value 365K
SYMBOL res -416 -136 R0
SYMATTR InstName R9
SYMATTR Value 59K
SYMBOL res -304 280 M90
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL PowerProducts\\LT3922-1 16 -24 R0
SYMATTR InstName U1