Hi,
I am using AM5728 processor and TPS659037 PMIC.
For USB detection i need to configure GPIO_1 pin as VBUSDET .By default this pin is set as GPIO_1.
To change the pin config as VBUSDET i need to change the value of PRIMARY_SECONDARY_PAD1 register(Address 1FAh) to 08h.
The command which i used for writing to this register is
i2cset -y 1 0x58 0xFA 0x08
Please confirm me the slave address ,register address and the value written are correct for that particular register.
And also please let me know that is it possible to change the value of that register in OTP so that by default GPIO_1 pin is configured as VBUSDET even after the hardware reset
Thanks,
chandan