Received: by 10.213.65.68 with SMTP id h4csp141897imn; Mon, 12 Mar 2018 09:12:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELuoxNj5juahzCdt725XwGkV1mtURHXq0o24KGOwMBhOVBb5r3olH9+GfdIybJiiQH9SlDY4 X-Received: by 2002:a17:902:7885:: with SMTP id q5-v6mr8552895pll.207.1520871175008; Mon, 12 Mar 2018 09:12:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520871174; cv=none; d=google.com; s=arc-20160816; b=cwxNCoBBO3/cHOlgeshkDLTznDmANna3+Gh+sXn1LMyLuLSHFjabyuaKzaQrcIMPDd uAhhhTQJnfApW1TbiETkex15o1sPoHJksGnGTg7MgsvaNgt04L/UmtX+wIxvemPe8Dc8 985nQCZ83uGYsqChjGaFGzqq0/KmVJbkpGvCJHFS57wHXM5Grp/ydVGCXiNMfAoSDHoN P0vWkAzD9VjKeXraDmsrvjCdqfsOfIX3zQcVg27Ch+aGo6saEcYQ7l8C+szHLokXyszU phMYAvsV8fTtQxVpI6NCTQf01oSabKrENLctnXciKWMrchhjTxkMmfhoLnMNfG2XT/YX uo3Q== 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=0Lo8/v86fPugfRpxxJ8XYJtuo1OEJm7NkxFSSIY13Rk=; b=ZtEsVs1hI3j0ORGI6JaUp/0rKmhzmOKkj9QeZftp7pWCeMjbCZlg1PicSVf9GTzcbt gLsUjr0zfkHdR8+GcFNirr/quAHoi4cc3s+x3dr+Wggyuq5N1eWlBlIo7fWNIYnL2TWd HPOP7a/NDnA8f4rIKD5ChUWHbfmtJ1RucP0z7cJirsCQriu1e+TpWo7rYfiTfr3VCJqK l/gkQpie/d+MtXQ4f3sH+th9VNzZisH423cHV6i1UPDXBrx/iukgqm8vlSPczXzXPkH+ fJxYyb2RW6rzrlzQ0VroNQvSKitMmfy9bQ3Oho7hgPH3Fo6vzg6zIHjoTSvfu3HOVg85 0Umw== 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 l2-v6si17524pln.386.2018.03.12.09.12.40; Mon, 12 Mar 2018 09:12:54 -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 S1752087AbeCLQLP (ORCPT + 99 others); Mon, 12 Mar 2018 12:11:15 -0400 Received: from h1.radempa.de ([176.9.142.194]:56669 "EHLO mail.cosmopool.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932237AbeCLQLM (ORCPT ); Mon, 12 Mar 2018 12:11:12 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cosmopool.net (Postfix) with ESMTP id BBC22901A82; Mon, 12 Mar 2018 17:11:10 +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 shecbxCQJx7D; Mon, 12 Mar 2018 17:11:10 +0100 (CET) Received: from huygens.ccbib.org (unknown [10.0.10.106]) by mail.cosmopool.net (Postfix) with SMTP id 5949690196F; Mon, 12 Mar 2018 17:11:09 +0100 (CET) Received: by huygens.ccbib.org (sSMTP sendmail emulation); Mon, 12 Mar 2018 16:11:09 +0000 From: Harald Geyer To: Maxime Ripard , Chen-Yu Tsai Cc: 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, Harald Geyer Subject: [PATCH 3/5] arm64: dts: allwinner: a64: add simplefb for A64 SoC Date: Mon, 12 Mar 2018 16:10:48 +0000 Message-Id: <20180312161050.7647-4-harald@ccbib.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180312161050.7647-1-harald@ccbib.org> References: <20180312161050.7647-1-harald@ccbib.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. + */ + simplefb_lcd: framebuffer-lcd { + compatible = "allwinner,simple-framebuffer", + "simple-framebuffer"; + allwinner,pipeline = "mixer0-lcd0"; + clocks = <&ccu CLK_TCON0>, + <&ccu CLK_DE>, <&ccu CLK_BUS_DE>; + status = "disabled"; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>; -- 2.11.0