From nobody Sat Feb 7 06:20:53 2026 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 4ABA9274FE9 for ; Mon, 5 Jan 2026 20:47:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767646061; cv=none; b=HpRtiQoPJzYWTk+vgXYXzTp1piZva/xQofLB+mnTVZB8Hw9Z3oXMXkIhzXxze9daK9fGrDKVKudM76cuvdku14RX0jL0eYV/J1Kqj1wYP/+mSny4VEBnSQjOBV9KoS2Kq6yApT7ibZ0PL1J+SzoqGalc/+BeFVa8L8M2pd480nw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767646061; c=relaxed/simple; bh=lZpRH2X0H7PicY/ye0cxWgd6UDfMRpb5kRZrYazmO9Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=k6JEqjwi6hrXOJ9Stx56n35rtaNGcBeOdmwPwrhOQ2O/jVgPvWYqPO+p6DmUhK2Aro2ihetkKraMn5SFwNMAlJNeFFyxsi97Vqmo12uc4wSsOJjK3ijU5Gt6U3sUXBAp28iBoZGGMWaNmV48nshjnGszMEbD/HAchdEAnKjHGjU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com; spf=pass smtp.mailfrom=googlemail.com; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b=TaCb1ESO; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=googlemail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=googlemail.com header.i=@googlemail.com header.b="TaCb1ESO" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-64d02c01865so517960a12.1 for ; Mon, 05 Jan 2026 12:47:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1767646059; x=1768250859; 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=751CuOfDHWCSCZjhCuc+hswoKKu5SgRYZYXOY8EmB64=; b=TaCb1ESOKV9L6aMOoDB4B7NXSR/M5g94i2M7powFo/XjXDoeURA7wPT6xcHWQwofVH iARHzO07Xl1Wfu/8VAERc4xwPjJMsy+SGM6CwAZ/ve+AR/WekdrsIVJTHSNwSpNRWFMW 6wMWfkHj9mFZgyU0Cj1jZbeTYwbfZbIcTtrMRH5JU3Ug3ljfjLDkEja7A9/Iltf6xeYp BJhTGsaw9JZbEx8lQunYScTPs/vkeTTUDPnWCx3WjqdDug0cyL4LrDZIy2nnU0HwVDCC jz0GfN+Q4qFl7OQ421C7jzleqTutrsYm5omFeR48qy7i1Noq/cOICH2oR8xENnEw/kb8 bSow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767646059; x=1768250859; 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=751CuOfDHWCSCZjhCuc+hswoKKu5SgRYZYXOY8EmB64=; b=gvLj/hc6HaJkx2uT5sgroYcYyU+VmVPEclK5yXZvcrIzl4CY90o55PDs5OHxdpZliE bdTBsWSWCNckGdn+L5t3CeFIHteIOS3gTghwjfJG6LYI6b13Oq+BXB7eWPPDC23W5hGu adZI+a6CnyylWQ3mPyu2aFhzyJf8yAGSOfEdgn71vd7BxdPq2t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 2002:a17:907:2d8c:b0:b40:b54d:e687 with SMTP id a640c23a62f3a-b8426bf1761mr111212866b.47.1767646058523; Mon, 05 Jan 2026 12:47:38 -0800 (PST) Received: from blackbox (dynamic-2a02-3100-a8ad-5500-1e86-0bff-fe2f-57b7.310.pool.telefonica.de. [2a02:3100:a8ad:5500:1e86:bff:fe2f:57b7]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-b842a233ef3sm26240566b.1.2026.01.05.12.47.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jan 2026 12:47:38 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jian.hu@amlogic.com, jbrunet@baylibre.com, Martin Blumenstingl Subject: [PATCH v1 3/3] clk: meson: gxbb: use the existing HHI_HDMI_PLL_CNTL3 macro Date: Mon, 5 Jan 2026 21:47:10 +0100 Message-ID: <20260105204710.447779-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260105204710.447779-1-martin.blumenstingl@googlemail.com> References: <20260105204710.447779-1-martin.blumenstingl@googlemail.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" There's no need to calculate HHI_HDMI_PLL_CNTL + 8 when we have a HHI_HDMI_PLL_CNTL3 macro that has the correct offset already. No functional changes, this makes it easier to compare the driver with the datasheets. Signed-off-by: Martin Blumenstingl --- drivers/clk/meson/gxbb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c index 0788b9b1ed21..0900f4e44764 100644 --- a/drivers/clk/meson/gxbb.c +++ b/drivers/clk/meson/gxbb.c @@ -358,7 +358,7 @@ static const struct clk_div_table gxl_hdmi_pll_od_div_t= able[] =3D { =20 static struct clk_regmap gxl_hdmi_pll_od =3D { .data =3D &(struct clk_regmap_div_data){ - .offset =3D HHI_HDMI_PLL_CNTL + 8, + .offset =3D HHI_HDMI_PLL_CNTL3, .shift =3D 21, .width =3D 2, .table =3D gxl_hdmi_pll_od_div_table, @@ -376,7 +376,7 @@ static struct clk_regmap gxl_hdmi_pll_od =3D { =20 static struct clk_regmap gxl_hdmi_pll_od2 =3D { .data =3D &(struct clk_regmap_div_data){ - .offset =3D HHI_HDMI_PLL_CNTL + 8, + .offset =3D HHI_HDMI_PLL_CNTL3, .shift =3D 23, .width =3D 2, .table =3D gxl_hdmi_pll_od_div_table, @@ -394,7 +394,7 @@ static struct clk_regmap gxl_hdmi_pll_od2 =3D { =20 static struct clk_regmap gxl_hdmi_pll =3D { .data =3D &(struct clk_regmap_div_data){ - .offset =3D HHI_HDMI_PLL_CNTL + 8, + .offset =3D HHI_HDMI_PLL_CNTL3, .shift =3D 19, .width =3D 2, .table =3D gxl_hdmi_pll_od_div_table, --=20 2.52.0