From patchwork Fri Dec 1 07:04:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: huang lin X-Patchwork-Id: 10086515 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 70C406035E for ; Fri, 1 Dec 2017 08:23:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B94F2A520 for ; Fri, 1 Dec 2017 08:23:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 507A92A524; Fri, 1 Dec 2017 08:23:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C765B2A520 for ; Fri, 1 Dec 2017 08:23:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D5F686EC6A; Fri, 1 Dec 2017 08:20:57 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by gabe.freedesktop.org (Postfix) with ESMTPS id 164106EBD7 for ; Fri, 1 Dec 2017 07:04:51 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id d23so4258820pfe.9 for ; Thu, 30 Nov 2017 23:04:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=aC0TvEWTJJYoKiz1T9LhnViabwP5rjXSp5mSDbXpXGs=; b=puYN4pEbfpXVnaWf2kdkhIm9l4pdiq/GDuluWtAZfumawqgk35Av9i0fDGCUE8iiie //287b90DpQr9DauCdZ09WY3ZXorVPPf8CsGJaUR9mmQ9ovp14ZrEnAP1HOboYqWWnsD RQS2FesDtyIFLTtvmCcPYBJNSBVmmCvZ5wIPFcrPGy+BeVB6O4tN94NvgeOL9VgETVn+ xZSm56vFjafdJY+tYtNIemFJCPnim5osGwGU6+uLTi5pp3o/cjfAc+jq1pVztVj1wAFg m5gpIi43GNV5egAufVas6CQf+XkwIKAcnwQParJ+PFuYTmFd01t27jam6T5bWAFQfeh9 7Q6g== X-Gm-Message-State: AJaThX60P9FJn111K+5YLez2zNKdjJx5JS1OhKj7vkjYXf7O2AtHNvgJ 6tEUVImfE/u9AkYwsmwoo6g= X-Google-Smtp-Source: AGs4zMbiaJJ++We+DJ3za4tDbm7v9ohuuDu3wg7sm64K3BL3tAWpP06fbqLqF2ovmxK2RGOL25jhdw== X-Received: by 10.101.97.20 with SMTP id z20mr4846853pgu.267.1512111890652; Thu, 30 Nov 2017 23:04:50 -0800 (PST) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id g10sm10667876pfe.77.2017.11.30.23.04.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Nov 2017 23:04:49 -0800 (PST) From: Lin Huang To: robh+dt@kernel.org, thierry.reding@gmail.com, zyw@rock-chips.com, briannorris@chromium.org Subject: [PATCH v2 1/2] drm/panel: support Innolux P097PFG panel Date: Fri, 1 Dec 2017 15:04:36 +0800 Message-Id: <1512111877-15086-1-git-send-email-hl@rock-chips.com> X-Mailer: git-send-email 2.7.4 X-Mailman-Approved-At: Fri, 01 Dec 2017 08:20:40 +0000 Cc: Lin Huang , dbasehore@chromium.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, nickey.yang@rock-chips.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Support Innolux P097PFG 9.7" 1536x2048 TFT LCD panel, it refactor Innolux P079ZCA panel driver, let it support multi panel, and add support P097PFG panel in this driver. Signed-off-by: Lin Huang --- Changes in v2: - change regulator property name to meet the panel datasheet drivers/gpu/drm/panel/panel-innolux-p079zca.c | 178 ++++++++++++++++++++------ 1 file changed, 136 insertions(+), 42 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-innolux-p079zca.c b/drivers/gpu/drm/panel/panel-innolux-p079zca.c index 6ba9344..5d690b7 100644 --- a/drivers/gpu/drm/panel/panel-innolux-p079zca.c +++ b/drivers/gpu/drm/panel/panel-innolux-p079zca.c @@ -20,12 +20,32 @@ #include