Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp5880583imm; Sat, 19 May 2018 11:36:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZogUcKDLwdfCu5pQEnqcI0qXctPfXGDu2eMegVhJIHNCt6Rl94H3L7q/xSFLr8q7kPItCfQ X-Received: by 2002:a65:4204:: with SMTP id c4-v6mr10962899pgq.26.1526755001546; Sat, 19 May 2018 11:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526755001; cv=none; d=google.com; s=arc-20160816; b=ilcXbvjX8majGUEK8QLy/MC/va6gs2WLZny9MzDAe5SSW6U6exZRQcFXL0EXhDRk+N L0/JQUHiR4OcLqFDqtfF2l/WngqdoUxrvHmzgIHKasEl6qDzrSCOSqDHZQbB8/mC+L49 fEpWCz7XxxkVgxE39Hu9VEbnyscuU6L5Vz7JzRAXSTZdLz8pNOvS24/2cI58uC6oBwkK Is0F+X2MwEIJ/MDJ//ARgbCdtpCriUBYy1inUWXh9aVFdBN8mlrurPr/Sq13RgTIFkjc GB4HlCQdxuvTFjSQssolw730sJvXUafwhoeqWP8tsm+dHahwULLnrCfdffsyimWQ6xKS vX6w== 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:message-id:date :subject:cc:to:from:arc-authentication-results; bh=mwtaPuj9JVo4wUKNYFkGeIKAkPJkaVVn/I0Rm41ClPo=; b=jisUZCS0H8mlQSN1o/xiOaJ8guDo4txrbDm0wDfOIZJid3Y18UTLk+Hd9BuF5jHD1o T8m0wSBeSXGEvw+ZSsYlt7YUmtYvvE/hnQXXs6wB4mYAzAU5y3GOsiTOpJNCnwR5YXdU i2evxUDh/+iDwQNNUosX71AMY7yCg1qIcatmr/9pXf5v1LAk3y1zC4MUr1bEtGoaUaon h/JSnCkh7CR22ViaaEIeUJ9/TklSIuZMpNNS+EFHYLHzqKxejfvuQtrizwuzOrbgPeXR c39T56a329LmMOnr0xhvsj8ln7f7xthOGxo3YsNsbhA2ym6Sriqr3XeJ0yHqo6wL4um2 IsNg== 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 e125-v6si2763837pgc.128.2018.05.19.11.36.27; Sat, 19 May 2018 11:36:41 -0700 (PDT) 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 S1752759AbeESSeq (ORCPT + 99 others); Sat, 19 May 2018 14:34:46 -0400 Received: from mailout11.siol.net ([213.250.19.138]:34745 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752599AbeESScp (ORCPT ); Sat, 19 May 2018 14:32:45 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id 19A74520808; Sat, 19 May 2018 20:32:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at psrvmta10.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta10.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id bzx6KD5DNDc7; Sat, 19 May 2018 20:32:43 +0200 (CEST) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 840A4520805; Sat, 19 May 2018 20:32:43 +0200 (CEST) Received: from localhost.localdomain (unknown [194.152.15.144]) (Authenticated sender: 031275009) by mail.siol.net (Postfix) with ESMTPSA id 1D948520808; Sat, 19 May 2018 20:32:41 +0200 (CEST) From: Jernej Skrabec To: maxime.ripard@bootlin.com, wens@csie.org, robh+dt@kernel.org Cc: mark.rutland@arm.com, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH 07/15] dt-bindings: display: sun4i-drm: Add R40 HDMI pipeline Date: Sat, 19 May 2018 20:31:19 +0200 Message-Id: <20180519183127.2718-8-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180519183127.2718-1-jernej.skrabec@siol.net> References: <20180519183127.2718-1-jernej.skrabec@siol.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Missing compatibles and descriptions needed to implement R40 HDMI pipeline are added. For mixers only compatibles are added. TCON description is expanded with R40 TV TCON compatibles. If the SoC has TCON TOP unit, phandle to that unit has to be specified. Additional clock has to be specified if SoC has TCON TOP and TCON is TV TCON. New compatible is added for DWC HDMI PHY, which has additional clock specified. Signed-off-by: Jernej Skrabec --- .../bindings/display/sunxi/sun4i-drm.txt | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt index a099957ab62a..634276f713e8 100644 --- a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt +++ b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt @@ -101,6 +101,7 @@ DWC HDMI PHY Required properties: - compatible: value must be one of: + * allwinner,sun50i-a64-hdmi-phy * allwinner,sun8i-a83t-hdmi-phy * allwinner,sun8i-h3-hdmi-phy - reg: base address and size of memory-mapped region @@ -111,8 +112,9 @@ Required properties: - resets: phandle to the reset controller driving the PHY - reset-names: must be "phy" -H3 HDMI PHY requires additional clock: +H3 and A64 HDMI PHY requires additional clocks: - pll-0: parent of phy clock + - pll-1: second possible phy clock parent (A64 only) TV Encoder ---------- @@ -145,6 +147,8 @@ Required properties: * allwinner,sun8i-a33-tcon * allwinner,sun8i-a83t-tcon-lcd * allwinner,sun8i-a83t-tcon-tv + * allwinner,sun8i-r40-tcon-tv-0 + * allwinner,sun8i-r40-tcon-tv-1 * allwinner,sun8i-v3s-tcon * allwinner,sun9i-a80-tcon-lcd * allwinner,sun9i-a80-tcon-tv @@ -179,7 +183,7 @@ For TCONs with channel 0, there is one more clock required: For TCONs with channel 1, there is one more clock required: - 'tcon-ch1': The clock driving the TCON channel 1 -When TCON support LVDS (all TCONs except TV TCON on A83T and those found +When TCON support LVDS (all TCONs except TV TCONs on A83T, R40 and those found in A13, H3, H5 and V3s SoCs), you need one more reset line: - 'lvds': The reset line driving the LVDS logic @@ -187,6 +191,12 @@ And on the A23, A31, A31s and A33, 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 +If SoC has TCON TOP, like R40, TCON has to have phandle to TCON TOP: + - 'allwinner,tcon-top': Phandle to TCON TOP unit + +TV TCONs which have phandle to TCON TOP need one more clock: + - 'tcon-top': TV TCON gate found in TCON TOP unit + TCON TOP -------- @@ -330,6 +340,8 @@ Required properties: * allwinner,sun8i-a83t-de2-mixer-0 * allwinner,sun8i-a83t-de2-mixer-1 * allwinner,sun8i-h3-de2-mixer-0 + * allwinner,sun8i-r40-de2-mixer-0 + * allwinner,sun8i-r40-de2-mixer-1 * allwinner,sun8i-v3s-de2-mixer - reg: base address and size of the memory-mapped region. - clocks: phandles to the clocks feeding the mixer -- 2.17.0