Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp6300imm; Mon, 21 May 2018 01:04:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr53aXkO+uqIj1gdpuhvfiI+5GcINAeolLchp2sxhb13mkmkmFJLNknEDj3L44j4ZpEw3hC X-Received: by 2002:a17:902:284b:: with SMTP id e69-v6mr18902479plb.240.1526889891366; Mon, 21 May 2018 01:04:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526889891; cv=none; d=google.com; s=arc-20160816; b=OjKAVxoJdd0qKC1ManHYlKoraDVVh5ficFXWE2WCRmVGPkOFyf1Uw1FHgpNkGgLAFI 5hkghbroAiTQOXnC8HHY98pnUpnvTOpspWvHCTaHu2TKMC9H4XB54Kw2N6FnatiVB/FS RTNHynjWqhvFtuoMlAhVTb+/91zlyM7p5Sqdnl/ZgVYRFYmpV7habiLOuaypXHd8sRg5 v7InwpQCRNSHUwj0mZRQE2K+BNrp+RquF1V5VhN/FWzEbApwdbVKOEEqEeqmwQg5wi54 6rLOYxFbzviQMZ/jWZWq9gzUY4BwZmO6BJAG71GGfFBadaW95MrGflgJMg1wUoJ+ikQF AY+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=EjNJ7jUOZ+vSnM4cqoGv7f8SdK6bO9h6rHJZIwSmfBY=; b=kuY5K23RFvlTrMtnI/ZfyxwajDmIUTvgQ9VzJa9MnOD9hI2+XwNwL4hO5C/7OSJ5XD r1Te3gm640VY0VdI1MA7dY75H1jTcpPlfBSuFMvHp3GquVN3JBT/lInNEZUNSJa3odfk Nmf/rNT/Ep3LvY2I49QiJA7vLdsGYYr+8XoJU7qIAXAqSDlTyCWEzIfYUqk/WssbakPn b4kmdnQG18GAUVpSW/5GJSSL99p495mbmm3In2OA4Xy/ulcnlbGlBz68l9dsr++2g4ew 8jSB3HVnUQzqHZhw0QbyyD14pgh+oIiuHkd378qcn8XWhG/iMbpHmb7tuSnPi9BwMago mj0Q== 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 az5-v6si13903167plb.369.2018.05.21.01.04.08; Mon, 21 May 2018 01:04:51 -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 S1751152AbeEUICB (ORCPT + 99 others); Mon, 21 May 2018 04:02:01 -0400 Received: from mail.bootlin.com ([62.4.15.54]:37765 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750945AbeEUIB7 (ORCPT ); Mon, 21 May 2018 04:01:59 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 668382078B; Mon, 21 May 2018 10:01:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.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.bootlin.com (Postfix) with ESMTPSA id 343A220376; Mon, 21 May 2018 10:01:47 +0200 (CEST) Date: Mon, 21 May 2018 10:01:47 +0200 From: Maxime Ripard To: Jernej Skrabec Cc: wens@csie.org, robh+dt@kernel.org, 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: Re: [PATCH 04/15] dt-bindings: display: sunxi-drm: Add TCON TOP description Message-ID: <20180521080147.72esi2kwzcvzmetk@flea> References: <20180519183127.2718-1-jernej.skrabec@siol.net> <20180519183127.2718-5-jernej.skrabec@siol.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6ml3nrfyv2c4gred" Content-Disposition: inline In-Reply-To: <20180519183127.2718-5-jernej.skrabec@siol.net> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --6ml3nrfyv2c4gred Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sat, May 19, 2018 at 08:31:16PM +0200, Jernej Skrabec wrote: > TCON TOP main purpose is to configure whole display pipeline. It > determines relationships between mixers and TCONs, selects source TCON > for HDMI, muxes LCD and TV encoder GPIO output, I'm not sure you mean GPIO here, but rather pin? > selects TV encoder clock source and contains additional TV TCON and > DSI gates. >=20 > Signed-off-by: Jernej Skrabec > --- > .../bindings/display/sunxi/sun4i-drm.txt | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.tx= t b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt > index 3346c1e2a7a0..a099957ab62a 100644 > --- a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt > +++ b/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt > @@ -187,6 +187,26 @@ And on the A23, A31, A31s and A33, you need one more= clock line: > - 'lvds-alt': An alternative clock source, separate from the TCON cha= nnel 0 > clock, that can be used to drive the LVDS clock > =20 > +TCON TOP > +-------- > + > +TCON TOPs main purpose is to configure whole display pipeline. It determ= ines > +relationships between mixers and TCONs, selects source TCON for HDMI, mu= xes > +LCD and TV encoder GPIO output, selects TV encoder clock source and cont= ains > +additional TV TCON and DSI gates. > + > +Required properties: > + - compatible: value must be one of: > + * allwinner,sun8i-r40-tcon-top > + - reg: base address and size of the memory-mapped region. > + - clocks: phandle to the clocks feeding the TCON TOP > + * bus: TCON TOP interface clock > + - clock-names: clock name mentioned above > + - resets: phandle to the reset line driving the DRC > + * rst: TCON TOP reset line > + - reset-names: reset name mentioned above > + - #clock-cells : must contain 1 > + I guess you should better describe the OF-graph endpoints, and the clocks output. Just using the binding additions here doesn't allow to get a clear idea of how the DT should look like. Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --6ml3nrfyv2c4gred Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlsCfOsACgkQ0rTAlCFN r3Tr2g//TSH3w+DxFk8kkj0BXT7kxlxYgUNAyh+wzKXYhv/akZEXRBYODGylh+hS aJLX45Eg+xHK6xGWS+u5sm4WboUgmxtMfxYnS06dFPtWWeMDFpDeN7JgdLMWSuh2 GktruPv7EsOCre7IUVUhtGaXyouz6jHQA7glGXvXtf3WbJqAwQ+8gMonrT7p3xZP yh9oDtjtOvlV0cOv2fPMAU1WF63ly8AqCXFhuMmDHNR371sqoj2z/LZqCNjULC8E FV3APQ/YmZrMBeXEcRCPcg+LoapYKAtGlCuMCxflPKRX4NIzMDYjB7x9ZreKiDM7 NpSL3bY/whrcmM+c3MnmzO4f7qO5bYLOxqmEP42WYilZybnATqYdt2EFr4QBI/zI WWP4IKLcSARHZ0/gJjJw7UrFUF01iEjL7BlyEPpv2KX1usl9jSOkTpNTDTJIf1nb mBKFdQYTr45zED44wcj30lieuhK4L6U3zOhCxvtp/1z6XzAX9eIxMdc9P1abXHJj op2wJzBTIw6kH7im4cXXEQ7XzqAbLKQn63rjcvyYlxDWpzI2WlAdBKRqIj3vVLgw /NKz0ClGx41W0aATVceOIWVBNLFf4XQ2qMqOQp//K35TFkBOk63MOwaOjCxYZ+Lk V6rRA1bYofnxBTMytXVbnJfDjwAAVeVrOITkQPDR4qPvJOY40xg= =W+4R -----END PGP SIGNATURE----- --6ml3nrfyv2c4gred--