Seems good to me.
The main thing is that if you are to rely on the solar panel, rather than just treat it as additional top-up when you don't get quite enough mains charging, you need a decently sized panel, rated over about 15 W, preferably well over.
When considering panel ratings and actually charging things, bear in mind that the rated power is a maximum - i.e. mid-day summer sun in the south of Spain, with the panel arranged square on to the sun.
Move to the UK and an hour or two off noon, and you can halve the rating. Put the panel flat across the panniers on the back of the bike, pointing whichever way, and you can halve it again. As for clouds or time of day, a good guide is to use the old
sunny 16 photography rule, taking f16 as the rating for UK sun and the panel position, and f11 as being half that, f8 being a quarter, f5.6 being an eighth, etc.
So, using a 16W panel in the UK on the back of the bike on an overcast & rainy day, your 4W for a sunny day goes down to a half watt, and less than that if it's mid afternoon or particularly thick overcast.
Personally. I use dynohub charging, and endeavour to reduce my power requirements - keep phone use to essentials, a kindle for entertainment, 2 packs of AAs for the GPS (just about covers two weeks touring) etc.