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 31961C77B73 for ; Wed, 19 Apr 2023 19:16:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AF10E862A7; Wed, 19 Apr 2023 21:16:50 +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="DQ7lD8fn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5EEF4862AC; Wed, 19 Apr 2023 21:16:48 +0200 (CEST) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (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 9BD8385E92 for ; Wed, 19 Apr 2023 21:16:44 +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-ej1-x62c.google.com with SMTP id fy21so872817ejb.9 for ; Wed, 19 Apr 2023 12:16:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681931804; x=1684523804; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AEtM9SItTs+RckkSRaJqcDuXL9nwh08SzLJS6Og3CVI=; b=DQ7lD8fnFj9Gub4lR0PUUszMVVzFX16BDxqm54KlBQ7wOLuelRu8VwOYyHmsK9meeG 0U6c30rA9oeQfln6aYneJu0FSmLgkoPeB9/j8D1dDWy+TEE/ZoJPlFvNSKEvMTfMyqvP 6Cej9lzx1+iMdBEO3WGRADfQ3anwmDa11aqISe1FslwTpu/U0Hd/x0AM4lE9xqs9Pahk xDtS3rdS66+nhUQAqOOiyUYYxAddDxn+MDdn5zzHpN/zPRv8B9Fpwp3A80aco46S9vk4 Y4Y7uvfNdb3UfMz/ik4SAS426I7xa97qqnflTU4Gi3vXP6CkieldsBeikEhU4uJpSgct +ygg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681931804; x=1684523804; 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=AEtM9SItTs+RckkSRaJqcDuXL9nwh08SzLJS6Og3CVI=; b=P+fwJsyH7xue5FzkYJAjWiKmvAMKZLqWLy1qK7FA83LO9TpmPkITC/sdPWbLAU0L6k Abz+N6M/GAUboqIVA+buqiZ/pl5KI//1QSk+oThxlKMeKezeI6KWELD7kJr8cs04EsWK V2l395GKk5qxJF06rz233OXh9SoLQic/3hLkATh4poi1v4LXMUqPiOxwElCsG+IHx2UX D2f5Ohkr7C48kd7OLKk3rSAkOAEnkNkQH0m0pXuELT/KD+gK3zObCSmWCdBf9YVzLrI7 dhkhmtLCptInSu4YvU3pltwpvDUb7yJj5Ryw19OAp8jref5I38G7XS8wTT7us+f3sOEp e8gw== X-Gm-Message-State: AAQBX9etxpPRKpnGCWOGLPSKdE4Ag0s9tL6js+IMDyDs/k3TXA7lAWMw 9+9mAghA/Q6BvcY/B8hAzSrFiC2ueG8weA== X-Google-Smtp-Source: AKy350aD2UqKsQNL0+QqCFyM80O3aQOLZGyIc1+QfGR9RAB7OQXldIMEQqylwOar/fSYc2/YORtatw== X-Received: by 2002:a17:907:d1d:b0:94f:3eec:f6b5 with SMTP id gn29-20020a1709070d1d00b0094f3eecf6b5mr14822662ejc.57.1681931803851; Wed, 19 Apr 2023 12:16:43 -0700 (PDT) Received: from xeon.. ([188.163.112.59]) by smtp.gmail.com with ESMTPSA id tk9-20020a170907c28900b0094f5179540fsm5448465ejc.83.2023.04.19.12.16.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Apr 2023 12:16:42 -0700 (PDT) From: Svyatoslav Ryhel To: Anatolij Gustschin , Svyatoslav Ryhel Cc: u-boot@lists.denx.de Subject: [PATCH v1 0/6] Add video drivers for endeavoru and p880/p895 Date: Wed, 19 Apr 2023 22:16:24 +0300 Message-Id: <20230419191630.10112-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. 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 | 37 ++ drivers/video/Makefile | 4 + drivers/video/bridge/Kconfig | 7 + drivers/video/bridge/Makefile | 1 + drivers/video/bridge/ssd2825.c | 523 ++++++++++++++++++++ drivers/video/endeavoru-panel.c | 252 ++++++++++ drivers/video/lm3533_backlight.c | 135 +++++ 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, 1650 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