Converting USB 2.0 charger to USB C
Your line of thinking is correct. But... if your charger can supply 1.5A, you need to use 22k pull-up, and use it on BOTH CC1 and CC2 lines separately. Shorting D+ and D- to mimic DCP is a good idea too.