From patchwork Wed Jun 26 14:22:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 13713018 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 4D0B9C30658 for ; Wed, 26 Jun 2024 14:22:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 60A4310E8D9; Wed, 26 Jun 2024 14:22:39 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="zuFq3Q+B"; dkim-atps=neutral Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by gabe.freedesktop.org (Postfix) with ESMTPS id 01C5F10E8D4 for ; Wed, 26 Jun 2024 14:22:32 +0000 (UTC) Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2ebec2f11b7so75346561fa.2 for ; Wed, 26 Jun 2024 07:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1719411750; x=1720016550; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=W7iH3JSmiJaSnX32RaYcorOWmDrnkufENWf0l16tdfQ=; b=zuFq3Q+BPMNz9PRkZMKpLrfEnHHo/4R2SPlzmkqGhwJV42EU3txyVt/EgvaOHBQl5Y 7BpG2ejIX4hHVHLfGpfVrHVFNclQk+M09SgR0zKHk8jn67z0oj4g+gVHyeTYDfTC6TRC Sth5Vmw4eSwIucj6+8s6H+wtex1ndsRlRg1pXQvtp64F1pXlZgexLzJ9AF4bCknt3Tgt n3A1b0I6OiKrnD0raSUCc54+i3FhGBdp1TQkKTieAVy68Ipqf3wQghZL0mbuSKsOdAMu F4hZcM0DC4EjIEqqn803P/TiSbkVSHb+WUOm3arDkkQ+A0fj2ZqUQnhnvHA92kqxM9rD mUmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719411750; x=1720016550; 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=W7iH3JSmiJaSnX32RaYcorOWmDrnkufENWf0l16tdfQ=; b=smkG9d1byAP50FZ7z5miKADbHlF6WehSnyRtjEEdTMG+VpaoO6Nh21U6h9gI0FEmgx CEApfM+OZy8ZadVxIsyeg63nSHswOdHMiOS6dhJyJcNBckYbUjAskRuV3pybBamAzBFT HpO8kdEcLn5Ep9S6pPiGzvCZT15ZThisveac4gKR/NVGVptd4EeTzXjZg0DL5opqf2x2 jzZDGUjOkWw5kyY4g7nG4jJ8/EE79lPkAgqAJWYFostCY06WuDToPB722mx6HDuU2wNp LyLTbdIiw0E7WXS2ezyWwu98Oqw4lfkxCjTbyiyUkNjGq/0l38OZrSPxkczQueJIkOiu Pk2Q== X-Forwarded-Encrypted: i=1; AJvYcCXf+VqKFyTwDhCiiWiKaZrRn68JlCj/N6Z7nHKTgUUU3rqNwyEx2VjwKLpaB5qhaBqAK0oSMv5n8m3b4k1okEk3VNROEDikvi3lpoEPDb+2 X-Gm-Message-State: AOJu0Yynv1grWmV/IdgAOVPLgBYJmNazZWNZM0gpBJW6p1twBJGI1/Dp bmGY6+Y4rSSMRkyFPFobzFVfJ4BXTDUVUdhmuBERvEky/DktgB0VG43aGy2KMoM= X-Google-Smtp-Source: AGHT+IHetDfsyqoRDtAkMQd5EyaDyXrcIZOcAmh59cPqxsnGl3jMLCu9/rXhsZFogKqN/Bv732PNYg== X-Received: by 2002:a2e:8416:0:b0:2ea:8308:841e with SMTP id 38308e7fff4ca-2ec5b345df8mr57301091fa.24.1719411750430; Wed, 26 Jun 2024 07:22:30 -0700 (PDT) Received: from toaster.lan ([2a01:e0a:3c5:5fb1:7be7:aef1:af9e:fff6]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-424c823c28asm27141105e9.5.2024.06.26.07.22.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 07:22:30 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: Jerome Brunet , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , dri-devel@lists.freedesktop.org, Dmitry Baryshkov Subject: [PATCH v2 0/3] drm: panel: add support lincolntech LCD197 panel Date: Wed, 26 Jun 2024 16:22:06 +0200 Message-ID: <20240626142212.1341556-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Patchwork-Bot: notify 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 patchset adds support for the Lincolntech LCD197 1080x1920 DSI panel. Changes since v1 [1]: * Rebased on drm-misc-next * Drop vendor prefix change (lincolntech recently added) * Use mipi_dsi_dcs_*multi() * Drop the shutdown callback * Insert mipi_dsi_usleep_range() for _multi usage as suggested. * Downcase hexadecimal values [1]: https://lore.kernel.org/lkml/20240625142552.1000988-1-jbrunet@baylibre.com Jerome Brunet (3): dt-bindings: panel-simple-dsi: add lincoln LCD197 panel bindings drm/mipi-dsi: add mipi_dsi_usleep_range helper drm/panel: add lincolntech lcd197 support .../display/panel/panel-simple-dsi.yaml | 2 + drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile | 1 + .../gpu/drm/panel/panel-lincolntech-lcd197.c | 262 ++++++++++++++++++ include/drm/drm_mipi_dsi.h | 7 + 5 files changed, 283 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-lincolntech-lcd197.c