Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp782240imu; Fri, 25 Jan 2019 10:53:02 -0800 (PST) X-Google-Smtp-Source: ALg8bN5uwmNT+mZGCXcG5FKh+niAhREvU9dTbgEprzl8qakiXFtew8zyUX0mdsqEYCmvZxdBMYfQ X-Received: by 2002:a62:a209:: with SMTP id m9mr12270344pff.218.1548442382623; Fri, 25 Jan 2019 10:53:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548442382; cv=none; d=google.com; s=arc-20160816; b=laYZXsZTc+5rftjPfN7YKb5HDG2tirOsKCWzSmXQvcpZNXyxiaedP6lYGJKELjp+ZH Md5F6Jo0vW53peX3AMblUBL0vAfgKmMeTf4yS3+VyjQDhSL2mGheTO4oQtzAWmpC0WFp wRbFF8pkdddNpqzi1FCHCQj2RL2Gjz+QP+jcg12KibSksKhdRvM6n2QACmSmTjeMiU+x LQCPxW7QfKOIb5RSvUrpJapi5VmNvek/z9yJRfxJnY1Qc0MLNAK25ccjFWlvMS6RN4fc WLFVAgFW2DIfGJkSKdlCemN6VfaRWtz6ETTh5ao9a3Fs/I6Ec7mOtdsVr+9MPGQ1Pw0r kxmQ== 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; bh=SH5CoyVdBinzfdUuk1BN3InQgRaz5OJbtaJtODA/6CM=; b=dpmkNMZWWNTB1vng/SxIyBByXHQraAoL+aDNbAmRAwlsG3Ahu2W4zOyY5jWlLMwx4t ET3K5AJrBCI8AmEIZG7DeDOCUUwChibEYqbUMMTI6JZNalrAyCC/Q4nlQuSfFJiNIgf2 RI4EbpZioxjSbWlpmzkEH0l0+jseujrpC8JLPZx/4dOx+EYJPmvVHsY+u/Hp0lHUPVud 4A/lKWGl6Viou7xO6rIR0Q8SUC4zDU72TmhINkJx/sbHV6bsCqIPPBTVUo34XOjIJLAs uaMhNzQJ3mMSAqgxdTjcAf5Azq9TD8Fbrc6IKT+RKCQF+fNIj2hwqE6JF8kqir2kn2vm tL7Q== 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 h2si27013368pfa.119.2019.01.25.10.52.47; Fri, 25 Jan 2019 10:53:02 -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; 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 S1726321AbfAYSvZ (ORCPT + 99 others); Fri, 25 Jan 2019 13:51:25 -0500 Received: from mail.bootlin.com ([62.4.15.54]:59956 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725778AbfAYSvZ (ORCPT ); Fri, 25 Jan 2019 13:51:25 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 188B2207B6; Fri, 25 Jan 2019 19:51:22 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (lfbn-1-10718-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.bootlin.com (Postfix) with ESMTPSA id D3EE020734; Fri, 25 Jan 2019 19:51:21 +0100 (CET) Date: Fri, 25 Jan 2019 19:51:22 +0100 From: Maxime Ripard To: Jagan Teki Cc: David Airlie , Daniel Vetter , Chen-Yu Tsai , Michael Turquette , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Michael Trimarchi , linux-amarula@amarulasolutions.com, linux-sunxi@googlegroups.com Subject: Re: [PATCH v6 16/22] arm64: dts: allwinner: a64: Add DSI pipeline Message-ID: <20190125185122.idyipbgcgy5fzf7q@flea> References: <20190124195900.22620-1-jagan@amarulasolutions.com> <20190124195900.22620-17-jagan@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190124195900.22620-17-jagan@amarulasolutions.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 25, 2019 at 01:28:54AM +0530, Jagan Teki wrote: > The A64 has a MIPI-DSI block which is similar to A31. > > Add dsi, dphy nodes with A31 fallback compatible and finally > connect the dsi node to tcon0 node to make proper DSI pipeline. > > Signed-off-by: Jagan Teki > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 47 +++++++++++++++++++ > 1 file changed, 47 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > index cdc154b14a7e..e18d81aff813 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > @@ -358,6 +358,12 @@ > #address-cells = <1>; > #size-cells = <0>; > reg = <1>; > + > + tcon0_out_dsi: endpoint@1 { > + reg = <1>; > + remote-endpoint = <&dsi_in_tcon0>; > + allwinner,tcon-channel = <1>; > + }; > }; > }; > }; > @@ -935,6 +941,47 @@ > status = "disabled"; > }; > > + dsi: dsi@1ca0000 { > + compatible = "allwinner,sun50i-a64-mipi-dsi", > + "allwinner,sun6i-a31-mipi-dsi"; > + reg = <0x01ca0000 0x1000>; > + interrupts = ; > + clocks = <&ccu CLK_BUS_MIPI_DSI>, > + <&ccu CLK_DSI_DPHY>; This one looks weird. There's only a single clock in the A64, and it seems to be for the D-PHY only. And the rate is fixed at 148.5 MHz apparently, as opposed to the current code that is running at twice that speed. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com