From patchwork Mon Jan 9 08:49:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13093155 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 A38ADC5479D for ; Mon, 9 Jan 2023 08:49:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5B41710E382; Mon, 9 Jan 2023 08:49:38 +0000 (UTC) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5A61B10E380 for ; Mon, 9 Jan 2023 08:49:36 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id i17-20020a05600c355100b003d99434b1cfso6020283wmq.1 for ; Mon, 09 Jan 2023 00:49:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=siKssN7+BF3Ar6NiC2raZr/JKgYRNMaZsKu5TqC452k=; b=EC/NPgVtbD08ltPavscFWrbUcdb3WKJRO9+7MBtwuDiJpWSTCaW2tCiKJS3WJ+qTEe 6CxnoZxnTuKGnr2htzGg1N9XS6AMjDGeLocixjAh85WdaMv65j7CxwZxFHflW5iVwPJ8 iBx+XDyR22q3otFb0mgocpE7DPBt268TdbsPqBc5PcBeFeKFDiX6bp6EBo7v7tFAE2Po ry3L+UEPAtQJcsL2lfKliUZGeZVBD6YV8JOOXm9b9A6k6kQuT4Y3ILnFvP1Fnd79FJ7H zZ4utoAJ7/lKKKqZZzOiK2gQQ2c8yDsC35b4/f8Ri/0pXfYoMrO8p42a/eR8ePa6r/Z8 B0Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=siKssN7+BF3Ar6NiC2raZr/JKgYRNMaZsKu5TqC452k=; b=EpHQSUKfqjVcVKZh7+8D/5iH5mVJPUlCXTvzijsLUckvCp3rnMaMzkas2VmSPDQjNR /iDRL8XXW5vzpdWzfYdpMaSJFKSVrK0PKeCK7tYRsEooMucxsw93jiS89vROXnrv63Qt pLf5S9UV9acxHxEFkqt/QF+ynb2G3mZ781uEhk0RRLDaaGb9IgZFNhVmkg1cgThtae4b l7E5iQ7w8fGKFV1Lk86G7AYDeKdZ6X/aPmbBdNDhMoXW9gAqWH84DtEnVTHTLlEELtJ7 HvZyBAn5Nk91k3Zr7Jyq6rKYpf6XXJaMMQQw8NqTPAG300HWqredxSVlIdj/kc76/iIh KAMQ== X-Gm-Message-State: AFqh2kqGwQXOA8Sba6xjzdcjGz1+WOcU0/fFMO6tVGHvaM+6zuNy/RMm BLC+qT/ZnZO958NRGeACJeBRfA== X-Google-Smtp-Source: AMrXdXtggGQz2GeaqMHJwAE7OigHbI53wsmzvKbRmQJ7N5AfmYUMNKMjZ9SpOtKFIfznz01xmqva4g== X-Received: by 2002:a05:600c:15c3:b0:3d1:c8e4:48d7 with SMTP id v3-20020a05600c15c300b003d1c8e448d7mr55302643wmf.40.1673254174810; Mon, 09 Jan 2023 00:49:34 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id az28-20020a05600c601c00b003cf57329221sm15039619wmb.14.2023.01.09.00.49.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 00:49:34 -0800 (PST) From: Neil Armstrong Subject: [PATCH v2 0/2] drm/panel: add support for the Visionox VTDR6130 AMOLED DSI panel Date: Mon, 09 Jan 2023 09:49:29 +0100 Message-Id: <20230103-topic-sm8550-upstream-vtdr6130-panel-v2-0-dd6200f47a76@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIABnVu2MC/5WOQQ6DIBQFr9Kw7m9AqmJXvUfjAgSVRIF8kLQx3 r3UG3Q5s3jzdhINWhPJ47ITNNlG612B6nohwyzdZMDqwqSiFaeMckg+2AHiKuqawhZiQiNXyElj wziFIJ1ZYBRMS921jVSalCklowGF0g1zGXPbshQZ0Iz2fbZffeHZxuTxc17J7Gf/rGYGFDrV3hs lasFb8Vysk+hvHifSH8fxBQniiRfuAAAA To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski X-Mailer: b4 0.11.1 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: devicetree@vger.kernel.org, Neil Armstrong , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Krzysztof Kozlowski Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add support for the 1080x2400 Visionox VTDR6130 AMOLED DSI panel found on the Qualcomm SM8550 MTP board. By default the the panel is configured to work with DSI compressed streams, but can work in uncompressed video mode since 1080x2400 in RGB888 fits in the 4 DSI lanes bandwidth. While display compression is preferred for performance and power reasons, let's start with the uncompressed video mode support and add the DSC support later on. To: Thierry Reding To: Sam Ravnborg To: David Airlie To: Daniel Vetter To: Rob Herring To: Krzysztof Kozlowski Cc: dri-devel@lists.freedesktop.org Cc: devicetree@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Neil Armstrong --- Changes in v2: - Patch 1: Added review tags - Patch 2: - Fixed includes block grouping - used mipi_dsi_dcs_write_seq() instead of custom macro - Used MIPI_DCS macros instead of hex valuex when possible - Dropped first DCS write which was enabling DSC, and so removed DSC disable - Fixed width/height - Dropped calling mipi_dsi_dcs_set_display_brightness() and direct DCS write to avoid double swap - Fixes MODULE_AUTHOR & MODULE_DESCRIPTION - Link to v1: https://lore.kernel.org/r/20230103-topic-sm8550-upstream-vtdr6130-panel-v1-0-9b746b858378@linaro.org --- Neil Armstrong (2): dt-bindings: display: panel: document the Visionox VTDR6130 AMOLED DSI Panel bindings drm/panel: add visionox vtdr6130 DSI panel driver .../bindings/display/panel/visionox,vtdr6130.yaml | 53 +++ drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-visionox-vtdr6130.c | 358 +++++++++++++++++++++ 4 files changed, 420 insertions(+) --- base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2 change-id: 20230103-topic-sm8550-upstream-vtdr6130-panel-f81dad976abd Best regards,