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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 996C6C433FE for ; Fri, 7 Jan 2022 12:22:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346935AbiAGMWS (ORCPT ); Fri, 7 Jan 2022 07:22:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238207AbiAGMWQ (ORCPT ); Fri, 7 Jan 2022 07:22:16 -0500 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A5EBC061201 for ; Fri, 7 Jan 2022 04:22:16 -0800 (PST) Received: by mail-pg1-x535.google.com with SMTP id s1so5323515pga.5 for ; Fri, 07 Jan 2022 04:22:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=HMmCz2nrNteWHuUAqnxJ8pz2W732iiTx6bH2rWc5HN0=; b=a3bvd9wF9CSwvbCgEYo/IY5NW5aWN/h3U1vPMwFLF4gJyi8Z8jfN5wgn+MzKF/Djkt y57eVWxqNiEZzzy2eeyX/IWV2EXvK+/oHJfv/z6ieh7n1h98/GVD/ccMtojVtIizC2G0 h3eCz6PfzEkIhCDiV4yEoilfarnguxZ9jsHcCdhzlv7LU/rDX/Ec+ArSJ+bWdbrCIksR Ss4EqSWbIVBFTTe36J2BFoBpAyGh9EopEBJxnrmm1H7cKsiB0V+laSG3IpsEuQ86PwvT OYECUnGo4tnSKgYRm7x8SOXm+vv67V950qPNEC+UALzehAZGnP4UCCQfO0W6a4BMbYZS 0q+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=HMmCz2nrNteWHuUAqnxJ8pz2W732iiTx6bH2rWc5HN0=; b=WQ2CHy+O9KeouQNK607qMI0Bk466ZvKmGH1J6VQggWddwJX/1/SzaBPlG+wLTwLoTy gyK+PNDLQCS7UZV8TLQiQoq4i7aEugyszBisSZvxsyRHfv/g6ZD7pzfpNByPwecj17lF HFa4cr2LIk4FRY0mn3NmU/t8RBdNcex6jq5FGUi2kjxiIHTpYQ+JZa8zpZp0l5BEK8mE /RgQxAntBOO2Ncp6SgfjozlC/JXKrKSIlFTybh5R3Xt/1OoKVZdC21fVPDZQIPUXxbNe 3SOlk8PFxn/b0CIjuLFeeu+HcmFYETKt7/USZZNDP+/lgA7s2Xt7P/FPh2Sd9otodMSd XF+w== X-Gm-Message-State: AOAM533JaR2/YnSeyXfD2cx42GtG57XsHA19m8wv5GOgrwXATfB+7u7T tTk5s6QvregdpQSmVLNUw5XrKw== X-Google-Smtp-Source: ABdhPJwjy+fVLNFfSkMw34LXtT+FGxzT9q/+j95y507Ds6eEMqKU1U9UQ8aedohBXMCPVexcvKHgag== X-Received: by 2002:a63:7202:: with SMTP id n2mr16889788pgc.254.1641558135675; Fri, 07 Jan 2022 04:22:15 -0800 (PST) Received: from ubuntu.huaqin.com ([101.78.151.213]) by smtp.gmail.com with ESMTPSA id o11sm6013071pfu.150.2022.01.07.04.22.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jan 2022 04:22:15 -0800 (PST) From: xiazhengqiao To: thierry.reding@gmail.com, sam@ravnborg.org, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: hsinyi@chromium.org, xiazhengqiao Subject: [PATCH v2 1/2] drm/panel: Add inx Himax8279d MIPI-DSI LCD panel driver Date: Fri, 7 Jan 2022 20:22:07 +0800 Message-Id: <20220107122208.3893-1-xiazhengqiao@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add STARRY 2081101QFH032011-53G 10.1" WUXGA TFT LCD panel Signed-off-by: xiazhengqiao Tested-by: Hsin-Yi Wang --- drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + .../gpu/drm/panel/panel-innolux-himax8279d.c | 515 ++++++++++++++++++ 3 files changed, 525 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-innolux-himax8279d.c diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index cfc8d644cedf..9458262ef1dd 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -167,6 +167,15 @@ config DRM_PANEL_INNOLUX_EJ030NA 320x480 3.0" panel as found in the RS97 V2.1, RG300(non-ips) and LDK handheld gaming consoles. +config DRM_PANEL_INNOLUX_HIMAX8279D + tristate "INX 2081101qfh032011-53g 1200x1920 video panel" + depends on OF + depends on DRM_MIPI_DSI + depends on BACKLIGHT_CLASS_DEVICE + help + Say Y here if you want to support for inx 2081101qfh032011-53g + 1200x1920 video panel. + config DRM_PANEL_INNOLUX_P079ZCA tristate "Innolux P079ZCA panel" depends on OF diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile index bca4cc1f2715..ec94fd5700fc 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -15,6 +15,7 @@ obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) += panel-ilitek-ili9322.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9341) += panel-ilitek-ili9341.o obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9881C) += panel-ilitek-ili9881c.o obj-$(CONFIG_DRM_PANEL_INNOLUX_EJ030NA) += panel-innolux-ej030na.o +obj-$(CONFIG_DRM_PANEL_INNOLUX_HIMAX8279D) += panel-innolux-himax8279d.o obj-$(CONFIG_DRM_PANEL_INNOLUX_P079ZCA) += panel-innolux-p079zca.o obj-$(CONFIG_DRM_PANEL_JDI_LT070ME05000) += panel-jdi-lt070me05000.o obj-$(CONFIG_DRM_PANEL_KHADAS_TS050) += panel-khadas-ts050.o diff --git a/drivers/gpu/drm/panel/panel-innolux-himax8279d.c b/drivers/gpu/drm/panel/panel-innolux-himax8279d.c new file mode 100644 index 000000000000..6840449548e4 --- /dev/null +++ b/drivers/gpu/drm/panel/panel-innolux-himax8279d.c @@ -0,0 +1,515 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2021, Huaqin Telecom Technology Co., Ltd + * Author: Zhengqiao Xia + */ + +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include