mbox series

[0/2] arm64: qcom: sm8650: add support for USB-C Altmode

Message ID 20231218-topic-sm8650-upstream-altmode-v1-0-7900660693cf@linaro.org
Headers show
Series arm64: qcom: sm8650: add support for USB-C Altmode | expand

Message

Neil Armstrong Dec. 18, 2023, 10:26 a.m. UTC
This adds the missing bits to support Display Port external
display over the USB-C Altmode support using the Redriver/Retimer
and WCD939x USBSS Mux/Switch to provide the correct switching.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Neil Armstrong (2):
      arm64: dts: qcom: sm8650-qrd: add USB-C Altmode Support
      arm64: defconfig: enable WCD939x USBSS driver as module

 arch/arm64/boot/dts/qcom/sm8650-qrd.dts | 104 +++++++++++++++++++++++++++++++-
 arch/arm64/configs/defconfig            |   1 +
 2 files changed, 103 insertions(+), 2 deletions(-)
---
base-commit: ceb2fe0d438644e1de06b9a6468a1fb8e2199c70
change-id: 20231218-topic-sm8650-upstream-altmode-3ee141fdccff

Best regards,

Comments

Konrad Dybcio Dec. 19, 2023, 12:06 p.m. UTC | #1
On 18.12.2023 11:26, Neil Armstrong wrote:
> Add the necessary nodes to support the USB-C Altmode path by
> adding the following
> - WCD939x USBSS Mux I2C device
> - nb7vpq904m Redriver I2C device
> - Port/Endpoint graph links bettween PMIC-Glink, Mux, Redriver and USB PHY nodes.
> 
> WCD939x USBSS port 2 Path to Codec will be added later when Audio support
> is added.
> 
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
> ---
[...]

> +&i2c3 {
> +       status = "ok";
"okay"
[...]

> +&i2c6 {
> +	status = "ok";
"okay"


Konrad
Neil Armstrong Dec. 19, 2023, 12:20 p.m. UTC | #2
On 19/12/2023 13:06, Konrad Dybcio wrote:
> On 18.12.2023 11:26, Neil Armstrong wrote:
>> Add the necessary nodes to support the USB-C Altmode path by
>> adding the following
>> - WCD939x USBSS Mux I2C device
>> - nb7vpq904m Redriver I2C device
>> - Port/Endpoint graph links bettween PMIC-Glink, Mux, Redriver and USB PHY nodes.
>>
>> WCD939x USBSS port 2 Path to Codec will be added later when Audio support
>> is added.
>>
>> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
>> ---
> [...]
> 
>> +&i2c3 {
>> +       status = "ok";
> "okay"
> [...]
> 
>> +&i2c6 {
>> +	status = "ok";
> "okay"

Thanks, I should have passed DTBS_CHECK first...

> 
> 
> Konrad