Received: by 10.213.65.68 with SMTP id h4csp445756imn; Tue, 13 Mar 2018 09:16:58 -0700 (PDT) X-Google-Smtp-Source: AG47ELvwFwIMZZmyp2pznS1oEtld6wRa0h/+DfyvL0XpvLLHwFGhm4Vp/QrwfYNQ9XJoYDwLeUzP X-Received: by 10.101.86.198 with SMTP id w6mr939965pgs.434.1520957818300; Tue, 13 Mar 2018 09:16:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520957818; cv=none; d=google.com; s=arc-20160816; b=oftuX6ShpNCZELxd8eE0+DqliUSwlUFET8eWrDd3Y6PEBsTIiqcS50yhCuouTgW+D+ 1UxOD9/JJ71Qdt5i952RZtXPqIll4MREZKmqSqJ2+lCZq3W62TwWokyKcg72BqLQvd5o 5KQV3pLRmJQ5HA5suLNBLLLgJkkrTh62jTYzFC8V9RHeLl6tLrY7kVeSbULpyV8A7VZ+ YluJ8X5vlNR55oAeOVpIf2OqZswJSmzx+HyeVqGtXKT9tMdhJjooddb85exBqs59Hihv EMgHlqT7VKL7sjCln8K9rB8PNP9TLs9yevvUHBx2mQEVUGtgyQp36VCym4ong+S32TRf VpVQ== 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=AKKOJJ4/0Bbz2BpMgEnQ2VLJi35eKAY435yvsqxtKzE=; b=JqEwpABIa33q/y3lxQFlRlnNgiN+6CDHfaWsXGL/avh0SofQrUQTkjmLkGVjBSpbB5 sTRnds24DKkIzoYRSjJQF9HWexaRJqb/mKRDAM34M6jMDuIazQwUQ65RQilMv+v4JNsy V0Gj6yZbwl2n4hhzgEgj38XjqTrV+lsGwko7vjpGRvb9vrMd2DEXlYqj8n9+SVJy2lPI Rd0OdG1FK0NzDI6LkaGSbZHb62Ww2eA9vDFIsr74cQnWhXD32hLcZ7CiutwT0iqgYXSE vjupuEemwqJ1fFy+WU/xUHm6ZXlxBTDR/TnDb+ql1KxIHIhFQYXp6ycdO/nBYLCeV5NP csBQ== 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 d81si323644pfj.222.2018.03.13.09.16.42; Tue, 13 Mar 2018 09:16:58 -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 S933942AbeCMQPE (ORCPT + 99 others); Tue, 13 Mar 2018 12:15:04 -0400 Received: from mail.bootlin.com ([62.4.15.54]:50497 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934015AbeCMPfe (ORCPT ); Tue, 13 Mar 2018 11:35:34 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 5DDF320792; Tue, 13 Mar 2018 16:35:32 +0100 (CET) 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 E8F6620731; Tue, 13 Mar 2018 16:35:21 +0100 (CET) Date: Tue, 13 Mar 2018 16:35:22 +0100 From: Maxime Ripard To: Harald Geyer Cc: Chen-Yu Tsai , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andre Przywara , Icenowy Zheng , info@olimex.com Subject: Re: [PATCH 3/5] arm64: dts: allwinner: a64: add simplefb for A64 SoC Message-ID: <20180313153522.haeemlqbtuei5zb3@flea> References: <20180312161050.7647-1-harald@ccbib.org> <20180312161050.7647-4-harald@ccbib.org> <20180313082724.7optc2xwgqoiibtx@flea> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ku77t5fsink4ymvn" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180223 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ku77t5fsink4ymvn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Mar 13, 2018 at 10:18:22AM +0100, Harald Geyer wrote: > Maxime Ripard writes: > > On Mon, Mar 12, 2018 at 04:10:48PM +0000, Harald Geyer wrote: > >> The A64 SoC features two display pipelines, one has a LCD output, the > >> other has a HDMI output. > >> > >> Add support for simplefb for the LCD output. Tested on Teres I. > >> > >> This patch was inspired by work of Icenowy Zheng. > >> > >> Signed-off-by: Harald Geyer > >> --- > >> arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 20 ++++++++++++++++++++ > >> 1 file changed, 20 insertions(+) > >> > >> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > > b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > >> index ca1b365bc722..05d5e8def68a 100644 > >> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > >> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > >> @@ -52,6 +52,26 @@ > >> #address-cells =3D <1>; > >> #size-cells =3D <1>; > >> > >> + chosen { > >> + #address-cells =3D <1>; > >> + #size-cells =3D <1>; > >> + ranges; > >> + > >> +/* > >> + * The pipeline mixer0-lcd0 depends on clock CLK_MIXER0 from DE2 CCU. > >> + * However there is no support for this clock on A64 yet, so we depend > >> + * on the upstream clocks here to keep them (and thus CLK_MIXER0) up. > >> + */ > >=20 > > There's definitely support for the CLK_MIXER0 clock in the DE2 CCU > > driver, so I guess this would need to be amended / fixed >=20 > AFAIK on the A64 a special sram quirk is necessary, that never got merged: > https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1574303.html >=20 > I asked Icenowy if I should resubmit her patch as part of this series, > but was told further discussion is necessary. I'm sure she can better > explain the details than me. >=20 > Actually if it wasn't for the sram quirk, there is a simplefb patch by > her, that could have been merged long ago: > https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1574304.html The issue with your patch is that, as soon as that clock is functional, the DT with the node you were introducing here will no longer be. And since people use their firmware DT or put them in NOR these days, you can't really expect them to update them every release either. I guess a proper solution would be to respin that patch. Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --ku77t5fsink4ymvn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlqn77kACgkQ0rTAlCFN r3Shjw/+NpX/NkKxJFJG0MdVnCvHjms5XDB/izbk/MNgzVBOtIAO9Wr39VxZXS0k h1OuISa/GLitGXjW6LTxO6RzivfzuLhY/wOooorJtpNBUiTDL8hrwTTjrVj6ga/7 X1pTWNv6YKS05uzHr4X68KZekEhsPXiJB7UIRz2ny4vjXHoMyeWlkelIcYdWfZ8Y cL+IPhOXw4dWg0zyINM7hTgIYQtngCt3FyLKhewwAfz4mJU+jqcp0YWSzCgeRZDj AARc84qAjegL2kYaEPG717ya3sYt5Jljrzt59WAtHyphyOCCkcFGPFuknxpGsVV1 frVmfxXksFvHoUolEJWPXDYbOgGOEy5VKBf1rCRDGm/s0x8OOmLLxt34wZyJeY4g CJM79t6ZhoL1i39UFG+IJhzki3dV7HAWMf2KbgfF0VplZwJvOKKMRspCKbZ/J0Tr eouICwDYCxQHva5QAlGN91WYcglzwyc25WhnoCX4TGbQmxBJJokmUQ4JOhrrRdcN Yq5wSkN9drDlhb8ZfjpGyqh7wfTeZjl8vrYo7cIuBgrEoyd1dV6noVcudF/hmGDd mu6z99WUnYDtZtFsLvznd1ACPFyfNVgyAfx05FSf7trPRkK/gVe7+3/f7F6IncAI dXakAvntGg1rMoZRlytbO+9bUxcYBRFxWe2Y7JNgYdJRHiZHylM= =Nbua -----END PGP SIGNATURE----- --ku77t5fsink4ymvn--