Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp4960919pxb; Sun, 13 Feb 2022 03:00:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzg/HbdI4ey5jrmSuflh4YPshUu9+8OWwgAoWtBhub8Q8oFpnu/Oy5HHnBTTNZ3ws7bbbc5 X-Received: by 2002:a17:90b:33ca:: with SMTP id lk10mr9064899pjb.203.1644750016473; Sun, 13 Feb 2022 03:00:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644750016; cv=none; d=google.com; s=arc-20160816; b=JSQdtm9iqP3xcfgW/8IbQEi8oHKNA7YFRpWc+WBAd9Piz+FLXjE6LXMfUr6ACpQ6cQ aqxPlJh1BlCCk4aYNN5KiRJVO0f7wPx4Vq7HHzSMLYBsVb8zL7cbYysawsPZCVTb7xqr A9Qq+y+KQTbp/dAISluq9vm9yOZ1YNyUMSq9OcMNXwqHx+WkZLFKJKhF1DcjS09prKy6 erGFxKCOTnN4pzhIMLsZKod1ofOIYXcK2PjVFHnTcOgDSDRQSl+O5KynVXrCr2Iq6bx7 /MBVeHwu8I/fsFk3gHb5GaCW1KywmkK7QE0IPZQOBVTI1rzmQZizUguGe+pRddulAl2z KfiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=aE5G7A16Fr/C3cQAJz2y0v3OiNiT7Sz1f+H737BtdnM=; b=KCbUoRI3f95r3IH3YnKyVhTliXZTpw/3jIjIGtzyNQSyB61YHRUOFmLqEsXmeyAU1X LY/dCmkGwjdtaDmYSGfFZoVnijRJ77ztTfFuK0/r5vtT0F57zvkWxOnagsvs4cjF53h4 Cmlw5+Y1f/lfHDHzU+lP8ry/pqhUJVrtqCPoobj4Ek3Zhpxyr5ppzRrV5NwbzWLwZwFV dPbRp3ZZLwyiZcZJ0qt2RJ79csGOSXQJnzLNxUSkA9Tg1lWbs/abvnmqZfEipNaD8fdZ L+xs3G4a0Gz2FC/i1/KfTHoMD4LtP1ehAjc2Ynyq8yrWV4i0/cB/nmgEDOf3rWhbtUD6 wf6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hAj1tqYT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g4si9214944pll.160.2022.02.13.02.59.52; Sun, 13 Feb 2022 03:00:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hAj1tqYT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233936AbiBMGcL (ORCPT + 99 others); Sun, 13 Feb 2022 01:32:11 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:52052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbiBMGcK (ORCPT ); Sun, 13 Feb 2022 01:32:10 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C84A33C for ; Sat, 12 Feb 2022 22:32:04 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id p6so7860414plf.10 for ; Sat, 12 Feb 2022 22:32:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=aE5G7A16Fr/C3cQAJz2y0v3OiNiT7Sz1f+H737BtdnM=; b=hAj1tqYTuEQIecgsqm12hSExdpPmhvqhsxiQ9FUTjYircQ5Pu8Ntv1YUf7/B+kqh2P eGfP+JEu7H8C8oC9RVJbzfVaAHOxVxz36BDVvKNUgnangzPzS3fT7AZZnk9AD53r6U3Z 2ggQRhFpJK9QPX2Gaa4xvbGQj2QcTnHTT5iwI= 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:mime-version :content-transfer-encoding; bh=aE5G7A16Fr/C3cQAJz2y0v3OiNiT7Sz1f+H737BtdnM=; b=n0312WN/2gFoXUTgla1V1mQjphn7e31+mlOidqGnJxeGa8BYUadrh+/a+lyvJUJBna P1cHG8ouJyP2KVWGlGkhq//n+/vemjXTldRgWtWrETLhSB0koIjgWOLLFQV9/A/yi5kJ IyiarutzJfTFQW/IOdr+7gArWOakLpPFd/9PNhaENjs7af2/g7OFVWEpdMfr3995gifH UxgyWyJsSQ41kA2uQtOLIvv6yrceYD8JYf3RWYC7GB6Is1ESA6zNkICUhzthgi5DIGlb ezIM41l+4eCBqLcv7FJ+wl/2SNiuOc0nCEzOJpX8X1fb6sHW0ComfxLKldrfzJWT9rQJ Kv4Q== X-Gm-Message-State: AOAM5328yZDShHOPRtEBoqu9DqVR5qgYRlWwGPBEAtCWc8ebs/BltDcE W+FlIrJkn0DzxC589ceHB3fYQAukhkd7AQ== X-Received: by 2002:a17:90b:3845:: with SMTP id nl5mr8209996pjb.143.1644733923654; Sat, 12 Feb 2022 22:32:03 -0800 (PST) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:3653:bf18:8571:5f26]) by smtp.gmail.com with ESMTPSA id q2sm34170025pfj.94.2022.02.12.22.32.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Feb 2022 22:32:02 -0800 (PST) From: Hsin-Yi Wang To: Sam Ravnborg , Thierry Reding Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, David Airlie , Daniel Vetter , xiazhengqiao , devicetree@vger.kernel.org, AngeloGioacchino Del Regno Subject: [PATCH v3 1/2] drm/panel: Add inx Himax8279d MIPI-DSI LCD panel driver Date: Sun, 13 Feb 2022 14:31:50 +0800 Message-Id: <20220213063151.3321331-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.35.1.265.g69c8d7142f-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: xiazhengqiao Add STARRY 2081101QFH032011-53G 10.1" WUXGA TFT LCD panel Signed-off-by: xiazhengqiao Signed-off-by: Hsin-Yi Wang --- v2->v3: rebase to next-20220211 --- 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 434c2861bb40c0..286d6120048701 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -178,6 +178,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 d99fbbce49d176..ea7b441eab2881 100644 --- a/drivers/gpu/drm/panel/Makefile +++ b/drivers/gpu/drm/panel/Makefile @@ -16,6 +16,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_JDI_R63452) += panel-jdi-fhd-r63452.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 00000000000000..6840449548e43e --- /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