public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] usb: typec: qcom-pmic-typec: enable DP support
@ 2023-08-17 15:08 Dmitry Baryshkov
  2023-08-17 15:08 ` [PATCH v5 1/2] usb: typec: altmodes/displayport: add support for embedded DP cases Dmitry Baryshkov
  2023-08-17 15:08 ` [PATCH v5 2/2] usb: typec: qcom-pmic-typec: register drm_bridge Dmitry Baryshkov
  0 siblings, 2 replies; 6+ messages in thread
From: Dmitry Baryshkov @ 2023-08-17 15:08 UTC (permalink / raw)
  To: Bryan O'Donoghue, Guenter Roeck, Heikki Krogerus, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Greg Kroah-Hartman
  Cc: linux-arm-msm, linux-usb, linux-kernel

To enable DisplayPort on the platforms supported by qcom-pmic-typec
driver, we need to register a corresponding drm_bridge for this device
and also be able to send the OOB hotplug event to the corresponding DRM
connector. All this is implemented by [1], but there is no direct
dependency on that patchset.

[1] https://patchwork.freedesktop.org/series/120393/

Changes since v4:
- Put of_node field access under CONFIG_OF (LKP)
- Changed ifdef CONFIG_DRM to IS_ENABLED(CONFIG_DRM) (Guenter)

Changes since v3:
- Fixed changelog for v1 (Guenter)
- After discussion on IRC, change connector type to
  DRM_MODE_CONNECTOR_DisplayPort to follow i915 and amdgpu example.
  The fact that this is a DP wrapped in the USB connector will be
  handled separately via the subconnector property (Simon Ser, Janne
  Grunau)

Changes since v2:
- Reworded commit message for the first patch to explicitly mention that
  the "displayport" OF property was rejected (Bjorn)
- Removed several #ifdefs from the qcom-pmic-typec patch (Bryan, Konrad,
  Greg K-H)

Changes since v1:
- Properly handle CONFIG_DRM dependency. Disallow building
  qcom-pmic-typec into the kernel if DRM is built as module (Bryan).

Dmitry Baryshkov (2):
  usb: typec: altmodes/displayport: add support for embedded DP cases
  usb: typec: qcom-pmic-typec: register drm_bridge

 drivers/usb/typec/altmodes/displayport.c      |  5 ++-
 drivers/usb/typec/tcpm/Kconfig                |  1 +
 drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c | 37 +++++++++++++++++++
 3 files changed, 42 insertions(+), 1 deletion(-)

-- 
2.39.2


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

end of thread, other threads:[~2023-08-22 15:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-17 15:08 [PATCH v5 0/2] usb: typec: qcom-pmic-typec: enable DP support Dmitry Baryshkov
2023-08-17 15:08 ` [PATCH v5 1/2] usb: typec: altmodes/displayport: add support for embedded DP cases Dmitry Baryshkov
2023-08-22 13:39   ` Heikki Krogerus
2023-08-17 15:08 ` [PATCH v5 2/2] usb: typec: qcom-pmic-typec: register drm_bridge Dmitry Baryshkov
2023-08-22 13:54   ` Heikki Krogerus
2023-08-22 15:31     ` Bryan O'Donoghue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox