[PATCH 0/7] soc: qcom: add UCSI function to PMIC GLINK

From: Neil Armstrong
Date: Mon Jan 30 2023 - 04:55:19 EST


The PMIC GLINK interface offers an UCSI endpoint for newer
SoCs, the UCSI exchange is necessary to configure the USB-C
port USB role and altmode on the SM8450 HDK and SM8550 MTP
boards.

This patchset focuses on USB and disables altmode support
on those 2 SoCs until DP altmode over the combo phy is
supported.

Depends on PMIC Glink patchset at [1].

[1] https://lore.kernel.org/all/20230130042003.577063-1-quic_bjorande@xxxxxxxxxxx/

Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
---
Neil Armstrong (7):
usb: typec: ucsi: add PMIC Glink UCSI driver
dt-bindings: soc: qcom: qcom,pmic-glink: document SM8450 compatible
dt-bindings: soc: qcom: qcom,pmic-glink: document SM8550 compatible
soc: qcom: pmic_glink: register ucsi aux device
arm64: dts: qcom: sm8450-hdk: add pmic glink node
arm64: dts: qcom: sm8550-mtp: add pmic glink node
arm64: defconfig: add PMIC GLINK modules

.../bindings/soc/qcom/qcom,pmic-glink.yaml | 2 +
arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 34 ++-
arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 34 ++-
arch/arm64/configs/defconfig | 4 +
drivers/soc/qcom/pmic_glink.c | 67 ++++-
drivers/usb/typec/ucsi/Kconfig | 7 +
drivers/usb/typec/ucsi/Makefile | 1 +
drivers/usb/typec/ucsi/ucsi_glink.c | 321 +++++++++++++++++++++
8 files changed, 458 insertions(+), 12 deletions(-)
---
base-commit: 56779300f3ce6229a3d02e41e4ce36047d8891ac
change-id: 20230130-topic-sm8450-upstream-pmic-glink-3b3a0b7bcd33

Best regards,
--
Neil Armstrong <neil.armstrong@xxxxxxxxxx>