Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1080576lqp; Sun, 14 Apr 2024 13:22:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW9gYSe2o1kINEvcThRQ7ORPnxVHRKc+04Pkm9Tvoh84V+E3p8yixLBljRxI27RYAPeYNi1Dd3RkfjhcRY//UrsGWGUtQvQ7t5oRlH57w== X-Google-Smtp-Source: AGHT+IGP8blQbyhbeqVjm6RDbDKyDS5jvajdFK+ZuEVZdRwQvV1/Tw6i6O+xsgSpxATMFpsj17L/ X-Received: by 2002:a05:6e02:138f:b0:36a:2386:d8a7 with SMTP id d15-20020a056e02138f00b0036a2386d8a7mr10327169ilo.30.1713126168227; Sun, 14 Apr 2024 13:22:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713126168; cv=pass; d=google.com; s=arc-20160816; b=qdJbZ5n0wb/ELuTZKhmquoCsZgV848HiZ5oEeKYCjYKobI8dvrdwuk4fQqu/hIiGJZ qv38LjLT5wDi2fs4whd8S0ABWEkMRtesmH5B9hEUOWmiSiY+tUfiF7Dl3EJiY3US6YRg qIqxl9pgHutNiXQl55MIVsYVl/UbHu/j7TdKDwjugKdI7WgAk2sT7mxmanx1Ywj6z6Lb I7ZX6hS/bzskrtiAqiWf/s3eCnxfRp3fZag8J/EMV5vtzTozmtgI7Uyhj4kFgbXVxblP Uo/Ywd2cIb83B1oBfVzCSKgYkNuBbPX2cRmrr+4T2xh38ERsliMJCQ9U6c+2mdP7PCRt pWBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=KkvTV2uGL6FKiAI+4rZ2c43iMm1IAPg5puJ5Da/2gmA=; fh=oTF+TVdzJRlTf1vUBs2ePbjIQZdP91MBvaAfbsAipXM=; b=bjg9ZyvWXYkXxqvceLz9u1iQPjd7RX2UoF+uJn8+J4OnqEzE2U9UquzxZD0hOwbDHF B+XJ0H1HHNUDoz59TxTVp3WJCNmtWOv+eIDIvuhmfAltASTup/sfHB8dBaXstyGp7mJG 9O7K0LHYMouH1b0er6i0uT3K+xrPEWYMz5LqouMTHgjniWA6dYwtykOPJfEZCyeLjYdj LODvfXDkjtRd9HWj7R5fYfmd/vglMD0MiCXASNGAL79GP0uePp+fAsGqGWegJi8MUD8A Dw+RR7AJKSTxD0KNryC48d0hHScuZoVNTG7QPYKJCebFX/AQpdE/fUdzqt3Tot0sN2hi RwQw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=VGoWBVEb; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-144365-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144365-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m129-20020a633f87000000b005dc365174desi6772062pga.377.2024.04.14.13.22.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 13:22:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144365-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=VGoWBVEb; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-144365-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144365-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E19F9281772 for ; Sun, 14 Apr 2024 20:22:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1368136997; Sun, 14 Apr 2024 20:22:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="VGoWBVEb" Received: from smtp.smtpout.orange.fr (smtp-13.smtpout.orange.fr [80.12.242.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E97AE50A98; Sun, 14 Apr 2024 20:22:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.12.242.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713126159; cv=none; b=DEAqS2naB5/dTyf6mJbg+2xJlKG0Vpnafov3Ev3VRciJIse7/553SfTnQp+tiZsjOFjuBwHiwStbaSAoN4YhtTQF0equafI+1VGjr51qb79qomkwYzZFoxgvKpoZzVdM08///eYPiP4mS/cM2P/4ycfJ4JoWEy4PFG4rhIwqUuY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713126159; c=relaxed/simple; bh=jS8aaEgrDy+LAshuOWNAXe/xU8eT+12PkVtGogZg7mo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MkWZFNoV6rTidd00vlm5Ou4OurojBMeSL9DwFVaMORy438IDjGjd+SI/3w/DUtQysH6A2c7bO/1dyJixNNsv8kNXj+KY7Wd4FYNUIZebC/iScReDNw3FHItq71HRgJZF+idXKRSy+bseX7MdAsTcBvt0kFHi/mw5DR2+vNjNkWo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=VGoWBVEb; arc=none smtp.client-ip=80.12.242.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Received: from [192.168.1.18] ([86.243.17.157]) by smtp.orange.fr with ESMTPA id w6MwrHBLldcyQw6MwrhVIY; Sun, 14 Apr 2024 22:22:34 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1713126154; bh=KkvTV2uGL6FKiAI+4rZ2c43iMm1IAPg5puJ5Da/2gmA=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=VGoWBVEbO8e8ObnKMMAiI23HFBK4+2cTBNwTBBv5Kpy7FfPiND7324CbPJ81PY2ih q2KU1txjPuXceK0t39bR64biSeI44UGoWoV30lcr786MM+3bZ2dlmBY4wasbn7omlq /WolJSFN90P2J2pueY0OG48fPgvLY5b4Sjfo/sRTk+gFk61kYFWUS62urj9Bc7DVGw SGLfX9M+VMF8LAre/8fxVVjB6eBrLJwno8kUrrvx9Rm9jb51iyPvtRMBOAHTBiWBVq 4WrVnl21vt2XY/b4zxCS7NuYkGeMZnLDqQCZly4H4JHV8WJVBktSL6owB+iojK3Ryp PZyo6shu+hPVw== X-ME-Helo: [192.168.1.18] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 14 Apr 2024 22:22:34 +0200 X-ME-IP: 86.243.17.157 Message-ID: Date: Sun, 14 Apr 2024 22:22:30 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] drm/panel: Add driver for EDO RM69380 OLED panel To: david@mainlining.org Cc: airlied@gmail.com, conor+dt@kernel.org, daniel@ffwll.ch, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, konradybcio@kernel.org, krzk+dt@kernel.org, linux-kernel@vger.kernel.org, maarten.lankhorst@linux.intel.com, marijn.suijten@somainline.org, mripard@kernel.org, neil.armstrong@linaro.org, quic_jesszhan@quicinc.com, robh@kernel.org, sam@ravnborg.org, tzimmermann@suse.de, ~postmarketos/upstreaming@lists.sr.ht References: <20240414-raydium-rm69380-driver-v1-0-5e86ba2490b5@mainlining.org> <20240414-raydium-rm69380-driver-v1-2-5e86ba2490b5@mainlining.org> Content-Language: en-MW From: Christophe JAILLET In-Reply-To: <20240414-raydium-rm69380-driver-v1-2-5e86ba2490b5@mainlining.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 14/04/2024 à 17:22, David Wronek a écrit : > Add support for the 2560x1600@90Hz OLED panel by EDO bundled with a > Raydium RM69380 controller, as found on the Lenovo Xiaoxin Pad Pro 2021. > > Signed-off-by: David Wronek > --- > drivers/gpu/drm/panel/Kconfig | 14 + > drivers/gpu/drm/panel/Makefile | 1 + > drivers/gpu/drm/panel/panel-raydium-rm69380.c | 378 ++++++++++++++++++++++++++ > 3 files changed, 393 insertions(+) > > diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig > index 154f5bf82980..84cbd838f57e 100644 > --- a/drivers/gpu/drm/panel/Kconfig > +++ b/drivers/gpu/drm/panel/Kconfig > @@ -542,6 +542,20 @@ config DRM_PANEL_RAYDIUM_RM692E5 > Say Y here if you want to enable support for Raydium RM692E5-based > display panels, such as the one found in the Fairphone 5 smartphone. > > +config DRM_PANEL_RAYDIUM_RM69380 > + tristate "Raydium RM69380-based DSI panel" > + depends on BACKLIGHT_CLASS_DEVICE > + depends on DRM_DISPLAY_DP_HELPER > + depends on DRM_DISPLAY_HELPER > + depends on DRM_MIPI_DSI > + depends on OF > + help > + Say Y here if you want to enable support for Raydium RM69380-based > + display panels. > + > + This panel controller can be found in the Lenovo Xiaoxin Pad Pro 2021 > + in combiantion with an EDO OLED panel. combination? > + > config DRM_PANEL_RONBO_RB070D30 > tristate "Ronbo Electronics RB070D30 panel" > depends on OF