The registers to write after VBUS is detected depend on the customer's needs. Normally, after VBUS is detected, you can unlock I2C, enable charger mode, set charge in current limit, set charging current in the MAX77962. What registers and what values they are going to be set are up to you.