From patchwork Wed Aug 25 23:42:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 502327 Delivered-To: patch@linaro.org Received: by 2002:a17:906:f0cd:0:0:0:0 with SMTP id dk13csp721658ejb; Wed, 25 Aug 2021 16:41:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDlnKbYcQ5kqjo92zjSh/aB3cwz0DXNz7fa9BEylcNwcXl7a0c+Kac0aOMdXs1EVyer8tS X-Received: by 2002:a92:d282:: with SMTP id p2mr552938ilp.259.1629934896138; Wed, 25 Aug 2021 16:41:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629934896; cv=none; d=google.com; s=arc-20160816; b=wCnjAAQ8iF0FybgrzhDbIZ7h0T6G8zrEM26p4K4OT8GFKhfuPY3Y9E2uXde+zQv+2f sgk0doXV5rx51yHYXT3UOwTBSkhdUCBVqGpgk2RIme8c5Ua7jpiLvQJhlZ+XbKHMJAvY dz7BOau/zMH5o3mYmt3VgTxXV7QhnWMVjI95NpoJlVBPcXO918m3mhyunMyvUWeVKl67 /9LFKRNdG3279+toFNc4qlVhFwC8IsQE5gHpUhvSesb7zWWBMKjlm1z7KyU61axIK9TR VCAQl/E+4ZY4muWcAN3nfgEUd0TBofVF8jIRHwunPHK4Jng9zpTWaGnGOoHFhcL1of8D z5XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zmkhJZgxUoBYEWfmUUPtlawWDiOOQTnvHmBTREcB0I8=; b=sTQjmMRqm7k9yiPRIaY1e3W9G/PlvzgiofA6usAxFtjI7ioPRn4tOluWSgs+UpZqnX fBksoZvP9vqVdgqSlfzRkHiUA8A/V6/9/bu+HJq1jlcDnRWGgMh+4UW3y1MbzO3YujfN t4ibAivX3GzlxkROx5te52gye1kgY+09uZ9H4kXN07kBR4NReyxEP5C49IGerRCZc1M0 JMG7wZlKgkLNTbw1Sf5tDtaSTKIOIbddTH7YzAqToHjcTklQTv13e1el3yDiJfQ6xVzB 7GeteUBzKRXa5Qemgg1bO/NYp6BzyqMChrQnWJAo3U20Oy3ycLyXzl5vDnG9rnA2KiLT VMWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JyWNsF0F; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l6si1082234ios.26.2021.08.25.16.41.35; Wed, 25 Aug 2021 16:41:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JyWNsF0F; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235078AbhHYXmU (ORCPT + 16 others); Wed, 25 Aug 2021 19:42:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234178AbhHYXmM (ORCPT ); Wed, 25 Aug 2021 19:42:12 -0400 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 625F2C0617AD for ; Wed, 25 Aug 2021 16:41:26 -0700 (PDT) Received: by mail-oi1-x22f.google.com with SMTP id p2so2112335oif.1 for ; Wed, 25 Aug 2021 16:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zmkhJZgxUoBYEWfmUUPtlawWDiOOQTnvHmBTREcB0I8=; b=JyWNsF0Fao+n3iA7RF4tPiWMJ8n2MZ2mYJoFDYpVaqi9ikZqme6UoCEL5AL6XWV8+b 7j87fGb8hvJLvdo6yIJZGnmE8E4AXI+nFHBd1vgw/ziftZGciRFPiNm6JyxoKk4XqR8R WZf76jy/wYt9SI4BubN6PAu11atHjFJc6O5BLQ/wS52aA2uWAtwaI3YInYvWOgACsamN lerEgJOmm6aVh2+Wsj1TQGiWtR6jEXRCBgn32lvkpTeYUci5pjr1cWJmIX6WHVJjzKoz j9cQiPlS9DuiiKiFzshN54SQEfYOJxDMmAKpOJLwvJXhgE/NrZVmiItvzv6iUdhqFKc8 RcTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zmkhJZgxUoBYEWfmUUPtlawWDiOOQTnvHmBTREcB0I8=; b=gFytx59TNiWA7C3FEqdrkMXdfDNb5CfEwCexhnuUhKPS8cFTxdilQCwyPxpo3WttQx HS7FGFqkQAdjm9NFQzzptNHxXVixmN4SO05RODWYiHx6dr837z3xEpNEStfvtpaL39rH jY3Apzhgjc7N2BQCMmfiCVhLv2dIRlqrh3cvkf+Hq6MUdK9VsS4O6q7zwuXsQTHWrfqw eMDFTFQRvqxqPjxq3yVj7Gg/GoOUKQmW+zpg93VBEysNybIDWwBw3Hy6NOXRaGzHd5s8 lbEMw104wSD98k/F8+meXPLtEIVpfbU3jnBe7MskyfBKZi+Rqbj2+n3nQtcCnuB+qoxE UIPw== X-Gm-Message-State: AOAM530P7npHndgOdtjzrlWrIvE+n1CBXWsFNUernsKkap6bcf5xALjC FYROz5FpL/Z6/4f0XfCwyDOluQ== X-Received: by 2002:a05:6808:95:: with SMTP id s21mr418519oic.80.1629934885805; Wed, 25 Aug 2021 16:41:25 -0700 (PDT) Received: from localhost.localdomain (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id g10sm267136oof.37.2021.08.25.16.41.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Aug 2021 16:41:25 -0700 (PDT) From: Bjorn Andersson To: Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Abhinav Kumar , Dmitry Baryshkov , Kalyan Thota , Kuogee Hsieh Cc: Rob Herring , Stephen Boyd , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/5] drm/msm/dp: Add sc8180x DP controllers Date: Wed, 25 Aug 2021 16:42:33 -0700 Message-Id: <20210825234233.1721068-6-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210825234233.1721068-1-bjorn.andersson@linaro.org> References: <20210825234233.1721068-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The sc8180x has 2 DP and 1 eDP controllers, add support for these to the DP driver. Signed-off-by: Bjorn Andersson --- Changes since v1: - Squashed DP and eDP data, as there's no reason to keep them separate today drivers/gpu/drm/msm/dp/dp_display.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.29.2 Reviewed-by: Stephen Boyd diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index 4a6132c18e57..c1307230dc47 100644 --- a/drivers/gpu/drm/msm/dp/dp_display.c +++ b/drivers/gpu/drm/msm/dp/dp_display.c @@ -128,8 +128,15 @@ static const struct msm_dp_config sc7180_dp_cfg = { .num_dp = 1, }; +static const struct msm_dp_config sc8180x_dp_cfg = { + .io_start = { 0xae90000, 0xae98000, 0xae9a000 }, + .num_dp = 3, +}; + static const struct of_device_id dp_dt_match[] = { { .compatible = "qcom,sc7180-dp", .data = &sc7180_dp_cfg }, + { .compatible = "qcom,sc8180x-dp", .data = &sc8180x_dp_cfg }, + { .compatible = "qcom,sc8180x-edp", .data = &sc8180x_dp_cfg }, {} };