From patchwork Thu Dec 7 15:58:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 120998 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp8533437qgn; Thu, 7 Dec 2017 07:59:34 -0800 (PST) X-Google-Smtp-Source: AGs4zMYhmsnu+kNF/TPz5ID2pcq3Mc//74FSHNTt+wG85Tu8o35nmu7KRtIBWrv3ki3Wlm/uwzsB X-Received: by 10.101.82.65 with SMTP id q1mr25652113pgp.55.1512662374867; Thu, 07 Dec 2017 07:59:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512662374; cv=none; d=google.com; s=arc-20160816; b=iRo34m90SeXP4znRFNUjGjcUSX3p5Pti+aQ+4MmjoigKAW6WZHXgRd1iMPyvDUzT/r en7Vk3YvR4yLPvf+GhhpRhDgrlp/nWo0HTsheY+opQ3kFMUZVxV6K4clWxYIG7/6Qb8F /K/vrFoLgw1x70jnDqVEbLkLXN/hpQ6NHK9xytqOKvDpOMhfLiABG2s3HsuG+VcdSYaP fjwAgMujZa9WN6tSmGG8WyTCWLF1XELJPlbeyB2Mu3aM/yxnG+l/tO0CNS9DYzBQoT8w 1ikp7+D0RqNp/vDNIppQ9yVV5EW1aTrzLwtcfMURXAn9q+sQR21krPf3SwjyXkC45U3p Ee7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=0yvvYU/auKP7x16IHu1yFc3YNSCGs6SzjPVtBvMOF/M=; b=zvuJ3b14dzY+NG/CXwydcRyCdrZu8VOkETBMw897wm26KZdpGYWAeGepYjoy63ojns VmVJRtpt17wj036iWM2VFSc6wYYyWlLsUDf/mqRtiuAGUKCU7zCJJUxoQ6OdYg7dIGzM 2ajonZIjPEsembD7jYq39wPmXiW22KMmcP+il9CPvkGxK91U92pPnJmAuW6xq4y5w2g1 yWESP6RfSuFh/qZ61xHMVrjfXWVZVEMiEc2vctTBcLK//ED0qEOsRED9bFjxEUJ7zEK6 XpR5WVhfXiypiGZ3reKbvqnoDwR2vAhZZZ/I77v/c2i0u+JjmF70z0oEBxUG2SOyqNJ7 GZvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i185si3906670pgc.294.2017.12.07.07.59.34; Thu, 07 Dec 2017 07:59:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933399AbdLGP7c (ORCPT + 21 others); Thu, 7 Dec 2017 10:59:32 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:38822 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933359AbdLGP71 (ORCPT ); Thu, 7 Dec 2017 10:59:27 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id AA5CD20E28; Thu, 7 Dec 2017 16:59:25 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [185.94.189.187]) by mail.free-electrons.com (Postfix) with ESMTPSA id 687F220D19; Thu, 7 Dec 2017 16:59:15 +0100 (CET) From: Maxime Ripard To: Daniel Vetter , David Airlie , Chen-Yu Tsai , Maxime Ripard Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Mark Rutland , Rob Herring , linux-arm-kernel@lists.infradead.org, plaes@plaes.org, icenowy@aosc.io, Thomas Petazzoni , jernej.skrabec@siol.net, devicetree@vger.kernel.org, thierry.reding@gmail.com Subject: [PATCH v4 03/15] dt-bindings: display: sun4i-drm: Add LVDS properties Date: Thu, 7 Dec 2017 16:58:48 +0100 Message-Id: <8b7042f5e85cc868ea802deba79a0c53ffbe6564.1512662253.git-series.maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some clocks and resets supposed to drive the LVDS logic in the display engine have been overlooked when the driver was first introduced. Add those additional resources to the binding, and we'll deal with the ABI stability in the code. Reviewed-by: Rob Herring Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 9 +++++++- 1 file changed, 9 insertions(+) -- git-series 0.9.1 diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt index 50cc72ee1168..1e21cfaac9e2 100644 --- a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt +++ b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt @@ -121,6 +121,15 @@ Required properties: On SoCs other than the A33 and V3s, there is one more clock required: - 'tcon-ch1': The clock driving the TCON channel 1 +On SoCs that support LVDS (all SoCs but the A13, H3, H5 and V3s), you +need one more reset line: + - 'lvds': The reset line driving the LVDS logic + +And on the SoCs newer than the A31 (sun6i and sun8i families), you +need one more clock line: + - 'lvds-alt': An alternative clock source, separate from the TCON channel 0 + clock, that can be used to drive the LVDS clock + DRC ---