From patchwork Sun Jul 9 20:13:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 701834 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F4A0EB64DC for ; Sun, 9 Jul 2023 20:13:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230014AbjGIUNO (ORCPT ); Sun, 9 Jul 2023 16:13:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbjGIUNN (ORCPT ); Sun, 9 Jul 2023 16:13:13 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1794011C for ; Sun, 9 Jul 2023 13:13:12 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4fba74870abso5430209e87.0 for ; Sun, 09 Jul 2023 13:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688933590; x=1691525590; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ron0+5y7QxRbvR5hTll373fKSIMPpb9IcaNbJK63G4c=; b=R113KJI9snP7n6Og+ow7prywmY5iLHcKrcYml8JUsJXDYxtOWuiPvGcaMgaazTELAv y4vbB/qt8GuzG42qqqWGOCOlb4YKwJaYmM+Vh9mMuW+RcUYAkyCaakDqk5LPwgmslEDt y3ZiKmqiU8U+islaRA2VhE419R4EHurOER52Sgwetx0YQ1K959/3Ia3QBCQhYYE10BFS 4jI/R6Gp5v1cA+/XEKLK5uhVvqYBWlu0L5m8Ige2QfUlrS4jDVsl/Y0KnOqzuDKSCkcW 4lwh7Fja/wc38bdpxGQXF237vTOVC4i8A5uYOB2JhUJlf/tNYGMxF9BiO6tTVB2dlEf2 WtXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688933590; x=1691525590; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ron0+5y7QxRbvR5hTll373fKSIMPpb9IcaNbJK63G4c=; b=AlQ8qxQ6qMBdNlEK78uH8LHkhWEOAao2m4W4KNy8d9lpeGDB01oCdEqaw2G2vv72+M sduN9I3NWGTPuzKs3lUJfQdxW8EgZYAd8hzvXekVv5WaogPo4u6vHFbAbygG+iB/vpVw zs6BeHP3uDTcJD2GcBIqL2GGN7dMa44WkIWwXgnXHPqmSSZknNjdBM7qcuBudfsK/N9W Nagz8hkEAAOek5/1cnnc19/BCYi249V+Fz0BVDAsK+VzfeUMrtb8qbHGr/FZiqHeFx5D PB3GfootFnLrpHdKK0DgOTOCEf5PYFEKnyAr7oGUlTABTyacGg172pIEF9E9aH+dnvl2 8TaA== X-Gm-Message-State: ABy/qLYC4zDQs3KAL+Fwpts3TGmqnRkd5dzrEjjnKpF+Uf1UVyzaVDHs bwdhxcOD3RxplBNJEIbA2ktjbA== X-Google-Smtp-Source: APBJJlFeHV2isi+RpDaha/5xS5MHSwNJ0wHrgUNiEoitevfRCrXoxLksC97ebnt0CFpeuom/8TIu2A== X-Received: by 2002:a05:6512:128a:b0:4f8:5ab0:68c4 with SMTP id u10-20020a056512128a00b004f85ab068c4mr9422974lfs.59.1688933590354; Sun, 09 Jul 2023 13:13:10 -0700 (PDT) Received: from lothlorien.lan (dzdqv0yyyyyyyyyyybm5y-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::ab2]) by smtp.gmail.com with ESMTPSA id c12-20020ac2530c000000b004fb77d6cab3sm1420378lfh.261.2023.07.09.13.13.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jul 2023 13:13:09 -0700 (PDT) From: Dmitry Baryshkov To: Heikki Krogerus , Greg Kroah-Hartman , Bryan O'Donoghue , Guenter Roeck , Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 0/2] usb: typec: qcom-pmic-typec: enable DP support Date: Sun, 9 Jul 2023 23:13:07 +0300 Message-Id: <20230709201309.274306-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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 v1: - Properly handle CONFIG_DRM dependency. Disallow building DRM as a module if qcom-pmic-typec driver is built-in (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 | 39 +++++++++++++++++++ 3 files changed, 44 insertions(+), 1 deletion(-)