Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5227870rwb; Mon, 21 Nov 2022 19:05:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf72xPEvnxd0FOsNLX6Nq4ykz4LbqMrcj99BvlOypvDovNs8/jorYh+Uwc/jLmrqm7Ja4xo+ X-Received: by 2002:a17:90b:19d3:b0:212:dadc:23e3 with SMTP id nm19-20020a17090b19d300b00212dadc23e3mr23780655pjb.129.1669086317565; Mon, 21 Nov 2022 19:05:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669086317; cv=none; d=google.com; s=arc-20160816; b=1Fh70+6PavFaRt9CFvy00oFybMQPc2xxGx69yuvWt+6dBSKwvTWDqDr9pVTo52QE/l 3i2Cg5qgpdHocvYn4Z5BpBv84OEifGXFzRbxerbCbvd3+tNSAhQVHh3Y7dG05yoFUlV9 84dQtXXqahpxQb/KmWx2BwAWoV33e7tB+JfJ4Tn607AWHk5NN277wFv8BGKg/o+qErYw YY1Q8/x8xTdr0R++KFzEN7NrZw8qhtsAc4yWU7n5esl0Jl8pMnaMXYkp+GEkqGEdYuod P58+v0TkjVUGdyAN3uSlSQ4XLeV1ntz1MkuukoEYfB8qiHO/9+ZkIzCllcp/ebw1o6ga zusQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fR4TTSg2zbNX4APkCOOJTiQmPcPTjBaEtj06f3/p3i4=; b=Dk+4bOu/yys16JxI8vQLyWs80I6jOfS5g8+llFrh7frjg/6zInhxVyKfL5RI2fgnMR YL5Iqk1INFVyGMMtW5OVy5qFDZ2j+nKhV4ZRm8JdsGGyUG96XmUZ47Rd/a9MtCyP4Ou4 illf/YVbGDOPgYJcLUa/GTLEQ/AEm1qlU3rU4sI7A12LNNMV0+/pOaT3FjFfDfquzKOm JKkdVl1+osvz1rkuFDZAf148OHtXb1JF4LSQqlOscP2msoLZTracDSLcD4MM2teExZzL SiAZzOET9sLePISAYZWrNquk7HX8EVBt9tDrMBIkJxpSmWdO5t5V7qGQvSlFFH7JqOre C++w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=HNaqosC0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n3-20020a170902e54300b00186dcc389a8si14022260plf.329.2022.11.21.19.05.06; Mon, 21 Nov 2022 19:05:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=HNaqosC0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231915AbiKVCwo (ORCPT + 91 others); Mon, 21 Nov 2022 21:52:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229516AbiKVCwl (ORCPT ); Mon, 21 Nov 2022 21:52:41 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84C42D44; Mon, 21 Nov 2022 18:52:34 -0800 (PST) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 26BB8890; Tue, 22 Nov 2022 03:52:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1669085552; bh=JhpNgNVNgok6E1jULFfPl5D/k6Ab70suuFOFO6RXYNs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HNaqosC0y1jvnJVPNO13OG+NY1A3/SJeFFDjkJr8gD0XWDgP2YTDafzxwBO92c2rr 2Vx5Y5kIHXa3aH9B7vMArs39SJ4ACngliYE74220znHNFqc1scF5zKTuf5T6UnMgvp i2OComn2+gAidMWhsipaTBzu25YBtjd3i+UV8Ee8= Date: Tue, 22 Nov 2022 04:52:17 +0200 From: Laurent Pinchart To: Kieran Bingham Cc: Geert Uytterhoeven , Krzysztof Kozlowski , Magnus Damm , Rob Herring , Tomi Valkeinen , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , Tomi Valkeinen Subject: Re: [PATCH v1 3/8] clk: renesas: r8a779g0: Add display related clocks Message-ID: References: <20221117122547.809644-1-tomi.valkeinen@ideasonboard.com> <20221117122547.809644-4-tomi.valkeinen@ideasonboard.com> <166869413781.50677.10862438013473651942@Monstersaurus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <166869413781.50677.10862438013473651942@Monstersaurus> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 17, 2022 at 02:08:57PM +0000, Kieran Bingham wrote: > Quoting Tomi Valkeinen (2022-11-17 12:25:42) > > From: Tomi Valkeinen > > > > Add clocks related to display which are needed to get the DSI output > > working. > > > > Extracted from Renesas BSP tree. > > > > Signed-off-by: Tomi Valkeinen > > --- > > drivers/clk/renesas/r8a779g0-cpg-mssr.c | 14 ++++++++++++++ > > 1 file changed, 14 insertions(+) > > > > diff --git a/drivers/clk/renesas/r8a779g0-cpg-mssr.c b/drivers/clk/renesas/r8a779g0-cpg-mssr.c > > index c6337a408e5e..6937f1aee677 100644 > > --- a/drivers/clk/renesas/r8a779g0-cpg-mssr.c > > +++ b/drivers/clk/renesas/r8a779g0-cpg-mssr.c > > @@ -145,6 +145,8 @@ static const struct cpg_core_clk r8a779g0_core_clks[] __initconst = { > > DEF_FIXED("viobusd2", R8A779G0_CLK_VIOBUSD2, CLK_VIO, 2, 1), > > DEF_FIXED("vcbus", R8A779G0_CLK_VCBUS, CLK_VC, 1, 1), > > DEF_FIXED("vcbusd2", R8A779G0_CLK_VCBUSD2, CLK_VC, 2, 1), > > + DEF_FIXED("dsiref", R8A779G0_CLK_DSIREF, CLK_PLL5_DIV4, 48, 1), > > + DEF_DIV6P1("dsiext", R8A779G0_CLK_DSIEXT, CLK_PLL5_DIV4, 0x884), > > > > DEF_GEN4_SDH("sd0h", R8A779G0_CLK_SD0H, CLK_SDSRC, 0x870), > > DEF_GEN4_SD("sd0", R8A779G0_CLK_SD0, R8A779G0_CLK_SD0H, 0x870), > > @@ -161,6 +163,14 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = { > > DEF_MOD("avb0", 211, R8A779G0_CLK_S0D4_HSC), > > DEF_MOD("avb1", 212, R8A779G0_CLK_S0D4_HSC), > > DEF_MOD("avb2", 213, R8A779G0_CLK_S0D4_HSC), > > + > > + DEF_MOD("dis0", 411, R8A779G0_CLK_S0D3), > > dsi0? > > Oh - how curious - it's listed as dis0 in the datasheet. > Ok - so this is the DU *display* not DSI ;-) > > > + DEF_MOD("dsitxlink0", 415, R8A779G0_CLK_DSIREF), > > + DEF_MOD("dsitxlink1", 416, R8A779G0_CLK_DSIREF), > > + > > + DEF_MOD("fcpvd0", 508, R8A779G0_CLK_S0D3), > > + DEF_MOD("fcpvd1", 509, R8A779G0_CLK_S0D3), > > + > > checks out. I guess the fcpcs is the CSI related FCP ? Anyway, if it's > not needed it can be ignored for now. > > > > DEF_MOD("hscif0", 514, R8A779G0_CLK_SASYNCPERD1), > > DEF_MOD("hscif1", 515, R8A779G0_CLK_SASYNCPERD1), > > DEF_MOD("hscif2", 516, R8A779G0_CLK_SASYNCPERD1), > > @@ -193,6 +203,10 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = { > > DEF_MOD("tmu3", 716, R8A779G0_CLK_SASYNCPERD2), > > DEF_MOD("tmu4", 717, R8A779G0_CLK_SASYNCPERD2), > > DEF_MOD("tpu0", 718, R8A779G0_CLK_SASYNCPERD4), > > + > > + DEF_MOD("vspd0", 830, R8A779G0_CLK_S0D1_VIO), > > + DEF_MOD("vspd1", 831, R8A779G0_CLK_S0D1_VIO), > > + > > Reviewed-by: Kieran Bingham I can't verify the MSTP clock parents, I assume they come from the BSP, so Reviewed-by: Laurent Pinchart > > DEF_MOD("wdt1:wdt0", 907, R8A779G0_CLK_R), > > DEF_MOD("cmt0", 910, R8A779G0_CLK_R), > > DEF_MOD("cmt1", 911, R8A779G0_CLK_R), -- Regards, Laurent Pinchart