Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp521936pxu; Thu, 15 Oct 2020 09:33:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJg28s2tq13Bal79S7AVD3N//Vx+/ky43+7Ih/0tT7buEFp7uwX26sUInS6vrHPWc3T+Bm X-Received: by 2002:a17:906:5247:: with SMTP id y7mr5159664ejm.503.1602779636669; Thu, 15 Oct 2020 09:33:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602779636; cv=none; d=google.com; s=arc-20160816; b=AnVieJ0qur5iqnL8yjbLnHEatsps9ZzD8ZPdDmf6cpTXRXduPCJhQPQYXJDmZmcOoR iidl1w0PUzarTM4jL+7o9pznawpxxENO0m0We82nN89Ejn3uOm/R58jeD0FvJPmwTOAP oITMA9uXT2E/0A/bwh4xat0uIYcmWfe1bLKYqCFzJksCSz8nOQ5O45wOR2xNf7L7t6U0 2C4hWESLsqObGxQ7wy+Dg4zRkro58esH7n4SkG27smI3zz7FxJDWSL735ZG6MOSxF+x3 PEAtmAleb9SX1BKcPwRSs1w794+yhd7KCUFDeF+cCE/WdInw2pYPJf2u/uSFlo05ejyN azig== 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; bh=pz9g06W+U8fqqaxtXPr5RxBzMpWWi3drvigeMoDInTw=; b=dQvjZiibhMGDWZ5N7GWmiU+vcx5yVr5Vo8DScn+sw4KY3ezOsI3zcZtyWTSSt02BWy jd9Ym03fNlikFk0whgz6vm8EOrapbznsQ2n0NxlJvLAyDQGbtrB4WtGt8n0X1rA+2BKP ochFdxyXNvHz2vzaH0u/kfoOXj2bRNotLpTFiTWIxdGjvg7VhA8dXh0cwQaW/x2Zujqn yoilJsaNQQOPx4QaIVUat8iDQ1+fTo2KNugnT6/bQY5MdNwjxI7udUl8kcVm3aEtxNgQ 60domO2YHgXm2Cj6ItiPDlqPGfhgHBoi6xhGRvHRZEGs6N68cdVdHEeOlm5q7xRt6ke2 FBXA== 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 h12si2393017ejg.216.2020.10.15.09.33.25; Thu, 15 Oct 2020 09:33:56 -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 S2389725AbgJOQaQ (ORCPT + 99 others); Thu, 15 Oct 2020 12:30:16 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:45939 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388357AbgJOQaQ (ORCPT ); Thu, 15 Oct 2020 12:30:16 -0400 Received: by mail-ot1-f66.google.com with SMTP id f37so3427328otf.12; Thu, 15 Oct 2020 09:30:15 -0700 (PDT) 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; bh=pz9g06W+U8fqqaxtXPr5RxBzMpWWi3drvigeMoDInTw=; b=dVhBK1R6XSeHRfZEtre3XCWip8Cm7UPWu0MQagKWNZ20Olpzy6yUEi0YJLLC/LbBdM kgAia04IKWokLdMolWPSE+Mf/ThPCxHcrdjhigtpghews6Y20TqT4nTcJEms5jiBMX76 dVP+b7HASWX4oEa7r9gs7FwodQSoxUrzUwhXvdz/haYg4DzvQFZBnDznH2RnOo8oInNm JNBpi9Jtw7RR7DGGegjKAVvzs07cFRJ2qMsl9mPrHbAKLjVED4vN6+awjy3l9Hqu9g/W E4CY5ZTBFu89sw8URvjYFBTpbwt4mQN/DJtFq0DYxz9MrP+hFeRSX3KtAk+GFEgVS27V 9V6Q== X-Gm-Message-State: AOAM531zMaefNMIjHUehjHQ+7/C1v2HYBTH91xlauVQXGY2eZZbfCjUV WK4wF5SYwinnF5xIDwCwXAge85M7NrMOSfzfXqc= X-Received: by 2002:a05:6830:210a:: with SMTP id i10mr3210788otc.145.1602779415417; Thu, 15 Oct 2020 09:30:15 -0700 (PDT) MIME-Version: 1.0 References: <20201014094443.11070-1-jacopo+renesas@jmondi.org> <20201014094443.11070-5-jacopo+renesas@jmondi.org> <0de062e4-0385-444b-1abc-881c313a6479@gmail.com> <20201015093227.y3n5ohzuydg2fe3t@uno.localdomain> In-Reply-To: <20201015093227.y3n5ohzuydg2fe3t@uno.localdomain> From: Geert Uytterhoeven Date: Thu, 15 Oct 2020 18:30:03 +0200 Message-ID: Subject: Re: [PATCH 4/6] clk: renesas: r8a779a0: Add VIN[00-31] clocks To: Jacopo Mondi Cc: Sergei Shtylyov , Jacopo Mondi , Linux-Renesas , Laurent Pinchart , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacopo, On Thu, Oct 15, 2020 at 9:32 AM Jacopo Mondi wrote: > On Wed, Oct 14, 2020 at 09:55:32PM +0300, Sergei Shtylyov wrote: > > On 10/14/20 12:44 PM, Jacopo Mondi wrote: > > > Add clock definitions of the VIN instances for R-Car V3U. > > > > > > Signed-off-by: Jacopo Mondi > > > > > > --- > > > Clocks at indexes 730 and 731 are named 'vin0' and 'vin1'. > > > I assumed it's a typographic error and renamed them 'vin00' and 'vin01' > > > --- > > > drivers/clk/renesas/r8a779a0-cpg-mssr.c | 32 +++++++++++++++++++++++++ > > > 1 file changed, 32 insertions(+) > > > > > > diff --git a/drivers/clk/renesas/r8a779a0-cpg-mssr.c b/drivers/clk/renesas/r8a779a0-cpg-mssr.c > > > index bd54a28c50ee..2a00eb82013f 100644 > > > --- a/drivers/clk/renesas/r8a779a0-cpg-mssr.c > > > +++ b/drivers/clk/renesas/r8a779a0-cpg-mssr.c > > > @@ -149,6 +149,38 @@ static const struct mssr_mod_clk r8a779a0_mod_clks[] __initconst = { > > > DEF_MOD("scif1", 703, R8A779A0_CLK_S1D8), > > > DEF_MOD("scif3", 704, R8A779A0_CLK_S1D8), > > > DEF_MOD("scif4", 705, R8A779A0_CLK_S1D8), > > > + DEF_MOD("vin00", 730, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin01", 731, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin02", 800, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin03", 801, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin04", 802, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin05", 803, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin06", 804, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin07", 805, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin10", 806, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin11", 807, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin12", 808, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin13", 809, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin14", 810, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin15", 811, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin16", 812, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin17", 813, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin20", 814, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin21", 815, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin22", 816, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin23", 817, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin24", 818, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin25", 819, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin26", 820, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin27", 821, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin30", 822, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin31", 823, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin32", 824, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin33", 825, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin34", 826, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin35", 827, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin36", 828, R8A779A0_CLK_S1D1), > > > + DEF_MOD("vin37", 829, R8A779A0_CLK_S1D1), > > > The subject says VIN[0-31]? > > There are 32 VIN instances (hence the [0-31] in the subject), grouped > in 4 units of 8 channels each. > > I can drop the [0-31] in the subject if it's confusing. The VIN naming in the R-Car V3U documentation is very confusing. E.g. all of the following are used, and refer to the same channel: 1. VIN37, 2. VIN31, 3. vin3 ch7. Looks good to me, but I cannot verify the parent clocks Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds