Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1696934rwr; Thu, 27 Apr 2023 23:59:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4u2XZjYTsgw5N3D7QKgGmeNlLZ4rdi1Hf0BfuoRvcUH6vzMaQcAEa/P/oTlyZ0pdsQcS2f X-Received: by 2002:a17:90a:7a82:b0:24b:c580:1ab8 with SMTP id q2-20020a17090a7a8200b0024bc5801ab8mr4144430pjf.40.1682665195246; Thu, 27 Apr 2023 23:59:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682665195; cv=none; d=google.com; s=arc-20160816; b=xvWPvcHx6NTt1RjtMRrUdzQFi6Gm7DYW72g60ps5LfZbS3yF3RBN2eptVecLOWm6tO 4nxbUcJ2/nMIeWNLTlMnZpic5PGG86ZjkREp6fJWxCcw7rno7UC7B1SV4iYuunYCVuW/ t0zGTaPOd1SUKDW2XYZ2ZBFqWi5YB1JcxbmJQzQNH+G0tZu/nvfgmj9xDU4SEJzTT7S9 H8vlYMeMGOaQk+zG6n1XA+D1CT42uay9UBolP0X35yYz+H3iVQiiFXZWCc8Wqfwqg3Er ZVySzjulfsj2Hs8plEY+xwRM9yVSxJoxCTWj15/DPG94GXXlokIvJK9WBDCxBhpdV+J0 ic4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=02MWxkaQdLRTYwyy27lw5gzanHvXJVQsMktOlzAmIEM=; b=qWBgpyFcVpawzZjn3zJPasApnIQK6l2NcmSd0/rFCyEGXjgaper8VYYm4yUW0IGQVk qymvF12qIl/wbFsksQbcaNL+OE6SpFpygx7Gcbgu0iWOVmWeJlMagqSt0OsYZWaak0P0 uBb6D6Vw3g/GyoLt0RR+SuYiu17xHPnQIXyRSl3JHT+tS7jrdkvd+2vDJ1POICk13niR zKs6W85dkRAg2rG9q67oMbtR6NTQm5wep7lWgf0PNvBaYVUpF5pmWN7TYmkkJPdRYmkx 542UNE84Lnfg523TVBQMwInAATdASf5V5ueXSsi3ti4tBTLFNFhR7zfWAiek74ThMIHM OP1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexus-software-ie.20221208.gappssmtp.com header.s=20221208 header.b=ebeNvPj0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id na8-20020a17090b4c0800b002474fcf3bdasi1736854pjb.146.2023.04.27.23.59.44; Thu, 27 Apr 2023 23:59:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nexus-software-ie.20221208.gappssmtp.com header.s=20221208 header.b=ebeNvPj0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345379AbjD1Gz5 (ORCPT + 99 others); Fri, 28 Apr 2023 02:55:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345175AbjD1Gz4 (ORCPT ); Fri, 28 Apr 2023 02:55:56 -0400 Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DFF81BF3 for ; Thu, 27 Apr 2023 23:55:54 -0700 (PDT) Received: by mail-vs1-xe2f.google.com with SMTP id ada2fe7eead31-42e668a2c5eso2807581137.3 for ; Thu, 27 Apr 2023 23:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20221208.gappssmtp.com; s=20221208; t=1682664953; x=1685256953; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=02MWxkaQdLRTYwyy27lw5gzanHvXJVQsMktOlzAmIEM=; b=ebeNvPj0ds7czi+movITwBF+RYZUj9k6IwRy5acHyTPjgL4ttUoayc4qtQ8Y1i721n cWVC/OmgHvRifsKHa+q0LUntGu96Do5gqdhBHWiXUtyYF0AB6MHKJGHmatJiZHLaqJ5c HNJBYH1iJcFkIZE3hd7dls2452H4HRjWJWbSjhMFOsOS3WuXgWTpGJNB+HzsiFpPt6zw WpEPBkP6XP3lVja50lQsymE4YNEDI+uahKtiJcMg2/22Q78D3GZJP5zkzX93xkWXi6Ji hwrGOSVhvlYL38Zp0bBOoRfuHGo3h1vanHPuQpBXPJxeDVcNGATvwUsqM01svL3BZagM cNcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682664953; x=1685256953; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=02MWxkaQdLRTYwyy27lw5gzanHvXJVQsMktOlzAmIEM=; b=KGR4fAX7JoDX7HQFi710bkn03OfXoTDRtz2rkepX0GnVfZefBvXcu0YNXc6+Zq0tc8 xnROSOs30YG3o2o/zVzLr3dNFjAWQwexnArkC5QJpT0iPquBG1R+dxl2OPnTYZHUYtWe HcmWXwNqpZveXRlnAOElM/GtmIjZeHY0M9xy34JTnd/0mDWxMMVnkcwwT2vCgQREISSv eGHioYlnhOKumUL63LjgO3/pHSuiA0n6zsw6WHQgoM+R99aFrDXRGi0HOMNjikLsCWnQ KyqQNgF6heVM+ccBckkEBKFX7ngbnLZFnfo0SwGPaTuN6h9bIZRW+hQzld+E2UO+HBRG LEDQ== X-Gm-Message-State: AC+VfDxApvMG6cTQiMStyXm5ANxntBem8RBeOw5eo7rbQzFm4Caj3cbo 8SIPJr7Yk/zbfWLOg2hwP4jh8Yaiq2FZf+VAF8n0qw== X-Received: by 2002:a05:6102:34ca:b0:42e:5b8c:7a2b with SMTP id a10-20020a05610234ca00b0042e5b8c7a2bmr1736524vst.9.1682664953609; Thu, 27 Apr 2023 23:55:53 -0700 (PDT) MIME-Version: 1.0 References: <20230425034010.3789376-1-quic_bjorande@quicinc.com> <20230425034010.3789376-6-quic_bjorande@quicinc.com> <20230427195545.GC870858@hu-bjorande-lv.qualcomm.com> In-Reply-To: <20230427195545.GC870858@hu-bjorande-lv.qualcomm.com> From: "Bryan O'Donoghue" Date: Fri, 28 Apr 2023 07:55:41 +0100 Message-ID: Subject: Re: [PATCH 5/7] phy: qcom-qmp-combo: Introduce drm_bridge To: Bjorn Andersson Cc: Vinod Koul , Kishon Vijay Abraham I , Johan Hovold , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 27, 2023 at 8:56=E2=80=AFPM Bjorn Andersson wrote: > > On Wed, Apr 26, 2023 at 11:33:40AM +0100, Bryan O'Donoghue wrote: > > On Tue, Apr 25, 2023 at 4:40=E2=80=AFAM Bjorn Andersson > > wrote: > > > > [..] > > You need to add some or all of these > > select DRM_DISPLAY_DP_HELPER > > select DRM_DISPLAY_HELPER > > select DRM_DP_AUX_BUS > > select DRM_KMS_HELPER > > select DRM_MIPI_DSI > > select DRM_PANEL > > > > > > /opt/linaro/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch= 64-linux-gnu-ld: > > Unexpected GOT/PLT entries detected! > > /opt/linaro/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu/bin/aarch= 64-linux-gnu-ld: > > Unexpected run-time procedure linkages detected! > > drivers/phy/qualcomm/phy-qcom-qmp-combo.o: In function > > `qmp_combo_bridge_attach': > > phy-qcom-qmp-combo.c:(.text+0xb50): undefined reference to > > `devm_drm_of_get_bridge' > > phy-qcom-qmp-combo.c:(.text+0xb6c): undefined reference to `drm_bridge_= attach' > > drivers/phy/qualcomm/phy-qcom-qmp-combo.o: In function `qmp_combo_probe= ': > > phy-qcom-qmp-combo.c:(.text+0x13fc): undefined reference to > > `devm_drm_bridge_add' > > > > You're correct, and TYPEC. Realized that I forgot these once I had > posted the patches. Will figure out the actual set for v2. > > Thanks, > Bjorn So I added CONFIG_DRM to Kconfig for the combo phy and then replaced the old patch we had with your series. Works for me with my TCPM set with zero changes - aside from slotting the old PHY patch with your expanded series on SM8250 Tested-by: Bryan O'Donoghue Reviewed-by: Bryan O'Donoghue https://git.codelinaro.org/bryan.odonoghue/kernel/-/tree/linux-next-23-04-2= 8-pm8150b-tcpm-qcom-wrapper-typec-mux-bjorn