linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/11] soc: qcom: add UCSI function to PMIC GLINK
@ 2023-02-10 15:02 Neil Armstrong
  2023-02-10 15:02 ` [PATCH v2 01/11] usb: typec: ucsi: add PMIC Glink UCSI driver Neil Armstrong
                   ` (10 more replies)
  0 siblings, 11 replies; 26+ messages in thread
From: Neil Armstrong @ 2023-02-10 15:02 UTC (permalink / raw)
  To: Heikki Krogerus, Greg Kroah-Hartman, Andy Gross, Bjorn Andersson,
	Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Catalin Marinas,
	Will Deacon
  Cc: linux-kernel, linux-usb, linux-arm-msm, devicetree,
	linux-arm-kernel, Neil Armstrong, Rob Herring

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.
Since the DT description is the same, support for SM8350 HDK
is also added.

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@quicinc.com/

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Changes in v2:
- Moved the dwc3 port subnodes to dtsi
- Added SM8350 HDK support
- Added help about ucsi module name
- Added bindings acks
- Fixed sm8550 pmic glink compatible
- Added more description in config update patch
- Link to v1: https://lore.kernel.org/r/20230130-topic-sm8450-upstream-pmic-glink-v1-0-0b0acfad301e@linaro.org

---
Neil Armstrong (11):
      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: sm8350: add port subnodes in dwc3 node
      arm64: dts: qcom: sm8450: add port subnodes in dwc3 node
      arm64: dts: qcom: sm8550: add port subnodes in dwc3 node
      arm64: dts: qcom: sm8350-hdk: add pmic glink node
      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/sm8350-hdk.dts            |  77 ++++-
 arch/arm64/boot/dts/qcom/sm8350.dtsi               |  19 ++
 arch/arm64/boot/dts/qcom/sm8450-hdk.dts            |  45 ++-
 arch/arm64/boot/dts/qcom/sm8450.dtsi               |  19 ++
 arch/arm64/boot/dts/qcom/sm8550-mtp.dts            |  45 ++-
 arch/arm64/boot/dts/qcom/sm8550.dtsi               |  19 ++
 arch/arm64/configs/defconfig                       |   4 +
 drivers/soc/qcom/pmic_glink.c                      |  67 ++++-
 drivers/usb/typec/ucsi/Kconfig                     |  10 +
 drivers/usb/typec/ucsi/Makefile                    |   1 +
 drivers/usb/typec/ucsi/ucsi_glink.c                | 320 +++++++++++++++++++++
 12 files changed, 604 insertions(+), 24 deletions(-)
---
base-commit: 2746a238ae3ea7215b3e95b78020a3d72243d55f
change-id: 20230130-topic-sm8450-upstream-pmic-glink-3b3a0b7bcd33

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2023-02-14 11:57 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-10 15:02 [PATCH v2 00/11] soc: qcom: add UCSI function to PMIC GLINK Neil Armstrong
2023-02-10 15:02 ` [PATCH v2 01/11] usb: typec: ucsi: add PMIC Glink UCSI driver Neil Armstrong
2023-02-14 11:56   ` Heikki Krogerus
2023-02-10 15:02 ` [PATCH v2 02/11] dt-bindings: soc: qcom: qcom,pmic-glink: document SM8450 compatible Neil Armstrong
2023-02-10 15:02 ` [PATCH v2 03/11] dt-bindings: soc: qcom: qcom,pmic-glink: document SM8550 compatible Neil Armstrong
2023-02-10 15:02 ` [PATCH v2 04/11] soc: qcom: pmic_glink: register ucsi aux device Neil Armstrong
2023-02-10 15:41   ` Dmitry Baryshkov
2023-02-10 20:10   ` Bjorn Andersson
2023-02-10 15:02 ` [PATCH v2 05/11] arm64: dts: qcom: sm8350: add port subnodes in dwc3 node Neil Armstrong
2023-02-10 15:19   ` Konrad Dybcio
2023-02-10 15:02 ` [PATCH v2 06/11] arm64: dts: qcom: sm8450: " Neil Armstrong
2023-02-10 15:19   ` Konrad Dybcio
2023-02-10 15:02 ` [PATCH v2 07/11] arm64: dts: qcom: sm8550: " Neil Armstrong
2023-02-10 15:19   ` Konrad Dybcio
2023-02-10 15:02 ` [PATCH v2 08/11] arm64: dts: qcom: sm8350-hdk: add pmic glink node Neil Armstrong
2023-02-10 15:21   ` Konrad Dybcio
2023-02-10 15:26     ` Neil Armstrong
2023-02-10 15:44   ` Dmitry Baryshkov
2023-02-10 20:13   ` Bjorn Andersson
2023-02-13 12:41     ` Neil Armstrong
2023-02-10 15:02 ` [PATCH v2 09/11] arm64: dts: qcom: sm8450-hdk: " Neil Armstrong
2023-02-10 15:22   ` Konrad Dybcio
2023-02-10 15:02 ` [PATCH v2 10/11] arm64: dts: qcom: sm8550-mtp: " Neil Armstrong
2023-02-10 15:22   ` Konrad Dybcio
2023-02-10 15:02 ` [PATCH v2 11/11] arm64: defconfig: add PMIC GLINK modules Neil Armstrong
2023-02-10 15:22   ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).