Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp368656rdb; Thu, 15 Feb 2024 02:43:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWOFoeO4sfdu3YxDIHAmJQFTyvcEm6r4CXZUI1VR9N6dPPvBAkzdGfi+XHtrAKHvuzbHmyGvLXQmOBXwuFCVoKFmP+rKtfoThzUFNWXww== X-Google-Smtp-Source: AGHT+IEW6qyM0PxVlPlC2575JZN6dlBmm85takB9Sg0hLbGB60NSYPWQow3M3tiQ5aPEdiQee4my X-Received: by 2002:a17:90a:f0cc:b0:298:e166:d84f with SMTP id fa12-20020a17090af0cc00b00298e166d84fmr1254154pjb.33.1707993798127; Thu, 15 Feb 2024 02:43:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707993798; cv=pass; d=google.com; s=arc-20160816; b=IQILjjn/SlxufDEdNThOYhwnfsdn7m4gy2MM9+XHFNOjtW+azy0V1c9Fwzo7A7yVon olKxItZjpIrT1fW5i35uCbipTx4+VDLkyuCofXtvjhhXEiuLVoVmWcsM4yZnsY4BfPH4 fjPUVahjBFGieE1LG+KrTod+tGu0JFFC3gtvCCdXjVrTbxCcZdrEV9tLim2thaZxEJC7 ZfiQgDjZNvdW7wLkgGL9mvXi7Ei4yg0H1rfV/Wus6COdsGdOuqZ0DdL3Cta2aNAAIHa6 98Jkqs0/7BAe9SQkgfl8wQOWRwXwP/6IO4QrPS7M/Tt3NmRwFsNkFT51qDNjy6nvUQKF vUug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=N3bUsJsObnwj4sLkeC1K1b+OO1Xl0R0RIuNuiAAkYYo=; fh=odIVo19oqO+g/gQWX02rNcYDbQfg7SzHdjXX0smqSHI=; b=a81ALDcxjykdCw+QAJhh5DlqNERdWN03qIFy/rxO9pmxqXtkImMD0MqU5v7IjccHkD URU9o+XZkt0tUZ6CejGxsyTaLJe+HLwHv6rHKbWTu73h6hH8LE8CSxk+X4qZ+iwCvLs+ 2eJ8n7fID6PoXWgHnuAtB7rWXkdLtfMgVCliFopJdnE0LgU3btU2UcKaieo3gKKlH9+j hn9o+MPrIrtYbLrYNfepvAso5+fMgYA0Bsz7Xq15b4g7MBUbD5LB8Q8VV/rfl+zPlSaQ 6qUWk1D++6ul79ET516gioI387wpKJo2e604S6UQZ/v/lz3TUrhRMTNGscaIB9LyHcQx 8VwQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="tn/2RuP8"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-66664-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66664-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v15-20020a17090a0c8f00b00290f750dc65si2865898pja.140.2024.02.15.02.43.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 02:43:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66664-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="tn/2RuP8"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-66664-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66664-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C06312938B4 for ; Thu, 15 Feb 2024 10:43:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 34F3212C529; Thu, 15 Feb 2024 10:35:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tn/2RuP8" Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9169F12BEA6 for ; Thu, 15 Feb 2024 10:35:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707993317; cv=none; b=tqvQvp2wrcEXMINn6n2iVWuomPyaJ36WB5BwVRBTCWPigJCSsy6fjTKN80THpuX1If2ZNvr7VmRQoXBVnVBrntjySBwxVQsWs8JVa5AaOLIOPEGGT0/BbZ94R1GHwhegzQJPmko0OJpkzWZedhNVZSXnTP0K8if1oQKpDXUdxQI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707993317; c=relaxed/simple; bh=TVCbekeYL5HqEL4TO52as8x52YtA6o5n2cQd1i3PBPw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JGebI0tQyeOSgS9LbT7Ht3fzs0FM399AwTCMMVOq831O07U0YpdxX5C6JCdHzweyYQnKARu/HxKj6vCMKuRI/E8IKnxnAUrzNqWaZzz3lIe0Yn1lmkMOGfm8z2gVo8VD72IODVj85XBSK+p+CjyFFQ7x4vPBHWNvh3RAi9H2MPo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=tn/2RuP8; arc=none smtp.client-ip=209.85.208.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-55c2cf644f3so785929a12.1 for ; Thu, 15 Feb 2024 02:35:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707993314; x=1708598114; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=N3bUsJsObnwj4sLkeC1K1b+OO1Xl0R0RIuNuiAAkYYo=; b=tn/2RuP8QwbGIC7fSkzH1Hrr7+I0t4vpkpJvwgxCFTCM8BKQJxSBzvL9zd3feSZ4SA 3xkA9EeNp8LS4wgy/CylxvO8foW5+CH5AOhXfvxxgQgkyPtEHuQycB6wPsikzbbdnMEC wpaas9/vPyo1PaIIFmUGKEZTg4Gdj8Pkge36NboJXFm6pVPCA2n3/btUSIXAx5AFbN9/ QQCbQkxFySxgKo1r4pj288X/dN1ngcVnpfvZHccqwjn3eVW2ORjIsz85vP5Zhv2T/g+y cl3w16TQVjrIBotHMpWRIic6JBd8UTOQNNa3UJzJfAQaot8LBpLuF71UqppnyspBYWfB mJvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707993314; x=1708598114; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=N3bUsJsObnwj4sLkeC1K1b+OO1Xl0R0RIuNuiAAkYYo=; b=VI2VZxBGJWzRTTFkMCQf9VLxcxt0hFSzBYMHA2p5Gg5hqckMHklGY8TkrgFT3UxpEL kYRY8Yia5O0w4clXY7BmyabmO0io1/4txTsHzAq8kB3iyyvlKcloHuipQmrFgevMaytT 8QniVUROW0XcIyGmkZ0hnVEJksH37wL/iYNrODxm9ajtH2UYffEcGG133s++2Z9cvCQQ iFd2olfsfKEjdwL6FD4zttypG6JtsVfXjJBWUsFkkQrTw0tJpfLJDxBNaRLHjpQmkK2i P3fXSo/1wCOaS6rkj8veOdpS5c5PjDWREFalpBqoWWS0u+sehlx/FPbKMdww8BADJ7Gc EUfQ== X-Forwarded-Encrypted: i=1; AJvYcCW/bDe2PoztBY8dnphe3kFWf3nuS34Ks6Lo6fQtr8vMBbNsA9Z1gQuuci00vttvGWji4iWg8YD1AqH7b5g/0kpgoc/er7kzdef2zOEk X-Gm-Message-State: AOJu0YyY9LM4S9rqLTHNxjAk/IybnGw+f4OpyJPw5mu1aa6BNdizUAZ3 C4PVbA4qwU2WFhdVVxNiDElKIVE+5hB0ZnJU2TJ1IeGh3sACYu/vUkFfRjRROmw= X-Received: by 2002:a05:6402:1a44:b0:561:ca60:46b2 with SMTP id bf4-20020a0564021a4400b00561ca6046b2mr947309edb.33.1707993313428; Thu, 15 Feb 2024 02:35:13 -0800 (PST) Received: from linaro.org ([188.24.162.93]) by smtp.gmail.com with ESMTPSA id ek5-20020a056402370500b00560c07f986asm411263edb.58.2024.02.15.02.35.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 02:35:12 -0800 (PST) Date: Thu, 15 Feb 2024 12:35:11 +0200 From: Abel Vesa To: Dmitry Baryshkov Cc: Vinod Koul , Kishon Vijay Abraham I , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Johan Hovold , linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 2/2] phy: qcom: edp: Add set_mode op for configuring eDP/DP submode Message-ID: References: <20240129-x1e80100-phy-edp-compatible-refactor-v3-0-e71f3359c535@linaro.org> <20240129-x1e80100-phy-edp-compatible-refactor-v3-2-e71f3359c535@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On 24-01-29 11:40:24, Dmitry Baryshkov wrote: > On Mon, 29 Jan 2024 at 10:06, Abel Vesa wrote: > > > > On 24-01-29 06:05:09, Dmitry Baryshkov wrote: > > > On Mon, 29 Jan 2024 at 02:26, Abel Vesa wrote: > > > > > > > > Future platforms should not use different compatibles to differentiate > > > > between eDP and DP mode. Instead, they should use a single compatible as the > > > > IP block is the same. It will be the job of the controller to set the submode > > > > of the PHY accordingly. > > > > > > > > The existing platforms will remain with separate compatibles for each mode. > > > > > > > > Signed-off-by: Abel Vesa > > > > --- > > > > drivers/phy/qualcomm/phy-qcom-edp.c | 71 ++++++++++++++++++++++++++----------- > > > > 1 file changed, 51 insertions(+), 20 deletions(-) > > > > > > > > diff --git a/drivers/phy/qualcomm/phy-qcom-edp.c b/drivers/phy/qualcomm/phy-qcom-edp.c > > > > index 8e5078304646..af941d6c5588 100644 > > > > --- a/drivers/phy/qualcomm/phy-qcom-edp.c > > > > +++ b/drivers/phy/qualcomm/phy-qcom-edp.c > > > > @@ -14,6 +14,7 @@ > > > > #include > > > > #include > > > > #include > > > > +#include > > > > #include > > > > #include > > > > #include > > > > @@ -68,19 +69,21 @@ > > > > > > > > #define TXn_TRAN_DRVR_EMP_EN 0x0078 > > > > > > > > -struct qcom_edp_cfg { > > > > - bool is_dp; > > > > - > > > > - /* DP PHY swing and pre_emphasis tables */ > > > > +struct qcom_edp_swing_pre_emph_cfg { > > > > const u8 (*swing_hbr_rbr)[4][4]; > > > > const u8 (*swing_hbr3_hbr2)[4][4]; > > > > const u8 (*pre_emphasis_hbr_rbr)[4][4]; > > > > const u8 (*pre_emphasis_hbr3_hbr2)[4][4]; > > > > }; > > > > > > > > +struct qcom_edp_phy_cfg { > > > > + bool is_edp; > > > > + const struct qcom_edp_swing_pre_emph_cfg *swing_pre_emph_cfg; > > > > +}; > > > > + > > > > struct qcom_edp { > > > > struct device *dev; > > > > - const struct qcom_edp_cfg *cfg; > > > > + const struct qcom_edp_phy_cfg *cfg; > > > > > > > > struct phy *phy; > > > > > > > > @@ -96,6 +99,8 @@ struct qcom_edp { > > > > > > > > struct clk_bulk_data clks[2]; > > > > struct regulator_bulk_data supplies[2]; > > > > + > > > > + bool is_edp; > > > > }; > > > > > > > > static const u8 dp_swing_hbr_rbr[4][4] = { > > > > @@ -126,8 +131,7 @@ static const u8 dp_pre_emp_hbr2_hbr3[4][4] = { > > > > { 0x04, 0xff, 0xff, 0xff } > > > > }; > > > > > > > > -static const struct qcom_edp_cfg dp_phy_cfg = { > > > > - .is_dp = true, > > > > +static const struct qcom_edp_swing_pre_emph_cfg dp_phy_swing_pre_emph_cfg = { > > > > .swing_hbr_rbr = &dp_swing_hbr_rbr, > > > > .swing_hbr3_hbr2 = &dp_swing_hbr2_hbr3, > > > > .pre_emphasis_hbr_rbr = &dp_pre_emp_hbr_rbr, > > > > @@ -162,18 +166,28 @@ static const u8 edp_pre_emp_hbr2_hbr3[4][4] = { > > > > { 0x00, 0xff, 0xff, 0xff } > > > > }; > > > > > > > > -static const struct qcom_edp_cfg edp_phy_cfg = { > > > > - .is_dp = false, > > > > +static const struct qcom_edp_swing_pre_emph_cfg edp_phy_swing_pre_emph_cfg = { > > > > .swing_hbr_rbr = &edp_swing_hbr_rbr, > > > > .swing_hbr3_hbr2 = &edp_swing_hbr2_hbr3, > > > > .pre_emphasis_hbr_rbr = &edp_pre_emp_hbr_rbr, > > > > .pre_emphasis_hbr3_hbr2 = &edp_pre_emp_hbr2_hbr3, > > > > }; > > > > > > > > +static const struct qcom_edp_phy_cfg sc7280_dp_phy_cfg = { > > > > +}; > > > > + > > > > +static const struct qcom_edp_phy_cfg sc8280xp_dp_phy_cfg = { > > > > + .swing_pre_emph_cfg = &dp_phy_swing_pre_emph_cfg, > > > > +}; > > > > + > > > > +static const struct qcom_edp_phy_cfg sc8280xp_edp_phy_cfg = { > > > > + .is_edp = true, > > > > + .swing_pre_emph_cfg = &edp_phy_swing_pre_emph_cfg, > > > > +}; > > > > + > > > > static int qcom_edp_phy_init(struct phy *phy) > > > > { > > > > struct qcom_edp *edp = phy_get_drvdata(phy); > > > > - const struct qcom_edp_cfg *cfg = edp->cfg; > > > > int ret; > > > > u8 cfg8; > > > > > > > > @@ -200,7 +214,7 @@ static int qcom_edp_phy_init(struct phy *phy) > > > > DP_PHY_PD_CTL_PLL_PWRDN | DP_PHY_PD_CTL_DP_CLAMP_EN, > > > > edp->edp + DP_PHY_PD_CTL); > > > > > > > > - if (cfg && cfg->is_dp) > > > > + if (edp->cfg->swing_pre_emph_cfg && !edp->is_edp) > > > > > > I think (!edp->is_edp) should be enough here. > > > > Actually, in case of DP, the cfg8 needs to be 0xb7 for sc8280xp, while for sc7280 it should be 0x37. > > > > So to differentiate between first and second we check if the config > > provides a swing_pre_emph_cfg > > Using swing_pre_emph_cfg to distinguish between those two cases is a pure hack. > Is there any sensible meaning behind those bits? If not, just put > those values into the configuration data. So the only thing that I was able to find is that this reg has to do with some TX and RX zero bits preamble. It seems it needs to be different between DP configurations (with or without swing and pre-emph). But leaving that aside, unless we add another knob that actually depends on swing and pre-emph configuration being available, there is no other way around it, for now, at least. > > > > > > > > > > cfg8 = 0xb7; > > > > else > > > > cfg8 = 0x37; > > > > @@ -234,7 +248,7 @@ static int qcom_edp_phy_init(struct phy *phy) > > > > > > > > static int qcom_edp_set_voltages(struct qcom_edp *edp, const struct phy_configure_opts_dp *dp_opts) > > > > { > > > > - const struct qcom_edp_cfg *cfg = edp->cfg; > > > > + const struct qcom_edp_swing_pre_emph_cfg *cfg = edp->cfg->swing_pre_emph_cfg; > > > > unsigned int v_level = 0; > > > > unsigned int p_level = 0; > > > > u8 ldo_config; > > > > @@ -245,6 +259,9 @@ static int qcom_edp_set_voltages(struct qcom_edp *edp, const struct phy_configur > > > > if (!cfg) > > > > return 0; > > > > > > > > + if (edp->is_edp) > > > > + cfg = &edp_phy_swing_pre_emph_cfg; > > > > + > > > > for (i = 0; i < dp_opts->lanes; i++) { > > > > v_level = max(v_level, dp_opts->voltage[i]); > > > > p_level = max(p_level, dp_opts->pre[i]); > > > > @@ -261,7 +278,7 @@ static int qcom_edp_set_voltages(struct qcom_edp *edp, const struct phy_configur > > > > if (swing == 0xff || emph == 0xff) > > > > return -EINVAL; > > > > > > > > - ldo_config = (cfg && cfg->is_dp) ? 0x1 : 0x0; > > > > + ldo_config = edp->is_edp ? 0x0 : 0x1; > > > > > > > > writel(ldo_config, edp->tx0 + TXn_LDO_CONFIG); > > > > writel(swing, edp->tx0 + TXn_TX_DRV_LVL); > > > > @@ -447,10 +464,9 @@ static int qcom_edp_set_vco_div(const struct qcom_edp *edp, unsigned long *pixel > > > > static int qcom_edp_phy_power_on(struct phy *phy) > > > > { > > > > const struct qcom_edp *edp = phy_get_drvdata(phy); > > > > - const struct qcom_edp_cfg *cfg = edp->cfg; > > > > u32 bias0_en, drvr0_en, bias1_en, drvr1_en; > > > > unsigned long pixel_freq; > > > > - u8 ldo_config; > > > > + u8 ldo_config = 0x0; > > > > int timeout; > > > > int ret; > > > > u32 val; > > > > @@ -468,7 +484,8 @@ static int qcom_edp_phy_power_on(struct phy *phy) > > > > return timeout; > > > > > > > > > > > > - ldo_config = (cfg && cfg->is_dp) ? 0x1 : 0x0; > > > > + if (edp->cfg->swing_pre_emph_cfg && !edp->cfg->is_edp) > > > > > > I'd assume this should be `if (!edp->is_edp)`, see qcom_edp_set_voltages() > > > > > > > Yep. will fix. > > > > > > + ldo_config = 0x1; > > > > > > > > writel(ldo_config, edp->tx0 + TXn_LDO_CONFIG); > > > > writel(ldo_config, edp->tx1 + TXn_LDO_CONFIG); > > > > @@ -589,6 +606,18 @@ static int qcom_edp_phy_power_off(struct phy *phy) > > > > return 0; > > > > } > > > > > > > > +static int qcom_edp_phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) > > > > +{ > > > > + struct qcom_edp *edp = phy_get_drvdata(phy); > > > > + > > > > + if (mode != PHY_MODE_DP) > > > > + return -EINVAL; > > > > + > > > > + edp->is_edp = submode == PHY_SUBMODE_EDP ? true : false; > > > > + > > > > + return 0; > > > > +} > > > > + > > > > static int qcom_edp_phy_exit(struct phy *phy) > > > > { > > > > struct qcom_edp *edp = phy_get_drvdata(phy); > > > > @@ -604,6 +633,7 @@ static const struct phy_ops qcom_edp_ops = { > > > > .configure = qcom_edp_phy_configure, > > > > .power_on = qcom_edp_phy_power_on, > > > > .power_off = qcom_edp_phy_power_off, > > > > + .set_mode = qcom_edp_phy_set_mode, > > > > .exit = qcom_edp_phy_exit, > > > > .owner = THIS_MODULE, > > > > }; > > > > @@ -781,6 +811,7 @@ static int qcom_edp_phy_probe(struct platform_device *pdev) > > > > > > > > edp->dev = dev; > > > > edp->cfg = of_device_get_match_data(&pdev->dev); > > > > + edp->is_edp = edp->cfg->is_edp; > > > > > > > > edp->edp = devm_platform_ioremap_resource(pdev, 0); > > > > if (IS_ERR(edp->edp)) > > > > @@ -839,10 +870,10 @@ static int qcom_edp_phy_probe(struct platform_device *pdev) > > > > } > > > > > > > > static const struct of_device_id qcom_edp_phy_match_table[] = { > > > > - { .compatible = "qcom,sc7280-edp-phy" }, > > > > - { .compatible = "qcom,sc8180x-edp-phy" }, > > > > - { .compatible = "qcom,sc8280xp-dp-phy", .data = &dp_phy_cfg }, > > > > - { .compatible = "qcom,sc8280xp-edp-phy", .data = &edp_phy_cfg }, > > > > + { .compatible = "qcom,sc7280-edp-phy" , .data = &sc7280_dp_phy_cfg, }, > > > > + { .compatible = "qcom,sc8180x-edp-phy", .data = &sc7280_dp_phy_cfg, }, > > > > + { .compatible = "qcom,sc8280xp-dp-phy", .data = &sc8280xp_dp_phy_cfg, }, > > > > + { .compatible = "qcom,sc8280xp-edp-phy", .data = &sc8280xp_edp_phy_cfg, }, > > > > { } > > > > }; > > > > MODULE_DEVICE_TABLE(of, qcom_edp_phy_match_table); > > > > > > > > -- > > > > 2.34.1 > > > > > > > > > > > > > -- > > > With best wishes > > > Dmitry > > > > -- > With best wishes > Dmitry