[PATCH 2/2] clk: qcom: clk-alpha-pll: reorder Stromer register offsets

Gabor Juhos posted 2 patches 1 year, 11 months ago
[PATCH 2/2] clk: qcom: clk-alpha-pll: reorder Stromer register offsets
Posted by Gabor Juhos 1 year, 11 months ago
The register offset arrays are ordered based on the register
offsets for all PLLs but the Stromer. For consistency, reorder
the Stromer specific array as well.

No functional changes.

Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
---
 drivers/clk/qcom/clk-alpha-pll.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/qcom/clk-alpha-pll.c b/drivers/clk/qcom/clk-alpha-pll.c
index 58ae732959803..55a77e36dc44c 100644
--- a/drivers/clk/qcom/clk-alpha-pll.c
+++ b/drivers/clk/qcom/clk-alpha-pll.c
@@ -212,9 +212,9 @@ const u8 clk_alpha_pll_regs[][PLL_OFF_MAX_REGS] = {
 		[PLL_OFF_USER_CTL] = 0x18,
 		[PLL_OFF_USER_CTL_U] = 0x1c,
 		[PLL_OFF_CONFIG_CTL] = 0x20,
+		[PLL_OFF_STATUS] = 0x28,
 		[PLL_OFF_TEST_CTL] = 0x30,
 		[PLL_OFF_TEST_CTL_U] = 0x34,
-		[PLL_OFF_STATUS] = 0x28,
 	},
 	[CLK_ALPHA_PLL_TYPE_STROMER_PLUS] =  {
 		[PLL_OFF_L_VAL] = 0x04,

-- 
2.44.0
Re: [PATCH 2/2] clk: qcom: clk-alpha-pll: reorder Stromer register offsets
Posted by Konrad Dybcio 1 year, 11 months ago

On 3/11/24 19:45, Gabor Juhos wrote:
> The register offset arrays are ordered based on the register
> offsets for all PLLs but the Stromer. For consistency, reorder
> the Stromer specific array as well.
> 
> No functional changes.
> 
> Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad