From patchwork Thu Dec 21 11:02:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 122532 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp725440qgn; Thu, 21 Dec 2017 03:03:35 -0800 (PST) X-Google-Smtp-Source: ACJfBosCjUkIo4FQzJkrNrV3ksdqpJ3UlpSMWInoQhKCEErKMcaykrQuc4pEwXq/egCjvQ6sjSyw X-Received: by 10.98.163.200 with SMTP id q69mr9965486pfl.21.1513854215348; Thu, 21 Dec 2017 03:03:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513854215; cv=none; d=google.com; s=arc-20160816; b=vP6Bo2qK4bgjWjQyP4szdFkMTUT/+zT1uDU/H9T+7Y82Ck9Ew/eT2gT+iuIFBrKE0H 6Qj+9Mx91vAo/NgkIu6v0OU6qfM2Q4CAIdoyUUcxnpfNws+9LeRc1rMUZDjRe+wDBtW4 QHWX3DRZjgFvtcJ8VrXooZFfHuvmWAwSpnRQdwk0eaXXb2aT2ehEbAVt21DrZY8+v1SJ WUdAGksXKrcrhtaI8pUpIikwSDhi67NghaGhnMp5CFp/OddCKBz7J5UJIrLne85vl2rK rq4UQJewrhHm6sp8QM1C1FABEPzeMenkuMZBx+6B57TST2D795zpwQNKGMmyBWLM0nAS EIGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:cc:references:in-reply-to:references:in-reply-to :message-id:date:subject:to:from:delivered-to :arc-authentication-results; bh=APzK59a5Q+LuWfWQcGPGdD1+2J96IuwfF1lLcYyAl5Q=; b=zAodLkXE3Ld5ABS9hELLDsFxMWBB/LButJJnsQPxM/7SO32K5m5IDDTJoGL7TNix8n 7df6NU7oueV4cAuQm873Y0dDzVkiM1T1S+LHUACNUQ+LTUiGRkcw+Hf2orUKadwlZkzQ Y/yklpnGs6DywoM+pqKLebsjNDLCbpVB5W0apRC4Yo0UmBZFX8avoHhBByoFctYWXDCP r17XTrcMMK79lpsJEzhPqeFn3Lbuj/rhnMVww3zCFHjKGlUo0wkuiwK/KVwzI7dWtEPc LCpwupTyUfraebr++GawrfNZ6DvOcIu+c8Q5+xzGe+uZpOkg4dOxji+uqHaGzJTE/Pif ELQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id be1si12199296plb.48.2017.12.21.03.03.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Dec 2017 03:03:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) 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 760496E60E; Thu, 21 Dec 2017 11:03:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by gabe.freedesktop.org (Postfix) with ESMTP id B4AF16E60E for ; Thu, 21 Dec 2017 11:03:03 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 7140B209CA; Thu, 21 Dec 2017 12:03:02 +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, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id F1430207C8; Thu, 21 Dec 2017 12:02:43 +0100 (CET) From: Maxime Ripard To: Daniel Vetter , David Airlie , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH v5 03/12] dt-bindings: display: sun4i-drm: Add LVDS properties Date: Thu, 21 Dec 2017 12:02:29 +0100 Message-Id: X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: Cc: Mark Rutland , Thomas Petazzoni , jernej.skrabec@siol.net, plaes@plaes.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring , thierry.reding@gmail.com, Laurent Pinchart , linux-arm-kernel@lists.infradead.org, icenowy@aosc.io 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" 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: Chen-Yu Tsai Reviewed-by: Rob Herring Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 9 +++++++- 1 file changed, 9 insertions(+) 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 ---