Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1375437pxb; Fri, 21 Jan 2022 16:57:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9s53KQ5pgZJ+HpExsDIcFl1izuYbeQvlVg2P6wE1AMqv0aq3eNYzNnXHHEiO0HnvEBZNR X-Received: by 2002:a17:902:bf02:b0:149:c653:22af with SMTP id bi2-20020a170902bf0200b00149c65322afmr5905668plb.139.1642813037967; Fri, 21 Jan 2022 16:57:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642813037; cv=none; d=google.com; s=arc-20160816; b=py2Hy79oprfuzPMZds8ylKLYWAS7SbJacHGByvwmynhTriztExCiIz8x19gxtBVIih t7M0x36Arj58xKFydugv3hDIJomrEVlq+XvuvB9e/tRZRbRWjFyTiFZSKGoS4+b+A044 vEmFbwdIO4d5tnNmGmyqG7cllw4wJ5poRE0LXEvb3+WLVrsNlI/9FtnQP2RSp6g+veJ1 mpqu/+Xnng79r8+VRCsg+jPRFUmKTU6+vSNeytNSrc0184B0gssrJcESRKQ20IFWRBRi lMMgmarzgsSwSpzdlZ3RGj9bNf7+tktoSsF9m/8NrQuDwWrx2BT/uM4YIuYyWiQQ9wV3 QHiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=LrBn+sU3xPZoZbTSmClVWFWVTh+PkU+kyY1fOibG0gY=; b=yS51J4kcve2lbiHQTjgmzIPFHmT8OonfT1mowvCwYBUKo8Flo3mb2bjfjZcbwmcWiT fFm2YnA9SLgZKjTObmxHKV1pcxBvY4V16lXWafYaPH03EwJL7/bT120TsC3OVUTslTyq rl3UuPNPpNSAze3LzPKXtzcKjiaTV7hddoH/kLISDWVQWgCafxVfTsVRzhO1N7f3QJqB DmSv+/dbqO5sqdgAXHCF3SAJlI5S9uZs6y4MXkkdTYam3MvZpbG9xJ3UcOnenqzE5gkz ZJp39SXOJE0YrgAnLlanjB+r00Otzvut30sJkC7qL25xAWJQJ95RJTp0i9CeYYIzzvG3 mWrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iuUsnLya; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si8816946plh.240.2022.01.21.16.57.06; Fri, 21 Jan 2022 16:57:17 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iuUsnLya; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350294AbiAULxM (ORCPT + 99 others); Fri, 21 Jan 2022 06:53:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350282AbiAULwl (ORCPT ); Fri, 21 Jan 2022 06:52:41 -0500 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CB4AC061748; Fri, 21 Jan 2022 03:52:41 -0800 (PST) Received: by mail-yb1-xb2c.google.com with SMTP id c6so26885765ybk.3; Fri, 21 Jan 2022 03:52:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LrBn+sU3xPZoZbTSmClVWFWVTh+PkU+kyY1fOibG0gY=; b=iuUsnLya38oBI1uiUxjA+G4adtFWjuN4RaUaz12XN4S4gO7rOFWYTcC0xu2ekXcaQB 2z4/iCBIbHCI1uUx9KsY5PK35P9mQVt/inLseRUMEU3M1q2QRIKWh97hLTXNzBpgV2ma 9GCWiy1eLXB9hmWk2sCg8oVxJ3Nk/E/MsormuboHFSiha1U/oiuWAIgSfosvnffVVIMC 0+DBqqUcqirKwNX0/CsQkFTx8DReumsp3+BpThGtsjdQMSjRj2gX2t7Bg5Zxq1Adk97s pGphh9R51SdvkatJSH4eJxAJpZutGTQAd5obfe/R/H1KUxwXMrLoJKgHpC3orQaf6uHt I+NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LrBn+sU3xPZoZbTSmClVWFWVTh+PkU+kyY1fOibG0gY=; b=5FP735qyV1q4Fajh8SsaKlu/Yx8dpF3C9S9VVNkkTKtt3bEFES6KblEQ3Yt4EmBwXx Ujc/IHeWbfg8s1hgHXckENfwSXClJt4E9BQA6yKfG7EQC+B+8Hh4k1KlNz9rf9bw5N/P llC/HaR4sRE8lpb0P2rWdyg/+x4w1IRMcjqALDDCnE4bYlaUFwEpM3Z8fKw9BRISHIOk fZKS2geOVfuVgmEA0l948Nm5hJc2Q38tqptFTex0X7KUJDXlfebSADLrGkJ4KWPqBPLR zbG0PNH80v7+6WDiOJlfvxuB+wblvOGiIq2y/ynTouDTLx4u14B3ENwJkklq0OF+v8i9 qemg== X-Gm-Message-State: AOAM531eNwRezzWqOzE9fwR4Ja/3pUE8EO4bTa5w/ly4CF/3fIEhNBud C/7W2F50spdoNdiiNzBRX+nYkrdR5VHAujmlHXY= X-Received: by 2002:a25:3716:: with SMTP id e22mr5445974yba.690.1642765960295; Fri, 21 Jan 2022 03:52:40 -0800 (PST) MIME-Version: 1.0 References: <20220121010543.31385-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220121010543.31385-2-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Fri, 21 Jan 2022 11:52:14 +0000 Message-ID: Subject: Re: [RFC PATCH v2 1/4] media: dt-bindings: media: Document RZ/G2L CSI-2 block To: Geert Uytterhoeven Cc: Lad Prabhakar , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Jacopo Mondi , Philipp Zabel , Mauro Carvalho Chehab , Rob Herring , Laurent Pinchart , Sakari Ailus , Hans Verkuil , Linux Media Mailing List , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Biju Das Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, On Fri, Jan 21, 2022 at 9:26 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Fri, Jan 21, 2022 at 2:06 AM Lad Prabhakar > wrote: > > Document the CSI-2 block which is part of CRU found in Renesas > > RZ/G2L SoC. > > > > Signed-off-by: Lad Prabhakar > > Thanks for your patch! > > > --- > > Hi Geert/All, > > > > vclk and pclk clocks are shared with CRU both CSI and CRU driver are using > > pm_runtime. pclk clock is necessary for register access where as vclk clock > > is only used for calculations. So would you suggest passing vclk as part of > > What do you mean by "calculations"? To set the CSI2nMCT2 register bits (FRRSKW/FRRCLK), vclk clock rate is used. > The bindings say this is the main clock? > That is because the RZG2L_clock_list_r02_02.xlsx mentions it as the main clock. > > clocks (as currently implemented) or pass the vclk clock rate as a dt property. > > Please do not specify clock rates in DT, but always pass clock > specifiers instead. > The clock subsystem handles sharing of clocks just fine. > Agreed. Cheers, Prabhakar