From patchwork Thu Aug 1 13:39:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13750544 X-Patchwork-Delegate: geert@linux-m68k.org Received: from michel.telenet-ops.be (michel.telenet-ops.be [195.130.137.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12958183CC5 for ; Thu, 1 Aug 2024 13:39:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.88 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722519576; cv=none; b=gpGcuzUXk1ikg47tThMhUWlJoxO5Nifpnj8HYe5ERchXdoCCrriBnlYpF42qOhXVrwVTmen6aNoayYhQ52QNxsXykZPNi211APS+ub3jl4swydz9XbWrEGVm+/MBHqzKIIO/Gr35SXyHskRVfcZE1DUQ7j81vwPmMjnt5ieqG0c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722519576; c=relaxed/simple; bh=hD9NGKKlejKeSt1pJ9c5vgFtPNhg4g13vqr2KB/HHLQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=kKtHyrdXcVf54SRFE22bRDH4PT9vp6oJI+orLZhFpbbrx1g2xMCw8tCxYRcfaAqLcVd/CjIJwrxIHtPOjoETDtyhBNHUjF2lDsmfnwVcD6UTpX9FE6FLnWBbJp9cvaL8CfP70S1+2nPkCoKtQ3mgdiCRhPKWmLmEqQC0zrLeysI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:fff7:d11a:41d8:a195]) by michel.telenet-ops.be with bizsmtp id udfQ2C00B5XJrhx06dfQiN; Thu, 01 Aug 2024 15:39:24 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1sZW1D-004S6P-WB; Thu, 01 Aug 2024 15:39:24 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1sZW1c-00HO5x-4L; Thu, 01 Aug 2024 15:39:24 +0200 From: Geert Uytterhoeven To: Michael Turquette , Stephen Boyd Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, Cong Dang , Geert Uytterhoeven Subject: [PATCH v2] clk: renesas: r8a779h0: Add CANFD clock Date: Thu, 1 Aug 2024 15:39:19 +0200 Message-Id: <9bf71bfda338ee5411751174b03b9e870cc818e3.1722519424.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Cong Dang Add the CANFD module clock on the Renesas R-Car V4M (R8A779H0) SoC. Signed-off-by: Cong Dang Signed-off-by: Geert Uytterhoeven --- To be queued in renesas-clk-for-v6.12. v2: - Drop RFC state now it works. Changes compared to the BSP: - Change clock name from can-fd to canfd0, - Change parent clock from CANFD to SASYNCPERD2. --- drivers/clk/renesas/r8a779h0-cpg-mssr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/renesas/r8a779h0-cpg-mssr.c b/drivers/clk/renesas/r8a779h0-cpg-mssr.c index ef707dce840090ee..e20c048bfa9be142 100644 --- a/drivers/clk/renesas/r8a779h0-cpg-mssr.c +++ b/drivers/clk/renesas/r8a779h0-cpg-mssr.c @@ -176,6 +176,7 @@ static const struct mssr_mod_clk r8a779h0_mod_clks[] __initconst = { DEF_MOD("avb0:rgmii0", 211, R8A779H0_CLK_S0D8_HSC), DEF_MOD("avb1:rgmii1", 212, R8A779H0_CLK_S0D8_HSC), DEF_MOD("avb2:rgmii2", 213, R8A779H0_CLK_S0D8_HSC), + DEF_MOD("canfd0", 328, R8A779H0_CLK_SASYNCPERD2), DEF_MOD("csi40", 331, R8A779H0_CLK_CSI), DEF_MOD("csi41", 400, R8A779H0_CLK_CSI), DEF_MOD("hscif0", 514, R8A779H0_CLK_SASYNCPERD1),