From nobody Sun Feb 8 09:37:29 2026 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74C801BDCF; Thu, 15 Feb 2024 09:05:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707987927; cv=none; b=C/uEZneRaqZQAOsQHsI1KRnQCWwst4V86n/G9MHh2fO1wzap3EvNALOyQtkUzfpqHgioXrRUw9riUSpNnMLcAs6EtiJe7xSEBme961PphP8Y47bArd6/uOBLjlRfOivB3+MB2cTyn/mHc8OdsyT5Qo5IRd5q6qITwalytCtXc8U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707987927; c=relaxed/simple; bh=lAzSHTM1F9Quj28n3IhTiJ2ehA9WUC/bfmzjKyrRUjk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=KzFiGFEZf1ROHrAd/optytLGGaB5e0wX5FvbPUco3AmChHFF5up9pPHadmO2Ca7ucJU8hlQFJGx7eZ7iDjwZ9s2nom4A6O75+JMNhJlyag7d0Q429b+fSKcdz8+tawFtRqHPGGaE4zve/5dsYugSKpPBUNeCmD4/LKJKDIqESXg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from i53875b6c.versanet.de ([83.135.91.108] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1raXgD-0002M4-K8; Thu, 15 Feb 2024 10:05:17 +0100 From: Heiko Stuebner To: neil.armstrong@linaro.org Cc: quic_jesszhan@quicinc.com, sam@ravnborg.org, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, heiko@sntech.de, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quentin.schulz@theobroma-systems.com, Heiko Stuebner Subject: [PATCH 1/3] drm/panel: ltk500hd1829: make room for more similar panels Date: Thu, 15 Feb 2024 10:05:13 +0100 Message-Id: <20240215090515.3513817-2-heiko@sntech.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240215090515.3513817-1-heiko@sntech.de> References: <20240215090515.3513817-1-heiko@sntech.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Heiko Stuebner There exist more dsi-panels from Leadtek sharing supplies and timings with only the panel-mode and init commands differing. So make room in the driver to also keep variants here instead of requiring additional drivers per panel. Signed-off-by: Heiko Stuebner Reviewed-by: Jessica Zhang Reviewed-by: Quentin Schulz --- .../drm/panel/panel-leadtek-ltk500hd1829.c | 73 ++++++++++++------- 1 file changed, 47 insertions(+), 26 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c b/drivers/g= pu/drm/panel/panel-leadtek-ltk500hd1829.c index 39e408c9f762f..42f4e2584af18 100644 --- a/drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c +++ b/drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c @@ -11,6 +11,7 @@ #include #include #include +#include #include =20 #include