Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1005786pxa; Fri, 28 Aug 2020 00:32:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxM6irn5Me58FZ4+kZbXkjzUtPU6oFawcHHHg+0GH4tzVi+CBH3ol8I40vTb61zwKo5dAHC X-Received: by 2002:a50:f14e:: with SMTP id z14mr528113edl.63.1598599969668; Fri, 28 Aug 2020 00:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598599969; cv=none; d=google.com; s=arc-20160816; b=XhF7wTTciKRSio+LxvXMvWVzLh+u86viX/eZ/jiYnVbkjIWI07D+7cML0kbtB0wD62 Z1nT8e8z5oH15J70cXQwbru9ukur1jJ+APlPlFzCi8TyeQvy5/kduG3K5eEmU0gSVm69 hmUDdyZLAdcHMJTIil2cFbbJA9Ksa+nPibXaOgIJAhjHuEDf3Y/kNLfgcp0jkyS8g8WW RAzIUgiJixp3KOMu5hS0RUE7cH+/26kTE05W2SDsfineEXd7zsGM6LkKROrTBsrjynZc hZw6Uo2R6qltZhi3w9lADocX+YgDju0kF3cK97M3equbQURyLcSviWeqtaFcILOVopzb kM5Q== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=MP2gBQnuREHLXuEdqZTAoDx7qUrHE/7kqnkPwlp45Ho=; b=J64YSfJl2D+Z4/4j1b7mX4ds7aAVmMxarvvs5vQs9VWmipGXhkRNArAH4l84A4VAU2 ItsGerP0ei/FMygfoe9EH1/4m9GqMdxNRrsHAMGjVQ8B71DUJMhOiTYPDkRdGY86iVJW 9vO7kIX0ty0tiNutLXlwZ0TELgfkqSrmixvr4kawps1vXFnzt25rBtAzY5KF88bKrzse V7WIR4KAtpMlkf6QaEA8cuc8qQO4IKq2Y0pgFIK2v2yogY+5Yt0LVxlH46be3TllKsuE d2PXyuEp6lqYkd7PaC+iQN/tZOXtHglctkUtJJuEK0wr7DfRkp9p2LA/ncqlhbVDCbwo bd0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 25si125869ejx.355.2020.08.28.00.32.27; Fri, 28 Aug 2020 00:32:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728458AbgH1Hbm convert rfc822-to-8bit (ORCPT + 99 others); Fri, 28 Aug 2020 03:31:42 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:63101 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726500AbgH1Hbl (ORCPT ); Fri, 28 Aug 2020 03:31:41 -0400 X-Originating-IP: 90.89.180.255 Received: from lhopital-XPS-13-9360 (lfbn-tou-1-1372-bdcst.w90-89.abo.wanadoo.fr [90.89.180.255]) (Authenticated sender: kevin.lhopital@bootlin.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 2B49E24000C; Fri, 28 Aug 2020 07:31:33 +0000 (UTC) Date: Fri, 28 Aug 2020 09:31:33 +0200 From: =?UTF-8?B?S8OpdmluIEwnaMO0cGl0YWw=?= To: Maxime Ripard Cc: linux-media@vger.kernel.org, mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, yong.deng@magewell.com, p.zabel@pengutronix.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, paul.kocialkowski@bootlin.com, thomas.petazzoni@bootlin.com Subject: Re: [PATCH 7/7] [NOT FOR MERGE] ARM: dts: sun8i: a83t: bananapi-m3: Enable OV8865 camera Message-ID: <20200828093133.42dac9ad@lhopital-XPS-13-9360> In-Reply-To: <20200827153843.mjcnc5fiuxj3df3s@gilmour.lan> References: <20200821145935.20346-1-kevin.lhopital@bootlin.com> <20200821145935.20346-8-kevin.lhopital@bootlin.com> <20200825144022.mwkcqaqny7l5bab4@gilmour.lan> <20200826105834.0100d4a7@lhopital-XPS-13-9360> <20200827153843.mjcnc5fiuxj3df3s@gilmour.lan> Organization: bootlin X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Le Thu, 27 Aug 2020 17:38:43 +0200, Maxime Ripard a écrit : > Hi, > > On Wed, Aug 26, 2020 at 10:58:34AM +0200, Kévin L'hôpital wrote: > > > > +&ccu { > > > > + assigned-clocks = <&ccu CLK_CSI_MCLK>; > > > > + assigned-clock-parents = <&osc24M>; > > > > + assigned-clock-rates = <24000000>; > > > > +}; > > > > > > Why do you need to use assigned-clocks here? > > > > I could do it in the ov8865 node, does it sound good to you ? > > I mean, it depends on why you want to do it :) > > If that's because the sensor expects a clock in a particular clock > range, then it should be enforced in the sensor driver itself. > > Maxime Yes I will put it in the sensor driver. Thanks for the answer. Kévin -- Kevin L'Hopital, Bootlin Embedded Linux and kernel engineering https://bootlin.com