[PATCH 06/13] usb: typec: qcom-pmic-typec: add support for PMI632 PMIC
Bryan O'Donoghue
bryan.odonoghue at linaro.org
Sat Jan 13 05:58:45 PST 2024
On 13/01/2024 10:33, Konrad Dybcio wrote:
> On 13.01.2024 06:42, Dmitry Baryshkov wrote:
>> The PMI632 PMIC support Type-C port handling, but lacks USB
>> PowerDelivery support. The TCPM requires all callbacks to be provided
>> by the implementation. Implement a special, 'stub' Qcom PD PHY
>> implementation to enable the PMI632 support.
>>
>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
>> ---
>
> [...]
>
>> #endif /* __QCOM_PMIC_TYPEC_PDPHY_H__ */
>> diff --git a/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy_stub.c b/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy_stub.c
>> new file mode 100644
>> index 000000000000..5d3b0e78d4d8
>> --- /dev/null
>> +++ b/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy_stub.c
>
> Not a fan.
>
> Maybe add some TCPM_FLAG_NO_PD and solve it in a generic manner?
>
> Konrad
This is a good suggestion, provided its the direction Heikki and Guenter
want to go.
Otherwise @Dmitry you can retain my Acked-by for the stubification.
---
bod
More information about the linux-phy
mailing list