Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp2013578imm; Sat, 23 Jun 2018 07:35:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLepLUdFX1//iEw/U6+KSndbE0zLzNkA3C0kgvZ8UDm7KUlfWWcOAqosIu+enQ7GbJVtpvD X-Received: by 2002:a62:9b57:: with SMTP id r84-v6mr6169463pfd.157.1529764511192; Sat, 23 Jun 2018 07:35:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529764511; cv=none; d=google.com; s=arc-20160816; b=AsFRR74mz2gvMuDmVeYEjFnFs3XiR+b+RfFV3eXm/7F2kZ6m7MSqTB5h1ouL87wL/F e/Aa9EZUl+3pILPvCyr6vyYAg30L3TRZFdBjj/u92b7eSC0SKeC2SKmXIGJlmMnuldHv m/5HSgRVEbhIY5H+FasueMy8ILiMok5exOkuku1wUU2kJ/kYc68rJliwvkOIRpeWqgBw 84ZDzdU3Z2wzMCbzdBhwv09FIaPTs/vyfWV7iRthNBI+CwM31jklNp7Dp0yYk2SdKCkS EKI3TAnQsD89AIw5FFTIlyP35bwQrnUkyXPs6EcQHJMQ0Q+S+rh53g9KptWLJFGsvHqd Xlvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to:date :arc-authentication-results; bh=G/hwZII1NncJZ1aS1OC5YqrCzjMldklAeEn+5kBBVdU=; b=PULVD+yK+C3D3pMXKD9WA71tKYyzNNIwwUBUEs6w2Fph77/p1Ph6CIKHBeQ+GxAaZ/ s+KObkSpxMOZ9IVBCdOISOYvcoJPr0V4pQ4OCyCk8ET7yMu435q5RHOliWiVW0LAhsvu Ape7GHQM1djp8DNXmdgSxSQVV/zb6sGMKdDy0Lq4tizcwtVeArqnyrwLnzVbw4+Pyb7C bQ2Cb7JQ6P9xmVoTm8IsQclgftXm1y+abBe8Y9DNmC8cUOXwKmpIqm1OBona6CXM4Vv8 IKBFVk5omY77/dI6GkqVNbaHcnUMKuot/3DoLKwwkok6I65ZWi3LFqCZpx0Ne2jWeTsc yGLQ== 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 g2-v6si9883834plp.233.2018.06.23.07.34.51; Sat, 23 Jun 2018 07:35:11 -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 S1751585AbeFWOeJ convert rfc822-to-8bit (ORCPT + 99 others); Sat, 23 Jun 2018 10:34:09 -0400 Received: from hermes.aosc.io ([199.195.250.187]:38060 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751256AbeFWOeI (ORCPT ); Sat, 23 Jun 2018 10:34:08 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 8A07B631BF; Sat, 23 Jun 2018 14:33:55 +0000 (UTC) Date: Sat, 23 Jun 2018 22:18:21 +0800 In-Reply-To: References: <20180622124540.56203-1-icenowy@aosc.io> <20180622124540.56203-4-icenowy@aosc.io> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [linux-sunxi] [PATCH v2 5/7] arm64: allwinner: a64: add necessary device tree nodes for DE2 CCU To: julian.calaby@gmail.com, Julian Calaby CC: Rob Herring , Maxime Ripard , Chen-Yu Tsai , jagan@amarulasolutions.com, jernej.skrabec@siol.net, devicetree , "Mailing List, Arm" , "linux-kernel@vger.kernel.org" , "open list:COMMON CLK FRAMEWORK" , linux-sunxi From: Icenowy Zheng Message-ID: <3BDC9318-95A5-41BA-801E-6E0814249AFB@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2018年6月23日 GMT+08:00 下午10:06:27, Julian Calaby 写到: >Hi Icenowy, > >On Fri, Jun 22, 2018 at 10:49 PM Icenowy Zheng wrote: >> >> As we have all necessary parts to enable the DE2 CCU on the Allwinner >> A64 SoC, add the needed device tree nodes, including the DE2 CCU >itself >> and the DE2 bus. >> >> The "mixer0-lcd0" simplefb device node is updated to use the DE2 CCU. >> >> Signed-off-by: Icenowy Zheng >> --- >> Changes in v2: >> - Drop SRAM controller device tree node addition (as it's already >added >> as part of syscon change.) >> - Fix the clock reference in LCD SimpleFB. >> >> arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 30 >+++++++++++++++---- >> 1 file changed, 24 insertions(+), 6 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi >b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi >> index ff2ddde1e117..318c4ba8ae9f 100644 >> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi >> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi >> @@ -58,17 +60,12 @@ >> #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>; >> + <&display_clocks CLK_MIXER0>; > >Doesn't this technically break simplefb if this DT is used with a >Linux that doesn't have the display clock driver? 1. DT doesn't care forware compatibility. 2. This is a fix for not accurate HW representation. In fact I have sent the DT with simplefb using DE2 CCU before, but when they're pending, someone who just wants the simplefb sent the not temporary version.This must be fixed. > >Do we care about breaking that use-case? > >Thanks,