Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6099677rdb; Mon, 18 Sep 2023 04:24:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFV0ZfO86KI7QwOPqmLdCd43rYtCmane1xCn/KpQn0yG3ALSwtsTu3ODNZ1yBwaxoDqOfpw X-Received: by 2002:a05:6a00:22c6:b0:68e:4587:3da9 with SMTP id f6-20020a056a0022c600b0068e45873da9mr7721204pfj.17.1695036271997; Mon, 18 Sep 2023 04:24:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695036271; cv=none; d=google.com; s=arc-20160816; b=daIjeu5ftCNBMU2n+Zh5ybpB1eKTmKujqwV2vk+KwdbXswUxrNVHKfBhWv/yODW3HV xTr7Dzykjez4lMu1TVQ4ZdTdcefOKNhdHoIwgOAd8fSYVdbkczky/tjkaGaCuK8x/LDy OE3MNpQjkhwEYbe7KlnnWqXq90uynLMJQJOJ+RZWLr/Z0hdsCrg+0EoWAvRrvyHcQLnM A/5gFc7JIFqPD5dH2cyDax3ux6wQDMVZKO9oCL+19dalaA6Ai/zFzAa9u1OhjArLWM3g 0Kr21MzCgXXslCMwirgL++vRbcr+/DyyiTQ0a69Y9LQzOGL4F/JvAcpJNcY7zuSUpV/g 0OAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3y431fp7zImpDWkvcmWfe4LAHrYOVE+zuYJQGH6Vve8=; fh=Q11usucj416rsQxd0A6SyRNj86Y9FDjbLbDNv+yw7ag=; b=xWH8ple3ihGYdqtKVXkQ0zEtxDUPrRUlqYe2n1A3ECLDoFItfXW/8O5NEYzXR507+M R4xrFOSOzK9ZwRhmzof0U5PORpiuY+HzP400va9fVOjSydgcdb7wL2iFboTMsIfO5b5S S8vXnuuhfkeXUTvZ8O3p60XFYAzjxXLONyGcSgl5EB5x3OwVDVJWN7/NxTnyWPh5RCqk GeuEtmlLmZHJBWFyHJYC6xdA6J1P5iQAs4ob4Yf40ZTIdC03nyFfGZgoSQTUThy0YHvY I/tfSWzpJUcoWBeUwEsUdHtgZCaPVh5V+aFUjJ8yRhmotTv6kGOJLphOKDbjNpN1JEy0 4zdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=SISV0CS8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id p16-20020a056a000b5000b0068a55b8e380si7950128pfo.230.2023.09.18.04.24.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 04:24:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=SISV0CS8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 1D04A8087FE1; Mon, 18 Sep 2023 00:54:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240129AbjIRHxa (ORCPT + 99 others); Mon, 18 Sep 2023 03:53:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240604AbjIRHw4 (ORCPT ); Mon, 18 Sep 2023 03:52:56 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3D8E3AA7 for ; Mon, 18 Sep 2023 00:50:47 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2bffc55af02so15827561fa.2 for ; Mon, 18 Sep 2023 00:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1695023432; x=1695628232; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3y431fp7zImpDWkvcmWfe4LAHrYOVE+zuYJQGH6Vve8=; b=SISV0CS8M5bxkkPkub1VMfMVIDBOE2nLvyt9OK5Yc8nrVfgdWuhLYOV0FuDEVzVBuA 3y83V5Fj2s7lqszoHZ/V5ULI7nGf5pqU9hCRz6mXzxrub0WXLerP9+QVWPGbUhCvKq+h XXElYbaAKLNGJ260n5qM3flrj6P7SelcmSCBMAAy5TSpI5YnphYLFqBA790hDM9n0KQG CTgkQvZFbspQuu8HgG2bObtmiCLwn52G9O3D+c13cWV0dYQS4RUaBAnnhBQJeMuC8jAh j972D6N2rUmqCRyNSrUMYSNAQvkfsUT2QIyCl/EhbJSfRsSSB9MKqstiExrEqWgo+6Ps 9j7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695023432; x=1695628232; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3y431fp7zImpDWkvcmWfe4LAHrYOVE+zuYJQGH6Vve8=; b=tn6pjrCmYqOls/j5jXE+oyPdPNCDzX/7NRxG3QuXZDChwfFcPYSW2o+DfL6nOduxK9 hu/lzU5OlHa1lf8Xdvo+tzrI/rp47H6sug/zY6clLluiB2/TnTJD03gL2cQztV7s5KJ1 RkjXF+TaApYJEC6lUnbV9i7hvxn1AiGWwPpm6Z6giE92fpZyM2wX9nU5bKtApfmBOCpb Y6tnYcI7WkWjkBgiZT94i0FkHgKaR8BMLgqlMwqAD0sKl/77kJ+bMBNdWilMIglZcyIV E6WAc69Z4uTsZVg2nqtHvx40lKqB9mzcCDk/dXkUR3dcdsUksQxulmfjw9ES3FpzKl+t TRJg== X-Gm-Message-State: AOJu0Yx/MBwB95GM7Ezfk1nWr2Jg2tZZNGmq9BADSxQzD+SlVJ0JJXEV OXeQH/NBgGKyBvzfi/qSM6xCbA== X-Received: by 2002:a2e:9b87:0:b0:2bd:d4d:7fb6 with SMTP id z7-20020a2e9b87000000b002bd0d4d7fb6mr6798737lji.2.1695023431915; Mon, 18 Sep 2023 00:50:31 -0700 (PDT) Received: from [192.168.32.2] ([82.78.167.145]) by smtp.gmail.com with ESMTPSA id r11-20020a170906350b00b009a5f1d1564dsm5993808eja.126.2023.09.18.00.50.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Sep 2023 00:50:31 -0700 (PDT) Message-ID: <701ee3bd-5d16-6b5f-2d34-4a4919c4c532@tuxon.dev> Date: Mon, 18 Sep 2023 10:50:28 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 22/37] clk: renesas: add minimal boot support for RZ/G3S SoC Content-Language: en-US To: Geert Uytterhoeven Cc: geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, magnus.damm@gmail.com, catalin.marinas@arm.com, will@kernel.org, prabhakar.mahadev-lad.rj@bp.renesas.com, biju.das.jz@bp.renesas.com, quic_bjorande@quicinc.com, arnd@arndb.de, konrad.dybcio@linaro.org, neil.armstrong@linaro.org, nfraprado@collabora.com, rafal@milecki.pl, wsa+renesas@sang-engineering.com, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Claudiu Beznea References: <20230912045157.177966-1-claudiu.beznea.uj@bp.renesas.com> <20230912045157.177966-23-claudiu.beznea.uj@bp.renesas.com> From: claudiu beznea In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 18 Sep 2023 00:54:06 -0700 (PDT) Hi, Geert, On 15.09.2023 15:52, Geert Uytterhoeven wrote: > Hi Claudiu, > > On Tue, Sep 12, 2023 at 6:53 AM Claudiu wrote: >> From: Claudiu Beznea >> >> Add minimal clock and reset support for RZ/G3S SoC to be able to boot >> Linux from SD Card/eMMC. This includes necessary core clocks for booting >> and GIC, SCIF, GPIO, SD0 mod clocks and resets. >> >> Signed-off-by: Claudiu Beznea > > Thanks for your patch! > [ ... ] >> + CLK_PLL3_DIV2_4, >> + CLK_PLL3_DIV2_8, >> + CLK_PLL3_DIV6, >> + CLK_PLL4, >> + CLK_PLL6, >> + CLK_PLL6_DIV2, >> + CLK_SEL_SDHI0, >> + CLK_SEL_PLL4, >> + CLK_P1_DIV2, >> + CLK_P3_DIV2, > > Do you need CLK_P1_DIV2 and CLK_P3_DIV2? > I don't see them in Figure 7.3 ("Clock System Diagram (2)"). > P1_DIV2 is clock source for MHU_PCLK or OTFDE_DDR_PCLK. P3_DIV2 is clock source for DMAC_PCLK, OTFDE_SPI_PCLK. These are expressed in clock list document (RZG3S_clock_list_r1.00_20230602.xlsx). It is true the functionality could be preserved even w/o these 2 clocks but I kept them here as I saw them as core clocks even though they are not present in the Clock System Diagram from HW manual. With these, would you prefer to keep these clocks or just remove them? Thank you, Claudiu Beznea