From patchwork Tue Jul 28 10:43:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11689001 X-Patchwork-Delegate: iwamatsu@nigauri.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3635614E3 for ; Tue, 28 Jul 2020 11:52:29 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 10A2D2070A for ; Tue, 28 Jul 2020 11:52:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="Ccah3dMn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 10A2D2070A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bp.renesas.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5035+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id 4NpOYY4521763xERPK2LJaHe; Tue, 28 Jul 2020 04:52:28 -0700 X-Received: from relmlie5.idc.renesas.com (relmlie5.idc.renesas.com [210.160.252.171]) by mx.groups.io with SMTP id smtpd.web12.9581.1595933025628482315 for ; Tue, 28 Jul 2020 03:43:45 -0700 X-IronPort-AV: E=Sophos;i="5.75,406,1589209200"; d="scan'208";a="53245253" X-Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 28 Jul 2020 19:43:45 +0900 X-Received: from localhost.localdomain (unknown [172.29.51.253]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 8F87840041B6; Tue, 28 Jul 2020 19:43:43 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Chris Paterson , Biju Das , Prabhakar Mahadev Lad Subject: [cip-dev] [PATCH 4.4.y-cip 6/9] drm: rcar-du: Use the DRM panel API Date: Tue, 28 Jul 2020 11:43:27 +0100 Message-Id: <20200728104330.6182-7-biju.das.jz@bp.renesas.com> In-Reply-To: <20200728104330.6182-1-biju.das.jz@bp.renesas.com> References: <20200728104330.6182-1-biju.das.jz@bp.renesas.com> Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Delivered-To: mailing list cip-dev@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: 0PHTjWjQkIQRDmz5hiSOfJfwx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1595937148; bh=5bL8Pgwx8xdQVq3fN4fviVKVe9CpPbNlY0SWQRGARdo=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=Ccah3dMnsyPQbPpvPgdzPQQRyeMcPgCy9aWsUXAIHF1UBqRl9XNmMGOd8ILmsIYdizK C+XnahFPE5j1dxz7EBGnRFIQdbCfrkTQh3xq7MRjyeftj5OmCZTcxQV3xnkTaxjTXp+Kr 4Q2otiIjoAtAB8JoVK0nd8GltKoD5MSu9MU= From: Laurent Pinchart commit bf7149f34241dcd6c95ea76b2b5ab4ff33f1c9b9 upstream. Instead of parsing the panel device tree node manually, use the panel API to delegate panel handling to a panel driver. Signed-off-by: Laurent Pinchart Signed-off-by: Biju Das [Removed all other changes except Kconfig. This config is required for building simple panel driver] --- drivers/gpu/drm/rcar-du/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig index d4e0a39568f6..4261a302e051 100644 --- a/drivers/gpu/drm/rcar-du/Kconfig +++ b/drivers/gpu/drm/rcar-du/Kconfig @@ -21,6 +21,7 @@ config DRM_RCAR_HDMI config DRM_RCAR_LVDS bool "R-Car DU LVDS Encoder Support" depends on DRM_RCAR_DU + select DRM_PANEL depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST help Enable support for the R-Car Display Unit embedded LVDS encoders