| Message ID | 20241113133540.2005850-5-claudiu.beznea.uj@bp.renesas.com |
|---|---|
| State | New |
| Headers | show
Return-Path:
<linux-gpio+bounces-12943-incoming=patchwork.ozlabs.org@vger.kernel.org>
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@legolas.ozlabs.org
Authentication-Results: legolas.ozlabs.org;
dkim=pass (2048-bit key;
secure) header.d=tuxon.dev header.i=@tuxon.dev header.a=rsa-sha256
header.s=google header.b=kKnKaG2b;
dkim-atps=neutral
Authentication-Results: legolas.ozlabs.org;
spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org
(client-ip=147.75.48.161; helo=sy.mirrors.kernel.org;
envelope-from=linux-gpio+bounces-12943-incoming=patchwork.ozlabs.org@vger.kernel.org;
receiver=patchwork.ozlabs.org)
Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [147.75.48.161])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (secp384r1))
(No client certificate requested)
by legolas.ozlabs.org (Postfix) with ESMTPS id 4XpPqg0DMCz1xty
for <incoming@patchwork.ozlabs.org>; Thu, 14 Nov 2024 00:52:46 +1100 (AEDT)
Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org
[52.25.139.140])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by sy.mirrors.kernel.org (Postfix) with ESMTPS id C49D8B2E6AF
for <incoming@patchwork.ozlabs.org>; Wed, 13 Nov 2024 13:37:08 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 20A2C20125C;
Wed, 13 Nov 2024 13:35:57 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev
header.b="kKnKaG2b"
X-Original-To: linux-gpio@vger.kernel.org
Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com
[209.85.128.49])
(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 0FD83201020
for <linux-gpio@vger.kernel.org>; Wed, 13 Nov 2024 13:35:54 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=209.85.128.49
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1731504956; cv=none;
b=Zugn6v2EUMI6EBtmIeT2y32RRXYT56n27inUrbJppNRxeRMH9GJg4vntwJLr7rXTIpxIh985fJNQSpf6Lgw1c9uekQGvzWtLo575S8xZnRNp5c8i9KYY3P/3jn84Z30jRDGcOmpPSL+FyqpDhxQJW1I/MZZON2qOlaljFgUwMk8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1731504956; c=relaxed/simple;
bh=TSqSzOs8Q7BMfa4saTar0ZRCzZC0f5vyfoNlajUePmc=;
h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:
MIME-Version;
b=fcJQHt7Z1yst0OR8rOKBu+yNMLdPFNnxnlJzic1kgD/c15HTtLm3mOxhZkTNM9QPCU2kVe37tGxM7GP7PoAY5C7V73fAij2i7tU8L47Xvj/plTTASPojf9jGMzoUv378HOWxxy4f7xzeC9TiXc3Dw1EGhcFlxuUc+vwn5oe5S/c=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none (p=none dis=none) header.from=tuxon.dev;
spf=pass smtp.mailfrom=tuxon.dev;
dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev
header.b=kKnKaG2b; arc=none smtp.client-ip=209.85.128.49
Authentication-Results: smtp.subspace.kernel.org;
dmarc=none (p=none dis=none) header.from=tuxon.dev
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=tuxon.dev
Received: by mail-wm1-f49.google.com with SMTP id
5b1f17b1804b1-43169902057so56607785e9.0
for <linux-gpio@vger.kernel.org>;
Wed, 13 Nov 2024 05:35:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=tuxon.dev; s=google; t=1731504953; x=1732109753;
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=9Sa3H1f/E/g0KGrtcmKvCv12Jkl936NP4UC4pZY9H8c=;
b=kKnKaG2bzadX4UwnSHcO8CXdNKaiWXHMAVYJjthK0gAm4HGIEwiS0S6a1FQlnCWKvK
mNQEGpr8XrymSvEXG5VCV3TIuXqORXY2gfnLe5YeZIW45bGeRkKfsygEiqe80N6y5gvL
C4kyjkwszwb1acrefO+dw/WUYQ8hvnVKOPnrW4juTm14naOmdvlb+waV3CwD6NMmY1F9
Dzzz45vCwvgRMEyvLYlffysmTlH0HYekWmY/YBxdkAFyScobNGf62mcvjW+/hOgWAh4N
HGzP769AZ7qojvnslMrrkOPMjW+n6dmwE+TJ2RxsWSwen1NZZhFE7DPGi7DRt7wREFFZ
KbnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1731504953; x=1732109753;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=9Sa3H1f/E/g0KGrtcmKvCv12Jkl936NP4UC4pZY9H8c=;
b=jnlY9qMGHncSD7xpPizLFbBCPgyI5wcrn5TYVhBVT2MNpTQUKQ+ca9RZKaNXq3mdBV
jHzIv0QtBjEuLKI1e2m6K9q7zdq+6vnp9mkKeT+a2FX+wf+BswNAASIjtnrDJtxW+5j2
cVB++oSeY9SBBNh85yTj7X/yZK63C/75zpZSpdvC8953TjAe/9vn8ti0FeGviD6ZFEcA
hSfPKZt1KODtVUrFO4vvtyzydUExRnLBPW9ZAsUhLzti+RtrSE/sOcK3SVJkSc1Wnosl
UbwF8ZLQcqDnwiX2em9IvhqZWsDK6BQxmOnBH4tBZHOqZ5Z5/6D0JBSgEfFG0z176LFo
0QMw==
X-Forwarded-Encrypted: i=1;
AJvYcCVVC51hHFr9e02ypeULzvlkmtNVQg/ipkgk+w1faHGtDSsWqi5192mTYu4sj4bYVGiBRO7fcf3cwV7C@vger.kernel.org
X-Gm-Message-State: AOJu0YwnF7VbhGueCRwx7FnHqG8kFmjY84s4N0Jay/OATMNa/DY9/+/w
Ul5K0y3aYQh+FPhZMD75czUawLemTv4qALEzC3Obh77UOf/CHVg20enq9RP5IV0=
X-Google-Smtp-Source:
AGHT+IEYHJzqM5FW299ZAdbK6T7DVikcehfuphKy8vP+A1ZGKFW5gkq6w5nT2ifGCWhjngi1zECKUQ==
X-Received: by 2002:a05:600c:4e0e:b0:431:59b2:f0d1 with SMTP id
5b1f17b1804b1-432cce6825amr58718565e9.4.1731504953372;
Wed, 13 Nov 2024 05:35:53 -0800 (PST)
Received: from claudiu-X670E-Pro-RS.. ([82.78.167.28])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-432d54e2f2esm25664165e9.1.2024.11.13.05.35.51
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 13 Nov 2024 05:35:52 -0800 (PST)
From: Claudiu <claudiu.beznea@tuxon.dev>
X-Google-Original-From: Claudiu <claudiu.beznea.uj@bp.renesas.com>
To: geert+renesas@glider.be,
mturquette@baylibre.com,
sboyd@kernel.org,
robh@kernel.org,
krzk+dt@kernel.org,
conor+dt@kernel.org,
biju.das.jz@bp.renesas.com,
prabhakar.mahadev-lad.rj@bp.renesas.com,
lgirdwood@gmail.com,
broonie@kernel.org,
magnus.damm@gmail.com,
linus.walleij@linaro.org,
perex@perex.cz,
tiwai@suse.com,
p.zabel@pengutronix.de
Cc: linux-renesas-soc@vger.kernel.org,
linux-clk@vger.kernel.org,
devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-sound@vger.kernel.org,
linux-gpio@vger.kernel.org,
claudiu.beznea@tuxon.dev,
Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Subject: [PATCH v3 04/25] clk: versaclock3: Add support for the 5L35023
variant
Date: Wed, 13 Nov 2024 15:35:19 +0200
Message-Id: <20241113133540.2005850-5-claudiu.beznea.uj@bp.renesas.com>
X-Mailer: git-send-email 2.39.2
In-Reply-To: <20241113133540.2005850-1-claudiu.beznea.uj@bp.renesas.com>
References: <20241113133540.2005850-1-claudiu.beznea.uj@bp.renesas.com>
Precedence: bulk
X-Mailing-List: linux-gpio@vger.kernel.org
List-Id: <linux-gpio.vger.kernel.org>
List-Subscribe: <mailto:linux-gpio+subscribe@vger.kernel.org>
List-Unsubscribe: <mailto:linux-gpio+unsubscribe@vger.kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
|
| Series |
Add audio support for the Renesas RZ/G3S SoC
|
expand
|
On Wed, Nov 13, 2024 at 2:35 PM Claudiu <claudiu.beznea@tuxon.dev> wrote: > From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> > > Add support for the 5L35023 variant of the Versa 3 clock generator. > > Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> > Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert
diff --git a/drivers/clk/clk-versaclock3.c b/drivers/clk/clk-versaclock3.c index 1398d16df5d0..9fe27dace111 100644 --- a/drivers/clk/clk-versaclock3.c +++ b/drivers/clk/clk-versaclock3.c @@ -1133,8 +1133,14 @@ static const struct vc3_hw_cfg vc3_5p = { .se2_clk_sel_msk = BIT(6), }; +static const struct vc3_hw_cfg vc3_5l = { + .pll2_vco = { .min = 30000000UL, .max = 130000000UL }, + .se2_clk_sel_msk = BIT(0), +}; + static const struct of_device_id dev_ids[] = { { .compatible = "renesas,5p35023", .data = &vc3_5p }, + { .compatible = "renesas,5l35023", .data = &vc3_5l }, { /* Sentinel */ } }; MODULE_DEVICE_TABLE(of, dev_ids);