From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2763BC433DB for ; Fri, 19 Feb 2021 14:01:51 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 D8F1464E5F for ; Fri, 19 Feb 2021 14:01:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D8F1464E5F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=1jrvbhJeioRAHe5XOIGYdEIsgFgb+l8kKX3Vu6JUNI8=; b=aI312LULAtiUhcogKrhFUd+Pqx E2hrNu6TW/8wxnaeuHvSsWGHgk/qo2NNV/5R04mzLsTnBGlEO4ACvUxqmdHySgIE/9J5LBacCfMYU bdYtotdNavfXc96WWZx2Sc5Ef+S3f9KCbVXhGsTVTAeN6X1ZtRRG5BenmgM1sz5iG1LH1kK2Vgzp2 /pC3m/GTt1k/ROoDsJOL3rvqYpw84KUGXu7PKb9GdeJ+Ky6bhYCDoNH1SrKbipx2kV5+0E3j9S92S dZRUYXikUQgTk/IIDwxz4tml7N/Rq5R2rgQuxplkHD1GSlqp71fLWaQ1jGV6ujEjP5R2vA3ayVmU3 G0vfmRwg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lD6KE-0008Ak-5M; Fri, 19 Feb 2021 14:00:06 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lD6Jv-00081z-Ba for linux-arm-kernel@lists.infradead.org; Fri, 19 Feb 2021 13:59:50 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 9BB05302; Fri, 19 Feb 2021 08:59:40 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 19 Feb 2021 08:59:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:content-type:mime-version :content-transfer-encoding; s=fm2; bh=kLzazjhvTU5QMMz6Vk4C8hkekA 3rzr9twxb2+FR2TL0=; b=u4ViKt0WzT2spG1dGeDIsNprxyfihJdZRWythNqx62 wwwMv/IqL7lQHUVAm+kNrZ6IU2iz+TJzhjmoamHHvSN2FIe7hVpzI555Iij+YAML sCPwPNB0z0qoRrKex46KQobS6qgs2Lq8eMKgKkWfJ1x23I8QZE+79/lMDnoGHSko cCud4+aZjxuftIC2ShW3Krm0c9YrnY2I2NO1lryw51WStYP1Ak4VZ4YaFS0xUGgh sjDLwXgNRmTMNeo8OIUVpeWs+T7ha3dchje9f1673IvJCK1Z4cUZ5e4T1UWcKQ9P K47O8wNvb+dgc4y7N5YfrbRaO/Y8rKTzajeVSR/8m9Ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=kLzazj hvTU5QMMz6Vk4C8hkekA3rzr9twxb2+FR2TL0=; b=K75wOOumuHUKLSCg1UqroO FUgoceCWHBF1wIO+XnB1YGysTS0J2aai6leVjkGkCqfvricKCUSQcE0gnZbJI1WN dYgsDpYcdYkNqifHD0lfvHTHNXFdUbtJuR3Ipn6j70zHukqCdQ4cXGwdXlsLAP6E FqFsPrURaT+r+JqALwsPIG+hE8GeonHoFoF+pknl9AyMvnj1u/zlgXo5QNyyEdKH P5tjcw+UqX+k5nu2GUYmXJ4bART7K6ZK33NoLo1jKf355KS86p+pW6K8oizsLczK sprnyMoPo3+HzUmWuF9dzyG6uiA80Qq3oo75FBFrWZoQAS6st55rV6PTrrj55NTg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjeeigdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgtggfgsehtqhertdertdejnecuhfhrohhmpeforgigihhmvgcu tfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrthhtvg hrnhepteeikefgffekgeekledtheduteetjefgkeeuvefhhfetgedugfektdeugeffgfef necukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id A91BE1080057; Fri, 19 Feb 2021 08:59:37 -0500 (EST) From: Maxime Ripard To: Laurent Pinchart , Chen-Yu Tsai , Maxime Ripard , Jernej Skrabec , Rob Herring , Frank Rowand , Daniel Vetter , David Airlie Subject: [PATCH v4 0/7] drm/sun4i: Add support for dual-link LVDS on the A20 Date: Fri, 19 Feb 2021 14:59:27 +0100 Message-Id: <20210219135934.618684-1-maxime@cerno.tech> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210219_085947_727859_8EB78462 X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, This is a fourth attempt at supporting the LVDS dual-link output on the Allwinner A20. Let me know what you think, Maxime Changes from v3: - Reintroduce the endpoint sanity check (and make of_graph_get_port_by_id const in the process) - Make a few doc fixes - Fix device_node leakage - Changed allwinner,lvds-companion to more generic link-companion - Rebased on 5.11 Changes from v2: - Added the DT binding description - Split the patch to enable the A20 - Reworked a bit the error messages Changes from v1: - Reworked the DT bindings - Refactored a bit the panel registration in the tcon code. Maxime Ripard (7): of: Make of_graph_get_port_by_id take a const device_node drm/of: Change the prototype of drm_of_lvds_get_dual_link_pixel_order dt-bindings: display: sun4i: Add LVDS Dual-Link property drm/sun4i: tcon: Refactor the LVDS and panel probing drm/sun4i: tcon: Support the LVDS Dual-Link drm/sun4i: tcon: Enable the A20 dual-link output [DO NOT MERGE] ARM: dts: sun7i: Enable LVDS Dual-Link on the Cubieboard .../display/allwinner,sun4i-a10-tcon.yaml | 6 + arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 69 ++++++++ drivers/gpu/drm/drm_of.c | 138 +++++++++++---- drivers/gpu/drm/rcar-du/rcar_lvds.c | 8 +- drivers/gpu/drm/sun4i/sun4i_tcon.c | 164 ++++++++++-------- drivers/gpu/drm/sun4i/sun4i_tcon.h | 4 + drivers/of/property.c | 2 +- include/drm/drm_of.h | 16 +- include/linux/of_graph.h | 4 +- 9 files changed, 299 insertions(+), 112 deletions(-) -- 2.29.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel