Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp241793lqt; Mon, 18 Mar 2024 06:49:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVFXcxnVhpRGzeq2xM4zqVc58yiYbRUB0VhjO/lz5upzPWuWPVBAyhRgYA0sUMV8piy1U1OSSaNtasDhVQ5Hguy/7ef85PMYl5QWM/lXA== X-Google-Smtp-Source: AGHT+IF1viKnCNdm+BpGGF2YvAAWI5B7EsuP/qPp/9vZw/fUatapCfLwDZzsYktyeOSK5K/Eyuk6 X-Received: by 2002:a17:906:cf8b:b0:a46:13a9:6dc0 with SMTP id um11-20020a170906cf8b00b00a4613a96dc0mr8193562ejb.64.1710769745046; Mon, 18 Mar 2024 06:49:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710769745; cv=pass; d=google.com; s=arc-20160816; b=EIXmtTH59IerC7qfz2rL1A0OhGShzRFeQd68+OidqcZcGDRYmBNd2IFLcRGUe4QFpb FIqITKLzB5E3US06P3LEiG/+ROQe2QPe7syZ9iZK/FmdL/d3HpqrjIuYegAYg9Q0wJrd z8WdDXgRRnXwffkocronly/atDza2n+d895xs/g6I5pEfDA1oln9Xim5vWRljvL+auU7 2li7WrPnf8vlXysMjzj5BWJPPKKXM/ie7bMJHV/iit2QYpwlQOt/OYkaCePBkUW8Zvq7 HfdRRVH9FHNm+cskXyqbEW9eA+TbB/4QHCASwLc6d/X0JBZTNCS5TS+2wQLCSUG0Abut s8QA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=V3FYhI19+7mXvMPKmKsCyQbdJxb3cWwyAzFHyh7qwU8=; fh=VAR+P+9XMwFroLVXhLiJNsdkDAgQzfPUXwQ5ztBnbNc=; b=k0AYrWemx6beId4i9r/R2sTxn04WR3zqo0kH19K5D1TqhL+f+vnspNsmaaFbhOQUU6 Omhxvj2d+jjvBmCUKwGvkbGCI54V5lNoFRIygDB1Za7KTNgHBidkMSZYl3a9oJHBT0vf 4l+58Y9Joz+bDhAUyb20nzwh8FOoQixsq3iyzA+o36C6IeSfteYS49RqQOcKlP2kwvj1 Ccaz50zumrNx2BBN03KHuJSZUUANRI/xv9NsI8d44716Z8vu6Xsi4i4RGwvTVKp4U0G5 Y2z6tHJYKA8KQgHAiulFV3o3cGjDkAWCaolwVjBAV+RAWz13tNSZ4S0YuAnWRdUCR2Pb RqKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cZQKAkzU; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-106178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106178-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h15-20020a17090619cf00b00a46bc7a46cfsi1146208ejd.725.2024.03.18.06.49.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 06:49:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cZQKAkzU; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-106178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106178-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id C24E11F227F0 for ; Mon, 18 Mar 2024 13:49:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4F854AED2; Mon, 18 Mar 2024 13:48:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cZQKAkzU" Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) (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 A61D2487A5 for ; Mon, 18 Mar 2024 13:48:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710769738; cv=none; b=FU/KoFYfErPUVYM88gRfYV/4Dz0G+zxM8fFBkMUSxj0p6rl1QmkBehT8Mb2x1bDrfow7ukUqafazm7EV2ZSpJQgo4z6AmrBifZ9pk6tVPdsKr+zntkLo0oAypFFrim0IK2CcLbb5ONab0sC5pEGthQdbIKtZE0/IONIeVUeGWJo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710769738; c=relaxed/simple; bh=R2UaOpKnY97aWVhZ/hgFlH9poNa+7COfnT3VW02GUGE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=s5u250QVX/i8oOQcBL/7oJEGT98iFx7oAF7XxOpotsMdzk7M+Wa9LWoTACqeS1MX537OzaTMBLP+dqhUyVE3jWznUVTBSSDuAvhV3sEex7n0xUFD2y8wFgb7SYvONhDzPHmvkC20AU6M01zG/lDwxvfirZQotnHSmbPHeWENwTc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=cZQKAkzU; arc=none smtp.client-ip=209.85.219.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f175.google.com with SMTP id 3f1490d57ef6-d9b9adaf291so3565475276.1 for ; Mon, 18 Mar 2024 06:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710769734; x=1711374534; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=V3FYhI19+7mXvMPKmKsCyQbdJxb3cWwyAzFHyh7qwU8=; b=cZQKAkzUxWZ3DiR2+CMXuDmMSWC1MZpfCZmvrHvdd3Lz6yu4xL0TUE6I8U2qJoQuqp gR1C3iF8TrOC8gOKApo2HaV/oaE8gr2z/qe6U4B5A1hPrD5PoGxta9VsAwR2T8DI5wWv l/Y7ve+R7fE9UWq/LljsR6glDc5e6FYQNLu1WRvETPB/eE+Z533dEnsZrdDC79oHAaFj ascsj6lIhV5shoOLJXIAEcOjPpHQKFZskuv7QeLR0x1o/xH1BHMwqA4I2SWUD2UB4SBs TzAFfOB9FyAHUNV7B1xyK/7WBPHcv4g4SIXNoEIyUaxo0ZC0r+KxoxE9M0PEcK0wyvUa TWGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710769734; x=1711374534; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=V3FYhI19+7mXvMPKmKsCyQbdJxb3cWwyAzFHyh7qwU8=; b=J3DU6/ZtV8UPZdS31oi8I8+Z8Leer9AQl5ruyxXnu6FxhOEM00QuI3eqX9Dnnai4tZ XsxbIqP0EeV26NitMB+Awt8bJmbmnRBedh03xweEgJ1iiwoWtT6+C8WiAgbcs35hWmzo GAzAQqfazTyr2qQfxBO11uC3yYpp1IjkZfO3BAs/8LIaemN8VKeycnwi934r5ZoRZXDQ B05SATcSQfNOdj40BAEFSpbGs3t/9ZgvUml1d7B14D3+gxZPlr4wwHWQ6HUNrUuMNeUi aFTeAdfSIst4DRes6p3QmBfqp8frqlqIUFCboAGMiVDXOlMVc47BII/ygD/YuXNGaW5o g1kg== X-Forwarded-Encrypted: i=1; AJvYcCVqMeVlLV0xttY3RjT7o/qMHP3q+7eIRW227RU7OKM6CRtO6uCvJegQPD27tcYU2ZMBpC2HnhbAnaHWmjjfPqyiAv/9SIVunmGgzWZP X-Gm-Message-State: AOJu0YxaJ946eM7sml0/KTSHpSAQWo79BXccE7lJbvvJXE/VnqHT5NQZ FXzYdMAH6yQb7WTC9JFWn3cp6RHPsgraEt9OBe8jGZLJiTQXs/5XZCmAtITp98zeqOAQieWjr+v 98CsN2iaqdaPuZOimaWPg84xNkYjhGMyCxZhKEw== X-Received: by 2002:a25:db08:0:b0:dc7:4460:878a with SMTP id g8-20020a25db08000000b00dc74460878amr8986047ybf.3.1710769734613; Mon, 18 Mar 2024 06:48:54 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240318-apss-ipq-pll-cleanup-v1-0-52f795429d5d@gmail.com> <20240318-apss-ipq-pll-cleanup-v1-1-52f795429d5d@gmail.com> In-Reply-To: <20240318-apss-ipq-pll-cleanup-v1-1-52f795429d5d@gmail.com> From: Dmitry Baryshkov Date: Mon, 18 Mar 2024 15:48:43 +0200 Message-ID: Subject: Re: [PATCH 1/5] clk: qcom: apss-ipq-pll: reuse Stromer reg offsets from 'clk_alpha_pll_regs' To: Gabor Juhos Cc: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Mon, 18 Mar 2024 at 13:20, Gabor Juhos wrote: > > The register offset array defined locally for the > CLK_ALPHA_PLL_TYPE_STROMER_PLUS is the same as the > entry defined for CLK_ALPHA_PLL_TYPE_STROMER in the > 'clk_alpha_pll_regs' array. > > To avoid code duplication, remove the local definition > and use the global one instead. > > No functional changes. > > Signed-off-by: Gabor Juhos > --- > Depends on the following patches: > - "clk: qcom: apss-ipq-pll: use stromer ops for IPQ5018 to fix boot failure" > Link: https://lore.kernel.org/r/20240315-apss-ipq-pll-ipq5018-hang-v2-1-6fe30ada2009@gmail.com > - "clk: qcom: clk-alpha-pll: Stromer register cleanup" > Link: https://lore.kernel.org/r/20240311-alpha-pll-stromer-cleanup-v1-0-f7c0c5607cca@gmail.com > --- > drivers/clk/qcom/apss-ipq-pll.c | 24 ++++++------------------ > 1 file changed, 6 insertions(+), 18 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry