I am seeking a battery charger chip. there will be 2 inputs. Solar charging and 5V-12V DC charging. I need a chip to auto detect and select. It needs to charge a battery. also it needs to have a Vout to power the system Via battery or DC voltage. any reference designs will be helpful.