Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2092099rwb; Thu, 17 Nov 2022 06:29:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf6KrnsBUiDk+NWyad2bZ9lGSOM+NNgxWn170UYAppaHb53c7QsKH/sCkUmCkQntqiQX2J3W X-Received: by 2002:aa7:9159:0:b0:572:24c7:34da with SMTP id 25-20020aa79159000000b0057224c734damr3200983pfi.73.1668695373070; Thu, 17 Nov 2022 06:29:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668695373; cv=none; d=google.com; s=arc-20160816; b=Z8RoNlvLNcbV6PvzJMb5OomtaB1XVSAKE/H60B2NwrifoQ1lDVn/vgmihUTEfqGtyQ Q337M62oJX+rygvIcan+VmFaJUi5f6k5khawAXgOZ1O43LPPn1Gr72afGdjd6EpmZ//1 cT+WiCPu35nm4H0zlTys3w15zbCwwHRwhy6fqZI/1mX6dRguHxcVS3NlWsb7jIvIgbvT EQJG8+LZovFbg6U25JcVTeWxHjiDmeale/bTn/sjydPnRpUS8gQjfeEjq64q5STMT6YL C5QV3aGpQhS9CEJHsfLqAF2BoBj3nxZQlv6NJPWQURe+nFqCBQWe2g++W1s/2HFfOFIU igMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=X3IJvee/CnTZICp0i7Hz7db82pjPgn7ZtB2RfKMWc4U=; b=FcHnxUEwDZqvGcF4g10b/8XQV9e76i5YFsdqvrEquQAWsMfusu+BrTryZNuBaSAwhd DvYWUl8D/pHRDKX699lK6KL5t3NUw1TWGndGQNYL3yykkmzhyxav4S2zTEint04SxGN1 6WB99u2BeVRCEo99bV9MHFjNeBhs2OgftVmCdGyHFE5lcnMKv+wsDR0lZ6VqPRmn6rMZ /VFj7p6rpUEaAV6GmWNPol2LNVpDoJk+Qhg8DrxjpZwAAGr5ayGCudhIY6TIXVmeNmVa 20gK54wPW8mGUdo9lfMU900YIeNc3lSr8CV0Lr3E1gikuTAnn3ZYrJ+z40Hze8KxOuLy Po4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=nArpv6Aj; 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 2-20020a630b02000000b0043c474c8942si1014411pgl.673.2022.11.17.06.29.20; Thu, 17 Nov 2022 06:29:33 -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=nArpv6Aj; 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 S239712AbiKQOJT (ORCPT + 92 others); Thu, 17 Nov 2022 09:09:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239766AbiKQOJD (ORCPT ); Thu, 17 Nov 2022 09:09:03 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3524E4D5C4; Thu, 17 Nov 2022 06:09:02 -0800 (PST) Received: from pendragon.ideasonboard.com (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 23FE6929; Thu, 17 Nov 2022 15:09:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1668694140; bh=l3w4hDhFa9Q3sZuthvIK7obC041o1KWG3D5dnjxX6h8=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=nArpv6AjlaW4aiWbQIjXqz/lmnYN27IiyKDXnG+PmNfWkkqcOidTx/6fh1P6i5GE5 qHDCb9ZE9r+4CAFjfnTMwXRlIxPcKGsEi3GzuW5dO3sRa55j7CLI+99Vdi/4p3zFNx +wLWVVgW6TBPQpqNz4tx6M/Ow5sN1J51n4CWWklo= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20221117122547.809644-4-tomi.valkeinen@ideasonboard.com> References: <20221117122547.809644-1-tomi.valkeinen@ideasonboard.com> <20221117122547.809644-4-tomi.valkeinen@ideasonboard.com> Subject: Re: [PATCH v1 3/8] clk: renesas: r8a779g0: Add display related clocks From: Kieran Bingham Cc: Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , Tomi Valkeinen To: Geert Uytterhoeven , Krzysztof Kozlowski , Laurent Pinchart , 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 Date: Thu, 17 Nov 2022 14:08:57 +0000 Message-ID: <166869413781.50677.10862438013473651942@Monstersaurus> User-Agent: alot/0.10 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 Quoting Tomi Valkeinen (2022-11-17 12:25:42) > From: Tomi Valkeinen >=20 > Add clocks related to display which are needed to get the DSI output > working. >=20 > Extracted from Renesas BSP tree. >=20 > Signed-off-by: Tomi Valkeinen > --- > drivers/clk/renesas/r8a779g0-cpg-mssr.c | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) >=20 > diff --git a/drivers/clk/renesas/r8a779g0-cpg-mssr.c b/drivers/clk/renesa= s/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 =3D { > 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, 4= 8, 1), > + DEF_DIV6P1("dsiext", R8A779G0_CLK_DSIEXT, CLK_PLL5_DIV4, 0= x884), > =20 > 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 =3D { > 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 =3D { > 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 > DEF_MOD("wdt1:wdt0", 907, R8A779G0_CLK_R), > DEF_MOD("cmt0", 910, R8A779G0_CLK_R), > DEF_MOD("cmt1", 911, R8A779G0_CLK_R), > --=20 > 2.34.1 >