From patchwork Wed Mar 6 10:52:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13583926 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 BFB5F5FBB7 for ; Wed, 6 Mar 2024 10:52:16 +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=1709722339; cv=none; b=fS1Y7KMFAvNpo+qXYs7bIaZJPPg6nNksF/Gzny8yrwYjsLrtfdCFRgeVxM+YlwIJX1fnRCW+ASFpSvfsMOV/KVPrKn4eEnoBEXG6BO5R8qbjUqQjTQ5dQsTsR3/rQO00NSk+lyj4WLT4/r7RDJ/Z7Ep+VVjKPKGQ3OzgQFnxKTU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709722339; c=relaxed/simple; bh=dgH6+6yoJ7fNzf9QTPuENGsrnfgnWNDP6tn1WLOKBgw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=go2MKRqzcwCucY8bRqmatyCbaQKVoPdtOPo+iVnY3cPBmhh2lAKHj1Bp0JXyJl8MOtxrFI9L4pxxUsyYWg4/HthbAUuyEo8ewTX6YbN3qAU1pA+bLSQZenkeul+d4UAsf+ZFaJ8OZATgpZXUFQHHvb311SI92i1iGuu/+jcYOZs= 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 ([84.195.187.55]) by michel.telenet-ops.be with bizsmtp id vNs82B00T1C8whw06Ns9aZ; Wed, 06 Mar 2024 11:52:09 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rhosN-002Y7i-I7; Wed, 06 Mar 2024 11:52:08 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rhosa-00EMHD-MZ; Wed, 06 Mar 2024 11:52:08 +0100 From: Geert Uytterhoeven To: Michael Turquette , Stephen Boyd Cc: =?utf-8?q?Niklas_S=C3=B6derlund?= , linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] clk: renesas: r8a779h0: Add thermal clock Date: Wed, 6 Mar 2024 11:52:04 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add the module clock used by the Thermal Sensor/Chip Internal Voltage Monitor/Core Voltage Monitor (THS/CIVM/CVM) on the Renesas R-Car V4M (R8A779H0) SoC. Based on a patch in the BSP by Cong Dang. Signed-off-by: Geert Uytterhoeven Reviewed-by: Niklas Söderlund --- To be queued in renesas-clk for v6.10. Changes compared to the BSP: - Rename "thermal" to "tsc2:tsc1". --- 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 71f67a1c86d80f4c..5c48e645f0c3197d 100644 --- a/drivers/clk/renesas/r8a779h0-cpg-mssr.c +++ b/drivers/clk/renesas/r8a779h0-cpg-mssr.c @@ -192,6 +192,7 @@ static const struct mssr_mod_clk r8a779h0_mod_clks[] = { DEF_MOD("pfc0", 915, R8A779H0_CLK_CP), DEF_MOD("pfc1", 916, R8A779H0_CLK_CP), DEF_MOD("pfc2", 917, R8A779H0_CLK_CP), + DEF_MOD("tsc2:tsc1", 919, R8A779H0_CLK_CL16M), }; /*