Why do you need to be able to switch between 1S and 2S in the first place? I agree it make things a lot more complicated.
The idea is to have "one charger" to suit more needs and be able to do more with it!
I already make a 1S module based on TP5100 which an adjustable booster output.
I take it one (or more) step further making full use of the chips potential and then adding some!
I already changed the output booster to SEPIC configuration allowing to adjust from 1.5-24V...
If you want higher output voltages (and currents) you can go to 2S without changing anything else... for under 5V output you can switch to 1S configuration.. Then it offers flexibility in input voltages too.. got 5V charge 1S, got more than 9, you can go 2S... You will be able to use common single cells (like 18650) without need for special connectors, dedicated packs etc.. you simply take two cells and make a 2S pack for this project, then take one cell out for something else maintaining almost the same functionality of the "charger".. With a uC onboard it will also be able to "communicate" with an arduino or a RPi, be used by them as their single power source enabling and disabling output booster etc... it is a project in progress and eventually, i might just make 5-10pcs just to say I did it but i really hope it will find many others interested to something like this!
If it works out, i already think of doing the same thing with a 2/3S charging IC...
It is obviously no replacement for compact dedicated charge modules but rather something a hobbyist or DIY'er would like to have on his arsenal! Or as i think of it, a charger for control freaks....
I swapped the Diodes part with perhaps a more practical one from TI.
This is how far i have taken it by now... the rest is probably on the uC side