From patchwork Wed Nov 2 23:13:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13029140 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 5FF06C4332F for ; Wed, 2 Nov 2022 23:13:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230012AbiKBXNP (ORCPT ); Wed, 2 Nov 2022 19:13:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbiKBXNO (ORCPT ); Wed, 2 Nov 2022 19:13:14 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB997DE8C for ; Wed, 2 Nov 2022 16:13:12 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id d20so187209ljc.12 for ; Wed, 02 Nov 2022 16:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=uSZbtUrumgTcxUg6hHxu4JdqNGMhW+St+6BoWj9AtF4=; b=QWt5bE8GoKSTTe/12Fs3pjrZDO66jgMoUnihmGU+vi3vEz3SP9OP8UBz98g69t1Ft2 xkPX9UVN3qgTPlf/KV+s/wqndJwJTa2V0ZSLFU/kGijn9finrOppSL3lM4MgEGCjPIrt 6JesASoR9g8ECQHnweaQvHtZTS8HVDAlDh7ZIi5zT9tXqoVEWWB0qajBTypNMTTGm398 yVLAmrfYy3kZ9+JSms+ygi95vGu/99VG4Zr0SV/9GncofTTkKabI7nqcX7OTs3yYr5HJ q2xYs9WRD0hjVaWgUMtOCNzC9n75MlFhFcLUsyCNATAf6j82hbwpFafcp32xpy+6Lin7 QE5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=uSZbtUrumgTcxUg6hHxu4JdqNGMhW+St+6BoWj9AtF4=; b=1oihHRSgGRm54JYo/5FV8u19bnxrMK0j0zjCS7KHy9iD2Qc8pPi/RoPeIUjl09n32n 0JZr/sPGEvSFI/nRUzyF9bbmZl3qUDV3i+h47XxR3DsEYVVJaIlvBZn/aI2QzEd4WIA+ 3yKUV0DVDPyhegPiA9W53dh3w2eKeZoY8/anUN6EVZchV0cHjv/z+5V978McVSI146zc lsPnSqGNUFzQc4T772jMvqMfiMPGK02l+eC76Qx6x5MWVSTARbu+ktv2FxCudDF+ebIo 5YdBvG24IlBTmDTE8U0pIqQTBD+EfwOBRJzfyTLbpZswRdybcktD/NuBzMP24YxjOdTW aGsg== X-Gm-Message-State: ACrzQf2cECcBr8xvT/vqJOnSrybjQunzHz+ngBf+wCYIsxWJGEyJ+qKv yOHdNUxS1KdfuqIq1DP0Kld3Vg== X-Google-Smtp-Source: AMsMyM51xOPV6VD0ssIJh3+v+lQCDuf6J7gYV288GMSp2BNb3pLPFS1Fkom80EzbVJYExX6qGy0eow== X-Received: by 2002:a2e:a163:0:b0:277:159b:4da2 with SMTP id u3-20020a2ea163000000b00277159b4da2mr10169593ljl.502.1667430791072; Wed, 02 Nov 2022 16:13:11 -0700 (PDT) Received: from localhost.localdomain ([195.165.23.90]) by smtp.gmail.com with ESMTPSA id m6-20020a056512114600b004b0a1e77cb6sm1636134lfg.139.2022.11.02.16.13.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 16:13:10 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Clark , Sean Paul , Abhinav Kumar , Rob Herring , Krzysztof Kozlowski Cc: Stephen Boyd , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH v2 0/8] drm/msm: add support for SM8450 Date: Thu, 3 Nov 2022 02:13:01 +0300 Message-Id: <20221102231309.583587-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This adds support for the MDSS/DPU/DSI on the Qualcomm SM8450 platform. Change since v1: - Fixed the regdma pointer in sm8450_dpu_cfg - Rebased onto pending msm-next-lumag - Added DT bindings for corresponding devices Dmitry Baryshkov (8): dt-bindings: display/msm/dsi-controller-main: allow defining opp-table dt-bindings: display/msm: add sm8350 and sm8450 DSI PHYs dt-bindings: display/msm: add support for the display on SM8450 drm/msm/dsi: add support for DSI-PHY on SM8350 and SM8450 drm/msm/dsi: add support for DSI 2.6.0 drm/msm/dpu: add support for MDP_TOP blackhole drm/msm/dpu: add support for SM8450 drm/msm: mdss add support for SM8450 .../display/msm/dsi-controller-main.yaml | 3 + .../bindings/display/msm/dsi-phy-7nm.yaml | 2 + .../bindings/display/msm/qcom,sm8450-dpu.yaml | 132 +++++++ .../display/msm/qcom,sm8450-mdss.yaml | 349 ++++++++++++++++++ drivers/gpu/drm/msm/Kconfig | 6 +- .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 224 +++++++++++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 2 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 3 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 12 +- drivers/gpu/drm/msm/dsi/dsi_cfg.c | 2 + drivers/gpu/drm/msm/dsi/dsi_cfg.h | 1 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 4 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 2 + drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 132 ++++++- drivers/gpu/drm/msm/msm_mdss.c | 5 + 15 files changed, 864 insertions(+), 15 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sm8450-dpu.yaml create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sm8450-mdss.yaml