From nobody Tue Dec 2 00:02:42 2025 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 CB0EE33BBAA for ; Tue, 25 Nov 2025 22:14:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764108877; cv=none; b=qkEqq1Sbvw8u6Y20wOTWd4rUie5jaTvIlqJFYv7mPu7Jww17zG5cGGEcnd3nGTT7h80RfPfvz63cus6E63y7g/c1d1CFYojCVahqM9v1kjB/Yc3yl95Z5coMEoM/Rf5Iw286CxBnVun8g0qzNuT+z1n2B5pD8vJeQjkUXl1C2Ho= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764108877; c=relaxed/simple; bh=025uKoxgb9agv16k3xbIpHgeqVzMK0siTkQxlO+uuV0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EpMGMA/W2Uk8bm/E3jNwVlCNd9H9pXTDHxcWlrZjI8yA4NV57Ne67VYorUI0iQ8nEhhowb3lWdqEbicheDQ+9hCcAS8tCUM1iDxo5aGgg451ddSbkpzKvglfVGBVKGOroD1SG9s7XC3G4teulOV+lqf7no41uudc1EVyghbjwWg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=F7IfojUb; arc=none smtp.client-ip=209.85.221.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="F7IfojUb" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-429c82bf86bso3524559f8f.1 for ; Tue, 25 Nov 2025 14:14:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764108874; x=1764713674; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zAfcPBqPXedAJhplXHd1LAHPhzxCFkLFqsJc935i9XA=; b=F7IfojUbWzI2PtjpjlCeK7+g0ZEb7Ok51mKg1nPkY41JAMZmeocbAU1/f6KKO6oh7c K/g37FRxgNUtb92gbSoujD7m/RrIQ5sKidMITdZP5yw4cGJeYZ9oS8K2JqXKJ8+5ionr E+I2GO6MM8hewicgU171/eBbCDgnpVyDxuvHB8XYZZmPtSGgFsAxeV4s6QP22jD70m82 l5bjwK4SRHJTQxeWRcyQgZTLPHpdeK2GffR75ovTyOpnSppffZR9i53ZTXBg2BuBdzBp FPbS+khDLMyIekqgtANWtcPpc3aX1e1tospX/tnXOR7q/DdJCSGzPUfpf4H4Iqa3uF3U l1Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764108874; x=1764713674; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=zAfcPBqPXedAJhplXHd1LAHPhzxCFkLFqsJc935i9XA=; b=O6/IuperfZfOUv42iE8zXE3tqFQJoQk0Jc/BS8lKPUno27AA3/hshJrEheRkhBawUh jqLFnZmhx2+cmkMtS3B9+a8tgcNfiBC0qkFXWre2o/RPFd14i7rMvGHOZ4fiHYlJeWs/ 9u8RwE5T4QMgACCsABLG6Zo53cdZcNfmadIvXWMdTSNDDxP0Ulh09U5/mL6qSSzDS+rK ltE7yPhkEuQ8pEczaXpLHghf7gIjTxex7Z/WSgjBNgziTmmA8bhoF0RIrj6ubvcy44aj ft3xs9JeF1d4Nj1QyQJLV39S294l1oF4HDH57D/gcpT0XO+7S+aUxvNKaHA9sQj5NENy ed4Q== X-Forwarded-Encrypted: i=1; AJvYcCUKqRhh75hIe9pq3WBHZU+IjuE9N8ZIhUhzLP3F5/uh6X+X7Plr6qEhXSU7TTlWCxXXmNSEatYGGZOVYx8=@vger.kernel.org X-Gm-Message-State: AOJu0YxObnYM0fFESbT8apIl9xNh+UEZKFkDgAYTKkfEWQa0rObRkaKE hWoDd79SO7GIHCxkuxjTEvMkxSQmAPxtruUSglrvAhKtAgQCwfpmRe0p X-Gm-Gg: ASbGncudlRa4V4bwAnZrtdcDsiyyCERtMUTUpAnZ6X09rp5Fn1qalbsFSWa1wLbxKV1 4Ms6B0YbAYvu/ZsI0wWjKVRQqZxsUdaPxBKtNVem1r2cXkh2GT0PUnMZF6TtBhZ+6EnWkFUAk3k Z18h61W74t29OW5wK6J70BA9unJ1IREELetstK1c3/VZDWxR2XOaQw+pQVOFEm8/8kmlcoB3nIp HDRyjFjpN/5uSmo2g7BDcuhtzzTBSo998kBbHbTR4DCsSSyNT/PDGErHZXuN/QsYdZ7fY4JFLT8 GabVBMpYTVa2v2FtP8CzuY9M+jpOs3xUBFYQ6NEolOTdedqqEs+gqFKnzsqvTBFTc7mHfap9W6w VB0IyBi3ntHATkmFf1auLJlZtQrl/v54zVZvyGTBmpxkndJSyKtVLMROzEf0tc1xmBU4Tuf+iHa iR0w0hHvGjHIcZNly0vduYVBhL5X2VfwlGvw== X-Google-Smtp-Source: AGHT+IHeYijo6crepCkWnrnoOyYhRhPTzweFIbO0qTtkUZYTTZWSlat+fZmv0thBXenNU0jzXi2ysQ== X-Received: by 2002:a05:6000:3102:b0:429:d565:d7df with SMTP id ffacd0b85a97d-42cc1d0ce28mr17375594f8f.42.1764108874051; Tue, 25 Nov 2025 14:14:34 -0800 (PST) Received: from iku.Home ([2a06:5906:61b:2d00:325:d7d3:d337:f08b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42cb7f34fd1sm37462121f8f.11.2025.11.25.14.14.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Nov 2025 14:14:33 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Geert Uytterhoeven , Michael Turquette , Stephen Boyd Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Fabrizio Castro , Lad Prabhakar Subject: [PATCH 3/3] clk: renesas: r9a09g056: Add entries for the RSPIs Date: Tue, 25 Nov 2025 22:14:20 +0000 Message-ID: <20251125221420.288809-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251125221420.288809-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20251125221420.288809-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Lad Prabhakar Add clock and reset entries for the RSPI IPs. Signed-off-by: Lad Prabhakar Reviewed-by: Geert Uytterhoeven --- drivers/clk/renesas/r9a09g056-cpg.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/drivers/clk/renesas/r9a09g056-cpg.c b/drivers/clk/renesas/r9a0= 9g056-cpg.c index 1c6228b0544e..4b068199edde 100644 --- a/drivers/clk/renesas/r9a09g056-cpg.c +++ b/drivers/clk/renesas/r9a09g056-cpg.c @@ -281,6 +281,24 @@ static const struct rzv2h_mod_clk r9a09g056_mod_clks[]= __initconst =3D { BUS_MSTOP(5, BIT(13))), DEF_MOD("wdt_3_clk_loco", CLK_QEXTAL, 5, 2, 2, 18, BUS_MSTOP(5, BIT(13))), + DEF_MOD("rspi_0_pclk", CLK_PLLCLN_DIV8, 5, 4, 2, 20, + BUS_MSTOP(11, BIT(0))), + DEF_MOD("rspi_0_pclk_sfr", CLK_PLLCLN_DIV8, 5, 5, 2, 21, + BUS_MSTOP(11, BIT(0))), + DEF_MOD("rspi_0_tclk", CLK_PLLCLN_DIV8, 5, 6, 2, 22, + BUS_MSTOP(11, BIT(0))), + DEF_MOD("rspi_1_pclk", CLK_PLLCLN_DIV8, 5, 7, 2, 23, + BUS_MSTOP(11, BIT(1))), + DEF_MOD("rspi_1_pclk_sfr", CLK_PLLCLN_DIV8, 5, 8, 2, 24, + BUS_MSTOP(11, BIT(1))), + DEF_MOD("rspi_1_tclk", CLK_PLLCLN_DIV8, 5, 9, 2, 25, + BUS_MSTOP(11, BIT(1))), + DEF_MOD("rspi_2_pclk", CLK_PLLCLN_DIV8, 5, 10, 2, 26, + BUS_MSTOP(11, BIT(2))), + DEF_MOD("rspi_2_pclk_sfr", CLK_PLLCLN_DIV8, 5, 11, 2, 27, + BUS_MSTOP(11, BIT(2))), + DEF_MOD("rspi_2_tclk", CLK_PLLCLN_DIV8, 5, 12, 2, 28, + BUS_MSTOP(11, BIT(2))), DEF_MOD("scif_0_clk_pck", CLK_PLLCM33_DIV16, 8, 15, 4, 15, BUS_MSTOP(3, BIT(14))), DEF_MOD("i3c_0_pclkrw", CLK_PLLCLN_DIV16, 9, 0, 4, 16, @@ -437,6 +455,12 @@ static const struct rzv2h_reset r9a09g056_resets[] __i= nitconst =3D { DEF_RST(7, 6, 3, 7), /* WDT_1_RESET */ DEF_RST(7, 7, 3, 8), /* WDT_2_RESET */ DEF_RST(7, 8, 3, 9), /* WDT_3_RESET */ + DEF_RST(7, 11, 3, 12), /* RSPI_0_PRESETN */ + DEF_RST(7, 12, 3, 13), /* RSPI_0_TRESETN */ + DEF_RST(7, 13, 3, 14), /* RSPI_1_PRESETN */ + DEF_RST(7, 14, 3, 15), /* RSPI_1_TRESETN */ + DEF_RST(7, 15, 3, 16), /* RSPI_2_PRESETN */ + DEF_RST(8, 0, 3, 17), /* RSPI_2_TRESETN */ DEF_RST(9, 5, 4, 6), /* SCIF_0_RST_SYSTEM_N */ DEF_RST(9, 6, 4, 7), /* I3C_0_PRESETN */ DEF_RST(9, 7, 4, 8), /* I3C_0_TRESETN */ --=20 2.52.0