Received: by 10.213.65.68 with SMTP id h4csp229541imn; Tue, 13 Mar 2018 02:19:37 -0700 (PDT) X-Google-Smtp-Source: AG47ELumPkN0e/HpalVZGwtXVxIlbdwUzQ9GZoCmFe6FkXR5hH9sFkYhxtXB1YI8rgTuW+CBy/Xa X-Received: by 10.101.99.18 with SMTP id g18mr9098147pgv.436.1520932777306; Tue, 13 Mar 2018 02:19:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520932777; cv=none; d=google.com; s=arc-20160816; b=DHL5CqVI0vtX8dFVi/nXhumGFpc4ztogVGJ9QhXOjmjPBtS/Ix8CtHsnVwCT5Sj3Ko fUqG54+5BRb5XROGO6tQZvFupWfWfQqvISRMkFEylsvMElpabutticRK/g9MTagbxzp1 EthUgLX0r1s63+1JWVJPoWINYnfbfTBOxYsJ+i9eQUJxZ/aBzjDiQvIQfDudBSz5dtil yccu/Nq/8EGYWNk025h1WHsQhtdo+LladZEfU+leov9ZI7h9obAfLz7OLwwXbHJuF62O A4WsGr4lMp6QGH96w0qvUAyxjypOe9ghmBYiuwdGYKfsETso71mrgUIv2+r56z3KNo3H jl+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :comments:references:in-reply-to:subject:cc:to:from :arc-authentication-results; bh=Z05GK32ynjLcyly2CTFcNMb+NyKgvGf4VmAh5oDy+uU=; b=sIBQKgsAXC7Mt07gAoXgIjdG886HIc4NOsVk2KvZC0ogoTKYS14fVDiFDeanTv5f1x 3f0zWslXyDZeU53SlP4Uyn4hoMYe14mGDyWJkML5GEgd1Fth6TuJreKqkRXAjjWFEw1r ukWezIBwoRdiPqwmHuzRHBGuyq7x83vD/Q8c4Tz0JlOvaK34t2JCqOIF2tP9Cak6wfrQ 1T2D38j5/oIK53vVGhvPybMIMyB3UfYQJRWvNMK0HQbLT3MULIk3wK8uIOokPI1901IT SFWepTH2EQI1ei0D1mVconJXt0GnLsPQT5v+PJ6nRAFAMzTjz2dgg6jkITThNY04rZiU pFwA== 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 m68si7457753pfb.305.2018.03.13.02.19.23; Tue, 13 Mar 2018 02:19:37 -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 S1752511AbeCMJSd (ORCPT + 99 others); Tue, 13 Mar 2018 05:18:33 -0400 Received: from h1.radempa.de ([176.9.142.194]:60139 "EHLO mail.cosmopool.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752332AbeCMJSc (ORCPT ); Tue, 13 Mar 2018 05:18:32 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cosmopool.net (Postfix) with ESMTP id E6B799002AC; Tue, 13 Mar 2018 10:18:29 +0100 (CET) Received: from mail.cosmopool.net ([127.0.0.1]) by localhost (mail.your-server.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2bZrTPo3gW9D; Tue, 13 Mar 2018 10:18:29 +0100 (CET) Received: from stardust.g4.wien.funkfeuer.at (178.113.203.188.wireless.dyn.drei.com [178.113.203.188]) by mail.cosmopool.net (Postfix) with ESMTPSA id 02B739001A9; Tue, 13 Mar 2018 10:18:28 +0100 (CET) Received: from lambda by stardust.g4.wien.funkfeuer.at with local (Exim 4.89) (envelope-from ) id 1evg4e-0000Qj-2w; Tue, 13 Mar 2018 10:18:24 +0100 From: Harald Geyer To: Maxime Ripard 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 In-reply-to: <20180313082724.7optc2xwgqoiibtx@flea> References: <20180312161050.7647-1-harald@ccbib.org> <20180312161050.7647-4-harald@ccbib.org> <20180313082724.7optc2xwgqoiibtx@flea> Comments: In-reply-to Maxime Ripard message dated "Tue, 13 Mar 2018 09:27:24 +0100." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1655.1520932701.1@stardust.g4.wien.funkfeuer.at> Date: Tue, 13 Mar 2018 10:18:22 +0100 Message-Id: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 = <1>; >> #size-cells = <1>; >> >> + chosen { >> + #address-cells = <1>; >> + #size-cells = <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. >> + */ > > There's definitely support for the CLK_MIXER0 clock in the DE2 CCU > driver, so I guess this would need to be amended / fixed 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 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. 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 Hope that explains, Harald > -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and > Kernel engineering https://bootlin.com > >>> application/pgp-signature attachment -- If you want to support my work: see http://friends.ccbib.org/harald/supporting/ or donate via CLAM to xASPBtezLNqj4cUe8MT5nZjthRSEjrRQXN or via peercoin to P98LRdhit3gZbHDBe7ta5jtXrMJUms4p7w