From patchwork Fri Dec 13 18:10:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 11292259 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 3B243139A for ; Sat, 14 Dec 2019 14:44:25 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 24780214AF for ; Sat, 14 Dec 2019 14:44:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 24780214AF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 486866E3A4; Sat, 14 Dec 2019 14:43:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 580 seconds by postgrey-1.36 at gabe; Fri, 13 Dec 2019 18:20:39 UTC Received: from mslow2.mail.gandi.net (mslow2.mail.gandi.net [217.70.178.242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6125089F92 for ; Fri, 13 Dec 2019 18:20:39 +0000 (UTC) Received: from relay12.mail.gandi.net (unknown [217.70.178.232]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 6BCF93B289C for ; Fri, 13 Dec 2019 18:11:20 +0000 (UTC) Received: from localhost.localdomain (unknown [91.224.148.103]) (Authenticated sender: miquel.raynal@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id F2189200009; Fri, 13 Dec 2019 18:10:52 +0000 (UTC) From: Miquel Raynal To: Rob Herring , Mark Rutland , , Heiko Stuebner , , Daniel Vetter , David Airlie , Sandy Huang Subject: [PATCH 00/12] Add PX30 LVDS support Date: Fri, 13 Dec 2019 19:10:39 +0100 Message-Id: <20191213181051.25983-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 14 Dec 2019 14:42:54 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel@lists.freedesktop.org, Maxime Chevallier , Paul Kocialkowski , Thomas Petazzoni , Miquel Raynal , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hello, This series aims at supporting LVDS on PX30. A first couple of patches update the documentation with the new compatible and the presence of a PHY. Then, the existing Rockchip driver is cleaned and extended to support PX30 specificities. Finally, the PX30 DTSI is updated with CRTC routes, the DSI DPHY and the LVDS IP itself. Cheers, Miquèl Miquel Raynal (12): dt-bindings: display: rockchip-lvds: Declare PX30 compatible dt-bindings: display: rockchip-lvds: Document PX30 PHY drm/rockchip: lvds: Fix indentation of a #define drm/rockchip: lvds: Harmonize function names drm/rockchip: lvds: Change platform data drm/rockchip: lvds: Create an RK3288 specific probe function drm/rockchip: lvds: Helpers should return decent values drm/rockchip: lvds: Pack functions together drm/rockchip: lvds: Add PX30 support arm64: dts: rockchip: Add PX30 CRTCs graph LVDS endpoints arm64: dts: rockchip: Add PX30 DSI DPHY arm64: dts: rockchip: Add PX30 LVDS .../display/rockchip/rockchip-lvds.txt | 4 + arch/arm64/boot/dts/rockchip/px30.dtsi | 58 ++ drivers/gpu/drm/rockchip/rockchip_lvds.c | 516 ++++++++++++------ drivers/gpu/drm/rockchip/rockchip_lvds.h | 19 +- 4 files changed, 441 insertions(+), 156 deletions(-)