Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1509789ybv; Fri, 14 Feb 2020 00:54:21 -0800 (PST) X-Google-Smtp-Source: APXvYqwfZfP3yFAUaUKA+tFrV8Y/SySoBcdFZ7mGL3gWUORa5w2xkqyU53nlN3D5HQnImBB5BV/h X-Received: by 2002:a9d:7509:: with SMTP id r9mr1360395otk.270.1581670461352; Fri, 14 Feb 2020 00:54:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581670461; cv=none; d=google.com; s=arc-20160816; b=BfkhYunuOvNmv7M2OOJzGgx07S4awrltrmRkS6AgGMgwEysNf8rxC5YyCxQm6Xwrsq IhzdkcpfNJ+mosnD6wWoY2XG/EpCdXcxs35byBW6e+CqGZ+//68aykxb8FhLKG5HcwEo YewQz99ithFylUXiBAWQ0XD6QWiZv5kgt6gbnzB10I1HQfCLYO7zK3F6EWE52en0SCZx keU+rSaTK/WaCCgk03SxsuWjRoKZXsyyHOc/0jHep2z3fAk6PRUMHmwPu5EiMJGHgqMk FMnyNStQRdBwnx1MKxyeuxmsPMpnxlvLksSDtfS80zkLRV82UXZ2D1zfMc4VFTvZxp0z E/hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=nRZRLhlO/XQ/GfE1zKQ+XfhhpTe+BnKJsToqv+ZGaCc=; b=NnapQSZVkxbehQeHasamKkCXnjwXkwYto6ZXAc1MkOJHpnSIknh2UD3IdTMTH1/01i gfu+trFTDSvw0QL3LxVJ5Mypw2F+VhOPqwG0gmgWqPNzKrWotqIktV5VxSykaaLo+PE9 SksxHSP/iTvsYt34evseIvj1Gz7U7nLnW3+l67wFhdNvLzHdy8jmBckdOlJpYkR3YsBe f7wUoI1iu1MDJAUI1ui4gblPGMGu2Xj7x+sobQVsVaMFzwWRC5RbTepKL6lwlWOHk5SI n9lvaHyjEWde1GJSy9e75FfrhNNdoeAgfEv+T09MpC03v0iZ/ZZx1TExJ2gKnfggicaq 0VTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=ZmZWy1K9; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=oY1AFMm4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si2304158oih.231.2020.02.14.00.54.08; Fri, 14 Feb 2020 00:54:21 -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; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=ZmZWy1K9; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=oY1AFMm4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728911AbgBNIx4 (ORCPT + 99 others); Fri, 14 Feb 2020 03:53:56 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:51185 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbgBNIx4 (ORCPT ); Fri, 14 Feb 2020 03:53:56 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6EEBD21F48; Fri, 14 Feb 2020 03:53:54 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 14 Feb 2020 03:53:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=nRZRLhlO/XQ/GfE1zKQ+XfhhpTe +BnKJsToqv+ZGaCc=; b=ZmZWy1K9gsQGrOArTXLvec8bCgeBm2/AneSGjYTQ8c0 f0y88eHnsitkvfMU/gYDZoKbcawS60Akr+SMFmC5cxUV60K/IzKu/ZmsZiHIjsdj v6qVTZ2p5512u1vY8OeF3A+B1mkzIJxM8Qli0lc5Y9l6N8OnEeMyAkEDeSjyfpxf X6Pzw0hPB6uddkb6Eqr5UxGbZVfTo/SRjWHr+iaMOuy6QujOvbl8gpEzLdN2wCZr eVurIej8Xr1+qlOUmLlyLPVWmOxXNDIVcYMGEjVxEHCcjd5Adi8bNR/qwsbewzAN lZPWSq335OqLz2xk17uqtqGYtcQL5XXaV35eVNPs5Qw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=nRZRLh lO/XQ/GfE1zKQ+XfhhpTe+BnKJsToqv+ZGaCc=; b=oY1AFMm43qUtgUjN3/PG2o F8l1lT6a4E/UHoW2PPyNkPQxt7m8BY0vZYPmLdoCke4/FxmR84o0LstXY9fUoJih s+rkE5UHlxfbjsFnVxZfg87xxeKHANm4U0FNdpQfPCuIgJoycKeUOzY++e6/hp0b HLVYOW4qOIEZfKA+f5ESUeYD99cHVu5TL09YLw4J212/LkWxC7B/VEAmTnE3Vh0V J2KkiZySa7YNj49Pry7tfX4hswQrlQYIfwpntwnrVRmVE8/kRMJfmjk2uiqdlhTb iJvZVNe464TEso2jwwGqflUi6hXVk0MDWzkoOs5IdLoUB60AbnxRUdmx05201biQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrieelgdduvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpeforgigihhm vgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecukfhppeeltd drkeelrdeikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh 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 25B723280064; Fri, 14 Feb 2020 03:53:53 -0500 (EST) Date: Fri, 14 Feb 2020 09:53:51 +0100 From: Maxime Ripard To: Andrey Lebedev Cc: wens@csie.org, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Andrey Lebedev Subject: Re: [PATCH v2 2/2] ARM: sun7i: dts: Add LVDS panel support on A20 Message-ID: <20200214085351.2whnfyulrmyex2va@gilmour.lan> References: <20200210195633.GA21832@kedthinkpad> <20200212222355.17141-2-andrey.lebedev@gmail.com> <20200213094304.hf3glhgmquypxpyf@gilmour.lan> <20200213200823.GA28336@kedthinkpad> <20200214075218.huxdhmd4qfoakat2@gilmour.lan> <20200214084358.GA25266@kedthinkpad> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yrgdw63nadrj63rq" Content-Disposition: inline In-Reply-To: <20200214084358.GA25266@kedthinkpad> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yrgdw63nadrj63rq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 14, 2020 at 10:43:58AM +0200, Andrey Lebedev wrote: > On Fri, Feb 14, 2020 at 08:52:18AM +0100, Maxime Ripard wrote: > > > > This will create a spurious warning message for TCON1, since we > > > > adjusted the driver to tell it supports LVDS, but there's no LVDS > > > > reset line, so we need to make it finer grained. > > > > > > Yes, I can attribute two of the messages in my dmesg log [1] to this > > > ("Missing LVDS properties" and "LVDS output disabled". "sun4i-tcon > > > 1c0d000.lcd-controller" is indeed tcon1). And yes, I can see how they > > > can be confusing to someone. > > > > > > I'd need some pointers on how to deal with that though (if we want to do > > > it in this scope). > > > > Like I was mentionning, you could introduce a new compatible for each > > TCON (tcon0 and tcon1) and only set the support_lvds flag for tcon0 > > Can you give me an idea how that compatible might look like? > > tcon0: lcd-controller@1c0c000 { > compatible = "allwinner,sun7i-a20-tcon", "allwinner,lvds"; > > or > > tcon0: lcd-controller@1c0c000 { > compatible = "allwinner,sun7i-a20-tcon", "allwinner,tcon0"; > > ? Or something completely different? Something like &tcon0 { compatible = "allwinner,sun7i-a20-tcon0", "allwinner,sun7i-a20-tcon"; }; &tcon1 { compatible = "allwinner,sun7i-a20-tcon1", "allwinner,sun7i-a20-tcon"; }; Maxime --yrgdw63nadrj63rq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXkZgHwAKCRDj7w1vZxhR xXU4AQDWT+edBWHd1zu1nz5uZCrI1ipyfBT0Yybkb8G4y9PHvgEA+4EZU7Wf0sVS n0q5MdBsfmkq5YpaYdEOKCA6zutyWgE= =vUeL -----END PGP SIGNATURE----- --yrgdw63nadrj63rq--