From patchwork Fri Jun 14 21:58:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danila Tikhonov X-Patchwork-Id: 13699135 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 55C23C27C6E for ; Fri, 14 Jun 2024 21:59:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3C83010E2B3; Fri, 14 Jun 2024 21:59:15 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=jiaxyga.com header.i=@jiaxyga.com header.b="VVXczM6z"; dkim-atps=neutral Received: from smtp52.i.mail.ru (smtp52.i.mail.ru [95.163.41.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 61BD310E2AC; Fri, 14 Jun 2024 21:59:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=jiaxyga.com ; s=mailru; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: Cc:To:From:From:Sender:Reply-To:To:Cc:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive: X-Cloud-Ids:Disposition-Notification-To; bh=qBrlhxoyGYIX/FkKuLeT+dLsA3at60og0PQxkArnBHM=; t=1718402348; x=1718492348; b=VVXczM6zYuqqjjaj0xEgxKn2019zRA2kVr/15gjkWuweBabXMnqXhc/tCMQ6uVBq5p2K6XtFBFP 2keIqUSvwgqDr8BJOe3piVHQYuoutG/DKDBd8ha/1OClVfZEukEQnJmUYh6nskcroeXfVX/wuY5VD BXSVgwiUuaEPnTWUkIQ=; Received: by smtp52.i.mail.ru with esmtpa (envelope-from ) id 1sIEwo-0000000DQt7-0fot; Sat, 15 Jun 2024 00:59:03 +0300 From: Danila Tikhonov To: robdclark@gmail.com, quic_abhinavk@quicinc.com, dmitry.baryshkov@linaro.org, sean@poorly.run, marijn.suijten@somainline.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, quic_rmccann@quicinc.com, konrad.dybcio@linaro.org, neil.armstrong@linaro.org, jonathan@marek.ca, swboyd@chromium.org, quic_khsieh@quicinc.com, quic_jesszhan@quicinc.com Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Danila Tikhonov Subject: [PATCH v3 0/4] Add MDSS and DPU support for QCOM SM7150 SoC Date: Sat, 15 Jun 2024 00:58:51 +0300 Message-ID: <20240614215855.82093-1-danila@jiaxyga.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Authentication-Results: smtp52.i.mail.ru; auth=pass smtp.auth=danila@jiaxyga.com smtp.mailfrom=danila@jiaxyga.com X-Mailru-Src: smtp X-7564579A: 78E4E2B564C1792B X-77F55803: 4F1203BC0FB41BD9AC8CA0B4439200FA28F1BD06D4CF66E6FBB893C35490C21C00894C459B0CD1B9024E8280270506ADBC1E996D91BF8BA8AAA09460975C62D331FC8F41566DE7970DE140DF427568CF X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7A3589DC202DD7369EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063790B55F3E386DB9B28638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8F6DB21DE365137F61367D1A1BD11C48D4C07A2124609FAABCC7F00164DA146DAFE8445B8C89999728AA50765F79006377C70927E34808485389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC80839144E5BB460BAF6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA73AA81AA40904B5D9A18204E546F3947C1DAA61796BF5227BAD7EC71F1DB884274AD6D5ED66289B523666184CF4C3C14F6136E347CC761E07725E5C173C3A84C3963AE2AFEF160AEBBA3038C0950A5D36B5C8C57E37DE458B330BD67F2E7D9AF16D1867E19FE14079C09775C1D3CA48CF17B107DEF921CE791DD303D21008E298D5E8D9A59859A8B64854413538E1713F75ECD9A6C639B01B78DA827A17800CE73A6989AD488FD87D731C566533BA786AA5CC5B56E945C8DA X-C1DE0DAB: 0D63561A33F958A572D8628D918D88495002B1117B3ED696B42F0537A5B1057819AC5B239BAD4335823CB91A9FED034534781492E4B8EEADA2D5570B22232E1EC79554A2A72441328621D336A7BC284946AD531847A6065A535571D14F44ED41 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF77DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF6E3AC12C8FBE4226D3D85F98EC02C61921434E08D67B9B54F9C1DFCF8833E9C28D4FFD5EE5365399BC11D93875BCBCACFF90F3712A80EF730A7495B692C6454FA784DBFDB1348CF354A6BD6C3A9AE7E002C26D483E81D6BE72B480F99247062FEE42F474E8A1C6FD34D382445848F2F3 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXim4nADFW8Ww8wzEdE2OTTm X-Mailru-Sender: 9EB879F2C80682A09F26F806C7394981941D1884D218BFB88BD48BD36611AD346B43D4AF59BF160B4C1DA9628851132B2C62728BC403A049225EC17F3711B6CF1A6F2E8989E84EC137BFB0221605B344978139F6FA5A77F05FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This series adds MDSS and DPU support for SM7150. Changes in v3: - Swap DPU and MDSS patches (Krzysztof) - Add an explanation of the abbreviation DPU in patch 1 (Krzysztof) - Switch qseed3_1_4 on qseed3_2_4 in patch 2 (Dmitry) - Drop LM_4 and LM_5 in patch 2 (Dmitry) - Add Krzysztof's R-b tag to patch 1 and patch 3 - Add Dmitry's R-b tag to patch 4 - Link to v2: https://lore.kernel.org/all/20240612184336.11794-1-danila@jiaxyga.com/ Changes in v2: - Drop clock controller headers and use invented clocks instead in patches 1 and 2 (Dmitry and Rob) - Link to v1: https://lore.kernel.org/all/20240611223743.113223-1-danila@jiaxyga.com/ To: Rob Clark To: Abhinav Kumar To: Dmitry Baryshkov To: Sean Paul To: Marijn Suijten To: Maarten Lankhorst To: Maxime Ripard To: Thomas Zimmermann To: David Airlie To: Daniel Vetter To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley To: Ryan McCann To: Stephen Boyd To: Neil Armstrong To: Jonathan Marek To: Kuogee Hsieh To: Jessica Zhang To: Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Danila Tikhonov Danila Tikhonov (4): dt-bindings: display/msm: Add SM7150 DPU drm/msm/dpu: Add SM7150 support dt-bindings: display/msm: Add SM7150 MDSS drm/msm: mdss: Add SM7150 support .../bindings/display/msm/qcom,sm7150-dpu.yaml | 143 ++++++ .../display/msm/qcom,sm7150-mdss.yaml | 458 ++++++++++++++++++ .../msm/disp/dpu1/catalog/dpu_5_2_sm7150.h | 335 +++++++++++++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 1 + .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + drivers/gpu/drm/msm/msm_mdss.c | 8 + 7 files changed, 947 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sm7150-dpu.yaml create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sm7150-mdss.yaml create mode 100644 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_2_sm7150.h