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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A1CBDC77B72 for ; Thu, 20 Apr 2023 16:17:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3EBD8863B3; Thu, 20 Apr 2023 18:17:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="n5sozC5B"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 43E7C863AE; Thu, 20 Apr 2023 18:17:50 +0200 (CEST) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B23F686351 for ; Thu, 20 Apr 2023 18:17:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=clamor95@gmail.com Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-2fa36231b1cso473329f8f.2 for ; Thu, 20 Apr 2023 09:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682007467; x=1684599467; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Z+kDFH9PH9mxE8oUXFwafs0tYw3QJE8dWojyzXf0ocQ=; b=n5sozC5BCVEe/DACLuQ44LcAnBt9nifDZbNPihzH6rzJZIFiENM/cB09FcQvNUBHbv Qzcv/86JV+gipG+IZQO/0K1qhzGhpOIWiMVe8IC0Xgb9BRR+oc52braFB9OfxQ1gOMoU EEQ8Y53OZqRP2/R9sURKtXr6lKSJi6GCucW06TVtoWT8Odh7OPsDbyIu6aGD8WwBPg4A j75WPq1e6R6oUoRfBVXC+wgyPIWmIHyJ2fJnSX2mZByAYIMc9BN2XPHd0yYBZGJHtzh5 a6No8/EXeCiEqVtIIp7QlnwwuajEVm2wUYlw8wlE8Ys68i2casCg712fEuD2e+K93+Wy 4RDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682007467; x=1684599467; 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=Z+kDFH9PH9mxE8oUXFwafs0tYw3QJE8dWojyzXf0ocQ=; b=fuOru8Eui82mnIKAcCH+I7V5axq6PfmxRKQJtIyXbkDQDnZsqz9lFERucD0rMog7+P w06YdYKAO4g0r5FA5tCvlRUqVqCaonXKZLKlg2TyHSJEWqkcnvUHhLn7x6pr5nassyBN R/03f+G4yW3D0ODz1NNUpuNx14IvkeYI1UNHnrLQg4KPufF29XNC7+4l2yjgTu4GniE3 ig+Gexi/n58ARIjvhhQECYNPPvkLL6tLIbgkeGMe7AE7Me/ztjiNIlVZHTvAmQLIq/iw hIqyhXpKUStzMcsT7dbKXlJbQfAXFQHgjuTtQPoMLggyvaA0U+9h6zsD/mMj4uxePYxt wDbw== X-Gm-Message-State: AAQBX9drnP7EB55WZxpHeNSAQdWlB+onmtRWIq+8DoYivChAJTsYQ4cB tXrLYi4eUarwrP7M/QCljZE= X-Google-Smtp-Source: AKy350by25AnwPDGqUvByy7rbsrGYx153uEYpEPhFdylSxk0gEauV/Nvk1CHBF5IYqCn9RfnKA1x8w== X-Received: by 2002:adf:e683:0:b0:2f9:cee4:b8e with SMTP id r3-20020adfe683000000b002f9cee40b8emr1414506wrm.68.1682007466999; Thu, 20 Apr 2023 09:17:46 -0700 (PDT) Received: from xeon.. ([188.163.112.59]) by smtp.gmail.com with ESMTPSA id q9-20020a1ce909000000b003f177c3672dsm5640972wmc.29.2023.04.20.09.17.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 09:17:46 -0700 (PDT) From: Svyatoslav Ryhel To: Anatolij Gustschin , Simon Glass , Svyatoslav Ryhel Cc: u-boot@lists.denx.de Subject: [PATCH v2 0/6] Add video drivers for endeavoru and p880/p895 Date: Thu, 20 Apr 2023 19:17:18 +0300 Message-Id: <20230420161724.24111-1-clamor95@gmail.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This patchset contains mostly generic drivers used by endeavoru and p895/p880 (which are currently in the process of merging). Drivers do not contain any device specific parts and mostly can be used by any device with supported hardware. LG P880\P895 related drivers: - lm3533 backlight driver implements only backlight part for bank A. Unfortunately, I can not test and set up bank B since my device does not use it. - Solomon ssd2825 bridge is fully implemented for 3wire-9bit mode. It uses SPI interface and is wrapped into panel DM for wider compatibility. - 2 DSI panels which use Renesas R61307 and R69328 controllers are fully implemented as well. HTC One X (endeavoru) related drivers: - backlight driver which uses a PWM source provided by the display controller. - endeavoru uses panels made by 3 different vendors but the command sequence seems to be generally the same. Endeavoru panel driver is set to support all 3 variants of this panel. --- Changes from v1: - used lower-case hex for command sequences - ssd2825 switched to dm_spi_xfer - used log_* instead of printf - tweaked lm3533 help description --- Svyatoslav Ryhel (6): video: add lm3533 backlight driver video: bridge: add Solomon SSD2825 DSI/LVDS driver video: panel: add Renesas R61307 MIPI DSI panel driver video: panel: add Renesas R69328 MIPI DSI panel driver video: tegra: add DC based PWM backlight driver video: panel: add generic endeavoru panel drivers/video/Kconfig | 38 ++ drivers/video/Makefile | 4 + drivers/video/bridge/Kconfig | 7 + drivers/video/bridge/Makefile | 1 + drivers/video/bridge/ssd2825.c | 520 ++++++++++++++++++++ drivers/video/endeavoru-panel.c | 252 ++++++++++ drivers/video/lm3533_backlight.c | 134 +++++ drivers/video/renesas-r61307.c | 296 +++++++++++ drivers/video/renesas-r69328.c | 232 +++++++++ drivers/video/tegra20/Kconfig | 7 + drivers/video/tegra20/Makefile | 1 + drivers/video/tegra20/tegra-pwm-backlight.c | 155 ++++++ 12 files changed, 1647 insertions(+) create mode 100644 drivers/video/bridge/ssd2825.c create mode 100644 drivers/video/endeavoru-panel.c create mode 100644 drivers/video/lm3533_backlight.c create mode 100644 drivers/video/renesas-r61307.c create mode 100644 drivers/video/renesas-r69328.c create mode 100644 drivers/video/tegra20/tegra-pwm-backlight.c -- 2.37.2