Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7354532yba; Thu, 2 May 2019 08:30:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1fXEr+dL4DuaHG/55RnctXbgwU8hEeCgJgqVcwGLEEFbOjX6icrE/sMTdky/eapAj+t2z X-Received: by 2002:a62:448d:: with SMTP id m13mr4989804pfi.182.1556811032425; Thu, 02 May 2019 08:30:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556811032; cv=none; d=google.com; s=arc-20160816; b=gjQgaojISAGPVWttElITI1mxCB0obNOB3iU30h4mIwE2YQc+/6crAfJt/KKlWqnxLE flgYq0kdvBrglnHwujhvd4n5eVQDtsQ7B01n+7sgIY/WadG6TS1OZJ3493YOMSLobucf R3m8qZEfx1kUKGVyCup55LwuHxbYGhiQSfXW7DFfflIfroUBAg7SFv2tPA/WxQrUinf+ 9W2YBVALW+4+sQsOPKkcmpn5zU3f6f2iBDi/e23e2P1IItx7b4MwzyPZJTKqdT349+Wm m/BPPKsnLdvi3z+3KjumxQn4BE6TZb8DeUkdTfRaHIjAFdrq+Pvs49IkcEp5PerkqQTC CL7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=prm1fyhXs0jWTAHPn6CLV/HtaSlxTqydNTX71G2xSCs=; b=TXj89acSSDWe3Jb1aU2E8wdIHQb/w9+teLdwglEc8M8JWs8R1P1FDYdNCQjO/35Tb+ LGGwjT/ILdzhpu7QDfdXkzybBEAFJ1edTwPuxyhYuXdAMCeHoT7Wp/w+QuK9Q3tFVt5m tj4MIwYCWYD9ZeRn57v/egkPteslTZjDjP3M3/MhV24SaGDUf+8TaZN6TJ/1cwrG4CoS DAaZxAXZOZENddsuvaZfubBvehON56QNTXmxJcq8q+xt3ZBor6MvRYrDMRGlKl4QTvBF 8L81PJNsfwcvX+Y7LxBgQaHw4SANMXyENIVM6O5189ED8Gl+Tmdp5k+D41t+9ySfUjt3 H7SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=r0Ah6TDQ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4si2203477pgg.284.2019.05.02.08.30.16; Thu, 02 May 2019 08:30:32 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=r0Ah6TDQ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727097AbfEBP25 (ORCPT + 99 others); Thu, 2 May 2019 11:28:57 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:40161 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728305AbfEBP2y (ORCPT ); Thu, 2 May 2019 11:28:54 -0400 Received: by mail-lf1-f68.google.com with SMTP id o16so2194143lfl.7; Thu, 02 May 2019 08:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=prm1fyhXs0jWTAHPn6CLV/HtaSlxTqydNTX71G2xSCs=; b=r0Ah6TDQTHwK7cH76U0v6wgZe6avx5iEHW7ZyZtQeMWJ0BM96xdA5Cl0z7TybVCWq2 GdJs4hBIjaMk2+bN1HDaTf6zOqe5hO2sgp6ZtwfTS5/fgwSJDtrNJWjCDsbNjpl3/Sa4 pymiyFG6nYLpfuMR0Z6lMg2u0eUJ4y2Q7N2OfhBsIvVvaOFxPAvTamFXL7Nc7D/v6Wfu IAjQPZdRp88rdrNlYeCMsQUlqoccabRM797x4zAWUFICHLLBwyerZdw7uU9+/LxV2+Cf JPDpJOTOT9fun6uCI1IgogwQHc91rbibBlm3/21cJycV86XiKrFcKaWknQV1nMlUbn7F S9lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=prm1fyhXs0jWTAHPn6CLV/HtaSlxTqydNTX71G2xSCs=; b=da7XReLoTdCycnQ2Jbl/0iF4haiP5uF7YMWetEv/mlynALo1sON1DqkLzlp+KpL35p NbSN1tZ781FacuMU9QCa5SgC8Vy2GqEKzpqbi+zwO6d6CNVm6PmsIAbnRZmVHgAEuueB 0Z4Y2/6LiwEk02FiwwTQn2UcQyZctJRle/lDIdteQSUGg/awodmE0rX42xNPxBXxYAA2 0EHI2nB+Q31dmngcLqvT348X3mfBUJZSiv+JRxUiQCeY8v1sChSHWqDG8dWP3fzYY37V qkgSeC8x0YikSVxT43/ddoaajmkXJl7BH1VLtxXotFw18+7e5Ve7cIqt36S2vlJ3P7EE gLkQ== X-Gm-Message-State: APjAAAXfHWs61zcOWrSXzrVx6WgavmHMaGmrAZXaXtilHl242T/6sCRw ojA4g93aLpQE0PHiIJcBbVdbr729ATcqKuXD+9s= X-Received: by 2002:a19:f001:: with SMTP id p1mr2498539lfc.27.1556810932481; Thu, 02 May 2019 08:28:52 -0700 (PDT) MIME-Version: 1.0 References: <20190430074730.8236-1-sebastien.szymanski@armadeus.com> In-Reply-To: <20190430074730.8236-1-sebastien.szymanski@armadeus.com> From: Fabio Estevam Date: Thu, 2 May 2019 12:28:46 -0300 Message-ID: Subject: Re: [PATCH 1/2] ARM: dts: imx6ul: Add csi node To: =?UTF-8?Q?S=C3=A9bastien_Szymanski?= , Rui Miguel Silva Cc: linux-kernel , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , NXP Linux Team , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Mark Rutland , Rob Herring Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Adding Rui] On Tue, Apr 30, 2019 at 4:47 AM S=C3=A9bastien Szymanski wrote: > > Add csi node for i.MX6UL SoC. > > Signed-off-by: S=C3=A9bastien Szymanski > --- > arch/arm/boot/dts/imx6ul.dtsi | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dts= i > index 62ed30c781ed..af322bc58333 100644 > --- a/arch/arm/boot/dts/imx6ul.dtsi > +++ b/arch/arm/boot/dts/imx6ul.dtsi > @@ -951,6 +951,17 @@ > }; > }; > > + csi: csi@21c4000 { > + compatible =3D "fsl,imx6ul-csi", "fsl,imx= 7-csi"; > + reg =3D <0x021c4000 0x4000>; > + interrupts =3D ; > + clocks =3D <&clks IMX6UL_CLK_DUMMY>, > + <&clks IMX6UL_CLK_CSI>, > + <&clks IMX6UL_CLK_DUMMY>; > + clock-names =3D "axi", "mclk", "dcic"; Also, I understand you followed Documentation/devicetree/bindings/media/imx7-csi.txt and passed these three clocks, but looking at the i.MX7D and i.MX6UL/ULL Reference Manuals, I don't find the the descriptions for the "axi" and "dcic" CSI clocks. It looks like that only "mclk" is what we really need here. Should we change the bindings and the imx7-csi driver to not request "axi" and "dcic" clocks? Rui, what do you think? If you agree I can send a fix for this. Thanks