From patchwork Wed Oct 25 07:34:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13435626 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 1B469C0032E for ; Wed, 25 Oct 2023 07:35:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4C4BD10E56C; Wed, 25 Oct 2023 07:35:10 +0000 (UTC) Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5647810E56C for ; Wed, 25 Oct 2023 07:35:08 +0000 (UTC) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2b9338e4695so75015811fa.2 for ; Wed, 25 Oct 2023 00:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698219306; x=1698824106; darn=lists.freedesktop.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=sSYQpLoxd/vTN3zIpzIjjE32x4L+dyHKf7hVMquCel8=; b=njAzphzbrN0ZBtlRlpcqQdMsdl4HWR28i0GBn6PvXaNaIc6o2zQnkvq1qXovESvU0k OcaGRTXWgxj5bdtut0UhRHEDu5SifNPRztVxUXpWgAptdi5y0Bbq1Yhpp4TEtE9GVcqZ nx26xyeE3+/QYJRL3m/aWUcUmNylOU27RfEy7OiAGsLrlIiTeJpV7xizhQMEyroWHCtX qxWobFDVdIJQPeD25JMyT1DvLunyCGvXGWCz94Z0qV3JrjVbvaJ+D9g+vJ+M3Fugg44e YVUA61fqqN51tOK9yBHWeQoqZTFRuhU88uxWUcQKRx/xSEXL+OI++C5CuZ5p91Fu5+lp oAGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698219306; x=1698824106; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sSYQpLoxd/vTN3zIpzIjjE32x4L+dyHKf7hVMquCel8=; b=vC37oqNB8EaC5PZkMPf70ieazfi0kUY5I0My4Rp3U2CBovs3EG7jqOKgX3px70T5Ra itiY0ilF5W67Dk7yL8lUQFiNniQtywfXk/UaoZoO1PYd3BX4t1LAny3TmULsylzfpBxc CYbmATrAFNJ0+wvaAT79cJD+tmyigdo+2y/5XifxIm5ql5bEsRY3Swy275g3/Lh2YWaZ yLdUkmfTFA8BJ68XeS0fcHUUyrhKEFozjBPeEym17Dk69uIBIa8ITVaGvnzF+8v0XmOx zvakmQSqMKpnO5cUnHzsn4cn0fBbm3WHiHvWzQG2qpAAPxLFpjMEJ5guw8XnQANi7zP/ 6ggQ== X-Gm-Message-State: AOJu0Yx4rB4ecLks4RKtTy7nrs8MKMcM3f8smg40htql9yR1HlF5mqEY 4aAhNXIxkEIS0SuqrveBadBerg== X-Google-Smtp-Source: AGHT+IGurdsk+zX+6QXgEz0gEKxO+y3oo0icVhPQGYAW6na1Lo1fkepVRaRDbwBsE8L8Xro8oCJLgw== X-Received: by 2002:a2e:a404:0:b0:2c5:d10:248f with SMTP id p4-20020a2ea404000000b002c50d10248fmr11157029ljn.49.1698219306331; Wed, 25 Oct 2023 00:35:06 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id x18-20020a5d60d2000000b003248a490e3asm11449058wrt.39.2023.10.25.00.35.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 00:35:05 -0700 (PDT) From: Neil Armstrong Subject: [PATCH 0/8] drm/msm: Introduce display support for SM8650 Date: Wed, 25 Oct 2023 09:34:58 +0200 Message-Id: <20231025-topic-sm8650-upstream-mdss-v1-0-bb219b8c7a51@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIACLFOGUC/x3MOwqAMAwA0KtIZgOt4vcq4qBt1AzV0qgIxbtbH N/yIggFJoE+ixDoZuFjT9B5Bmab9pWQbTIUqii10jWeh2eD4tq6Unh5OQNNDp0VQSptV5HqTDO 3kAIfaOHnz4fxfT8k7ypmbAAAAA== To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Marek , Krishna Manikandan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=2455; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=nlS7V9RDxDsW5lp+zO+/rnJBlfiyvlUNuUD8vMZXJtM=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBlOMUlKghnMXY6BmgIYR9wKs5nCGd8a5RJCWR4WfKY oW8HPZaJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZTjFJQAKCRB33NvayMhJ0X7/EA COSCAPZ2obB3+VHNndHNi5nCdsdO/aexNkdu5JwPUst7Mw0DTj1cpf7BHVkbP95tmKcLPacxv41O6U of/p/Rjsv33iYvldRQH6hIwII6rBh1tlpzlubNuGjskb99H7e1fDuEx38lmYoIiejGwW3EUO68WoBl FE5blcuBBGUGzRNEL8XJpucKcN6PbuU334OF5x5vssNtqxcinkMmDO+ifPUhmAonSYiuxWpqigswEz 4KelqQjr9Ua/bNfj7xS8wHj97Sjqi28gn031Hm3KcyXkbDeL3SoNXNpbdvkkaJL/RoBySn7U+Gr93b 3i2wYYde5rXtgwyGXEKtmOVSNmbxNdblLaR4Zh1MG2scpw5wwQgjmXsB3grE9vj7l8CnqIs2v5J4UF EfMUfiuvYqrjhU3pV0C5jVlYOueEXrw1el/zyDWrdHFyt6OCpSkpRa6EOPAW0xJnt/0LbdLj9wxLxE CSzIRAI1JIzubuTaLXI2kfVKlq7lI+roW7N1xHnViWtEng8duwswQMo8Q3Q7kjYJYY8jURVWKs+NAN 2JDY5L11fFKn0kLveeN2e2IITKiEGG+rU4NiKbBSVUpxC9VXr8yGNUqO9RYta1LApEXHe4nTOU9ojD cAeTDYL8UOcfSDFyIyQ6CofjljrSaC89x7idlmzlQjkpTamL/4h7t+RzNdYQ== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE 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: , Cc: Neil Armstrong , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The SM8650 MDSS is very close from the MDSS 9.0.0 found on the SM8550 SoC, with the following difference: - DSI PHY 2.8.8, no significant differences - DPU 10.0.0: - Enhanced max_linewidth to 8k - PINGPONG_8 & PINGPONG_9 - MERGE_3D_4 - DSC_4 & DSC_5, DSC_NATIVE_42x on DSC0/1 This patchset contains DSI PHY, DSI Controller, DPU & MDSS bindings in addition to the driver changes. Support for Display Port output is expected for later. Dependencies: None For convenience, a regularly refreshed linux-next based git tree containing all the SM8650 related work is available at: https://git.codelinaro.org/neil.armstrong/linux/-/tree/topic/sm85650/upstream/integ Signed-off-by: Neil Armstrong --- Neil Armstrong (8): dt-bindings: display: msm-dsi-phy-7nm: document the SM8650 DSI PHY dt-bindings: display: msm-dsi-controller-main: document the SM8650 DSI Controller dt-bindings: display: msm: document the SM8650 DPU dt-bindings: display: msm: document the SM8650 Mobile Display Subsystem drm/msm: dpu1: add support for SM8650 DPU drm/msm: mdss: add support for SM8650 drm/msm: dsi: add support for DSI-PHY on SM8650 drm/msm: dsi: add support for DSI 2.8.0 .../bindings/display/msm/dsi-controller-main.yaml | 2 + .../bindings/display/msm/dsi-phy-7nm.yaml | 1 + .../bindings/display/msm/qcom,sm8650-dpu.yaml | 127 ++++++ .../bindings/display/msm/qcom,sm8650-mdss.yaml | 322 +++++++++++++++ .../drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h | 458 +++++++++++++++++++++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 23 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 3 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 + drivers/gpu/drm/msm/dsi/dsi_cfg.c | 17 + drivers/gpu/drm/msm/dsi/dsi_cfg.h | 1 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 2 + drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 1 + drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 27 ++ drivers/gpu/drm/msm/msm_mdss.c | 1 + 15 files changed, 987 insertions(+) --- base-commit: fe1998aa935b44ef873193c0772c43bce74f17dc change-id: 20231016-topic-sm8650-upstream-mdss-e3d95e09c7b8 Best regards,