Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1231571lqp; Sun, 14 Apr 2024 22:37:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWNwpmIpnJH6+5vXBq0LkD9v1NsErd6grsv0UUj4dpxBWqd8/57dM1ppd5IUqyDGouPY83U3GILk5X1ilViDvh8YMvfO+Yx+Kwl+sS4bg== X-Google-Smtp-Source: AGHT+IEjWtiruzEDp41uO+0gIzAr/GIK+9oJrRGwZHLMRtMWkkeLzINuj19GlQsWtfiKM0f/D2pZ X-Received: by 2002:a05:6a20:c886:b0:1a9:f2a5:6838 with SMTP id hb6-20020a056a20c88600b001a9f2a56838mr2552745pzb.18.1713159436395; Sun, 14 Apr 2024 22:37:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713159436; cv=pass; d=google.com; s=arc-20160816; b=W/+NbFz1625iNgo14KE8Sr9rwVlBScl4rKjEQociMI06OX0WaNtJCcU2hP3QSAQWVK /K2d92o70xGzQoDvPfUE+21MoWAbZXEZdNighpleNnnTlPe7pWqtWsrpnsARPqJBrBDN sp9qvXUFTrhdP79/OKdGA5RgZLKyOw0xzhPg69ykWxeyrstFGLvUkVAw0aanh+4lwP1C fk96/joWyAGJZCkJY1toklu5sL4y9KRlJfvQscPme+vmXh9t3ghLd6uGUiNHDCpeqUHi oEDtBoEfezvSxp3MGR+ajzEBeQxBQVxW1a4nZtJf9Pet+meqbdFZX9UMoemXDgM6XuYW hiCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:references:in-reply-to:subject :cc:to:from:date:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=h7W3LbTdue4pSYiwFamrqkStaJfMW6q25cCT+vst61s=; fh=w3+kAqYditglzsJTj6YFKDGdsBLHOlTpL92sLor+cg4=; b=yzkkWiC0UaycFkU6voW7d9y0SyLDS1p3B/Dg7WTCSwe3NE57fNonZ4mwdcYjzUroqp R8uTjD01XgP3gfONd6nmEDQhr0smTP3F4ruFnlDR9vQk57uW+ZueRqX6g1lXfecSZSno 4vdnoLMpaQ0StZRsuIcF5XGk90zfqqTeJNaHCAgk8kpVNhQpjb9IvA+r4w5GcKRrgYay l0f9DEez9FomdepQfb6I5UG39zu995w0odNTEjkJoQzkvwKPTQZlKU2TB5mS/ZTiln/e 9qJBf+DZGsymknqRfA+SOScu5/oLPhx8aiqYUOKuYn837QUvnBuCkIFfFfHvNptBfWJO nsDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mainlining.org header.s=psm header.b=tEkTfund; arc=pass (i=1 spf=pass spfdomain=mainlining.org dkim=pass dkdomain=mainlining.org dmarc=pass fromdomain=mainlining.org); spf=pass (google.com: domain of linux-kernel+bounces-144546-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144546-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mainlining.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q12-20020a17090a2dcc00b002a609d46f35si8096030pjm.185.2024.04.14.22.37.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Apr 2024 22:37:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144546-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@mainlining.org header.s=psm header.b=tEkTfund; arc=pass (i=1 spf=pass spfdomain=mainlining.org dkim=pass dkdomain=mainlining.org dmarc=pass fromdomain=mainlining.org); spf=pass (google.com: domain of linux-kernel+bounces-144546-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144546-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mainlining.org 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 1B92A281C09 for ; Mon, 15 Apr 2024 05:37:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8FA6E6139; Mon, 15 Apr 2024 05:37:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="tEkTfund" Received: from mail.mainlining.org (mainlining.org [94.241.141.152]) (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 0DF7328F5; Mon, 15 Apr 2024 05:37:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.241.141.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713159429; cv=none; b=S69UDQPgBcP4uEsAzBhvnid/IzPKEr+7AtgjVQl84JagKOJgg8mB4LcetKBnERgyhiyi5lMOp42YBlKFxo1MxFD1Ade2pm/tFiOXld7W4GEdsZg7YXj+Zas460fHFbx1iwb8fEZg6K4h8Rhveuk5UQbdViouwPQOEg1hqE00aSw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713159429; c=relaxed/simple; bh=aXvS0yWlwJ12TqixZZEyDBq8aMauFTeamtAcebGj+3s=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=LCzfdLW74bBUNG16IdF4A2ZhArZVfqSD3f+lVF3gvnhp/fUJt8xQR1B793i1eO3PZNS/4tBpvnBk9E/cALKFJJeLNZYCOq9yf5Z1x9a+Z8akETnYGD9OyuX3Rs33pGBqH6smNEWkV2/98NHKUHbCizolr9etvIlZ1u9CtWkSyPU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=tEkTfund; arc=none smtp.client-ip=94.241.141.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Received: from localhost (docker-mailserver-web-1.docker-mailserver_default [172.18.0.7]) by mail.mainlining.org (Postfix) with ESMTPSA id EB9A1E203B; Mon, 15 Apr 2024 05:37:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mainlining.org; s=psm; t=1713159423; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h7W3LbTdue4pSYiwFamrqkStaJfMW6q25cCT+vst61s=; b=tEkTfund5YDbUgpUAoub7p15puwDZJOfiQb+OQ6sf8BKo95YGNJ9IMXL311zprn+s5CnKe nBZEGphrKP8w+Aqz2BlQQtm0w/qfAo/1R0kNLqIx63Wnzz7PjqUprovX75Dk55ax8RSdGS vWnaSrseaghF7O6PnXptFFFXEdnye8gbJ8mLkxfAPiQz3VKAFdP+qGz3FYuOgJdcNc4oVP aG+mS84Xtgmp5VZMzPV/TbPRIdUAUI0zMhIY+mXlFBxGKVsT8sax9F7EvAGEtaZo7Aku9C ThvvdA11LL6wQBr4UcjBd+CkI9P8byPJhoswaURD9cTnsINzP2Bfox+y6tltEQ== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Mon, 15 Apr 2024 07:37:02 +0200 From: david@mainlining.org To: Christophe JAILLET 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 Subject: Re: [PATCH 2/2] drm/panel: Add driver for EDO RM69380 OLED panel In-Reply-To: References: <20240414-raydium-rm69380-driver-v1-0-5e86ba2490b5@mainlining.org> <20240414-raydium-rm69380-driver-v1-2-5e86ba2490b5@mainlining.org> Message-ID: <7529f14b292c7173d4a60a7dca8af92b@mainlining.org> X-Sender: david@mainlining.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit W dniu 2024-04-14 22:22, Christophe JAILLET napisał(a): > 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? > Yes, this is just one of the examples where this driver IC can be found. It can also be used with panels other than those from EDO. >> + >> config DRM_PANEL_RONBO_RB070D30 >> tristate "Ronbo Electronics RB070D30 panel" >> depends on OF Best regards, David Wronek