Re: [PATCH v4 12/18] usb: typec: qcom: Add Qualcomm PMIC TCPM support

Bryan O'Donoghue
2023-03-24T13:25:20Z

On 24/03/2023 10:16, Jianhua Lu wrote:

With charger
> [ 1495.824667] qcom,pmic-typec c440000.spmi:pmic@2:typec@1500:
> qcom_pmic_typec_set_vbus misc 0x000000c9

0xC9 == (TYPEC_SM_USBIN_LT_LV | TYPEC_SM_VBUS_VSAFE0V)

> [ 1495.824685] qcom,pmic-typec c440000.spmi:pmic@2:typec@1500:
> qcom_pmic_typec_set_vbus sm_status 0x000000b9

0xC9 == (TYPEC_SM_USBIN_LT_LV | TYPEC_SM_VBUS_VSAFE5V)

so that is correct and expected i.e. VSAFE5V it shouldn't matter to the
type-c port controller *where* VBUS comes from only that it is within range.

Could you run again with an unpowered device and post the printout?

---
bod