Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1715863lqp; Mon, 15 Apr 2024 15:11:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWDkfDwZrUbyTaHnMeNqGiYDJLAB9t/6kLUe7PVzDGj29wV/azKATPHoTz5/jthUzma/xmqS3U8ViIr7mClsr8q026fLDF7gstPQye0uA== X-Google-Smtp-Source: AGHT+IHaLiohNHhekVbd4/5sliVKR+RKEDRlnAF3CpMJ65Ma0AehOzygvLabgPeSjW4T4O2WVzp9 X-Received: by 2002:a17:906:1355:b0:a52:2ca5:f701 with SMTP id x21-20020a170906135500b00a522ca5f701mr6122707ejb.48.1713219082543; Mon, 15 Apr 2024 15:11:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713219082; cv=pass; d=google.com; s=arc-20160816; b=sqHl74WpmrYTWqqGoaPtCWrbUyUjqqIJfrX8u5ZSU0bXL+huUwi4SdzLysoJ38s7yw ETz4CcB+mVW/Ry7CxSZPOxkdTtmiMrBd2CfgeLxLk+112VvmPgApd7Yjj4UUfPBwy+S3 XUX0jLLpE1wznnS7SX9Wahjv/bbunKApLiNHdMRTRiYRHZpsatH0Y+2ZHwj0BcTAwVwH 96oEm/gNRCtt/RklZozM4miMwS8UR4rKnGXjPDsCGTBVx/Yhog2ttqfevi57mecXccuc Axu3Oss9DW5c2ZdIxHf/vPwk28yfZ63yEqU1wjzQy+VWUwX+Zpt1CnQDfjJgiWHvx/WY 82kA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=OBR7VcUe1f0cOP2L98szrpXe7yVE6MtTgThd4EGNycU=; fh=pbrDKFzY9tCsmOKH8Wy4KaBuXRoAkSDn/mon0fsRmCE=; b=I+51Rhmk2dd82iMBliZQ/Yf5Culdy+uVdc2wSnjEHPFIfAV9nuJlcZuUFZsWvPlEWE 89EbIbfhgxuAJjKMZF8JtgkW5dZ4IXImrq6EM0AK8JWzo+BzzWI3QWKkyRbc9Xb9dpVQ VW+LoYlDwz+pRyp+XOFR/xi4V0NojdSHhy8IPKN/IkjYqSSD+WDX1tQVnl6FOJ/4JYbw 8UbGZc/9c+hZiimW4k6hn1ZnSG8ObtLciloVpskJldIKchFoPfiSrgSCD+EAosuxCGZh V5h9kxyTnRVs4yYlRrv0yPMK9dPnTcFlWzvbE2IfcH6GqTx4aE7NcUHoumdZs9aWHxbe FO6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mainlining.org header.s=psm header.b=egRgqYkv; 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-145511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145511-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mainlining.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u16-20020a170906655000b00a52122ea69bsi4796699ejn.147.2024.04.15.15.11.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 15:11:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@mainlining.org header.s=psm header.b=egRgqYkv; 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-145511-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145511-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 am.mirrors.kernel.org (Postfix) with ESMTPS id AEB721F23271 for ; Mon, 15 Apr 2024 16:11:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 178FF811FE; Mon, 15 Apr 2024 16:11:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="egRgqYkv" 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 4402A7FBA4; Mon, 15 Apr 2024 16:11:18 +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=1713197480; cv=none; b=QXteBrHKH61Wvw+tWduFj/+NohYgIHM1vZsdprOy9rJB2X4F3nqCRB6HYtPQIPwxSEDCNOUXa7VSIDV6Vuvk7gXFvyiGvi8hmaUOJxbd+CAAXzlcqmV5c87WmqCo1Y5ZAuu9KEilF3vgF2ixLRj6+hVft0KnRg3xXN8xMfn2LvQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713197480; c=relaxed/simple; bh=7TAWvvbWPmIFcyAcYyiVLwTTiZ75LIk1+1y8ww3eOB8=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=GTsLwr2XMSJkFAW9ZnojETTfS9Id5CkYxE71toD4N3ONnSUFGqMZv9JRrOiEgAJ89Ky0bvhWcJTRjJli3vu00TPqOmC8gp8+UsToSc5UAOfVruZLT5IEbJX6pzg9YFSkDrnFFbPpmR/A3RY/+jf6XfGO9ZOwWi1Ifz8noue6P4E= 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=egRgqYkv; 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 david-ryuzu.localdomain (ipbcc3a836.dynamic.kabel-deutschland.de [188.195.168.54]) by mail.mainlining.org (Postfix) with ESMTPSA id 4B303E2090; Mon, 15 Apr 2024 16:11:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mainlining.org; s=psm; t=1713197468; 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; bh=OBR7VcUe1f0cOP2L98szrpXe7yVE6MtTgThd4EGNycU=; b=egRgqYkvp2EK+Ga5b183eMU1Abzsm3dV76T8jNFBriPJSgWZT5g/6mp9hITB+Tl/C8QK+2 8UHXKG4WO4+mpHuyRhdyuY/18yGP3b5Y2qL/ibCQ+yoRGmZ0CwSLKPzvTt3EC9Ptq6zy36 KFfPdwJHCIxRocTtOxCTkKO8+pJtWMISw0Xg1piDE3vT3loZ0qBxzqzHX+MyH3WRYMwVP8 /6WZQPf46P+Y1FgjHKFBx+NQ6FKBU9e2xLIRI8hG2NXGzOI4YgrLsnLARjuP6+KaNYFXcz Y88FRivrr69WjkCTmGetIzIOtbWh4ORtpyrxHnV2hduHT3of7ngFciD+xg16Uw== From: David Wronek Subject: [PATCH v2 0/2] Add driver for Raydium RM69380-based DSI panels Date: Mon, 15 Apr 2024 18:10:40 +0200 Message-Id: <20240415-raydium-rm69380-driver-v2-0-524216461306@mainlining.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAIBRHWYC/4WNQQ6CMBBFr0Jm7ZhSC4Ir72FYFJnCJNKaqTYSw t2tXMDle8l/f4VIwhThUqwglDhy8Bn0oYD7ZP1IyENm0EobZUqDYpeB3zPKXLenRuEgnEjQnJ3 Wfe20cQR5/BRy/NnDty7zxPEVZNl/Uvmzf5OpRIUVNXVvtWlVX11ny/7Bnv14DDJCt23bF4esW ELBAAAA To: Neil Armstrong , Jessica Zhang , Sam Ravnborg , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marijn Suijten , Konrad Dybcio Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, David Wronek X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713197467; l=1472; i=david@mainlining.org; s=20240121; h=from:subject:message-id; bh=7TAWvvbWPmIFcyAcYyiVLwTTiZ75LIk1+1y8ww3eOB8=; b=awI9NBwRIBf8sY1Xz6NcvP7ngWC4nYMHdZmh0D1d6Z/1sYVBvLNXBTqDJI8RxTKVR4re6RZDb lu5WC2392kKDP+rUZ2nKeurJn8afs7cnYyNfe7W81QRa1zWGUhFTwa7 X-Developer-Key: i=david@mainlining.org; a=ed25519; pk=PJIYyFK3VrK6x+9W6ih8IGSJ5dxRXHiYay+gG1qQzqs= This patch adds support the 2560x1600@90Hz dual DSI command mode panel by EDO in combination with a Raydium RM69380 driver IC. This driver IC can be found in the following devices: * Lenovo Xiaoxin Pad Pro 2021 (TB-J716F) with EDO panel * Lenovo Tab P11 Pro (TB-J706F) with EDO panel * Robo & Kala 2-in-1 Laptop with Sharp panel Signed-off-by: David Wronek --- Changes in v2: - Fixed typo in Kconfig - Removed ctx->prepared = true; in prepare function - Switched to drm_connector_helper_get_modes_fixed in get_modes function - Changed dev_notice() to dev_dbg() - Add description for compatible and reset-gpio in the dt-binding - Always require 'ports' node in the dt-binding regardless of compatible - Link to v1: https://lore.kernel.org/r/20240414-raydium-rm69380-driver-v1-0-5e86ba2490b5@mainlining.org --- David Wronek (2): dt-bindings: display: panel: Add Raydium RM69380 drm/panel: Add driver for EDO RM69380 OLED panel .../bindings/display/panel/raydium,rm69380.yaml | 91 +++++ drivers/gpu/drm/panel/Kconfig | 14 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-raydium-rm69380.c | 366 +++++++++++++++++++++ 4 files changed, 472 insertions(+) --- base-commit: 6bd343537461b57f3efe5dfc5fc193a232dfef1e change-id: 20240414-raydium-rm69380-driver-47f22b6f24fe Best regards, -- David Wronek