[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191107180131.63960cf1@litschi.hi.pengutronix.de>
Date: Thu, 7 Nov 2019 18:01:31 +0100
From: Michael Tretter <m.tretter@...gutronix.de>
To: Rajan Vaja <rajan.vaja@...inx.com>
Cc: mturquette@...libre.com, sboyd@...nel.org, michal.simek@...inx.com,
jollys@...inx.com, linux-clk@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Jolly Shah <jolly.shah@...inx.com>, kernel@...gutronix.de
Subject: Re: [PATCH] clk: zynqmp: Correct bit index for divider flag
On Thu, 07 Nov 2019 01:01:30 -0800, Rajan Vaja wrote:
> Update divider flag bit index to match with firmware.
>
> Signed-off-by: Rajan Vaja <rajan.vaja@...inx.com>
> Signed-off-by: Jolly Shah <jolly.shah@...inx.com>
> Signed-off-by: Michal Simek <michal.simek@...inx.com>
> ---
> drivers/clk/zynqmp/divider.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/clk/zynqmp/divider.c b/drivers/clk/zynqmp/divider.c
> index d8f5b70d..9e60834 100644
> --- a/drivers/clk/zynqmp/divider.c
> +++ b/drivers/clk/zynqmp/divider.c
> @@ -2,7 +2,7 @@
> /*
> * Zynq UltraScale+ MPSoC Divider support
> *
> - * Copyright (C) 2016-2018 Xilinx
> + * Copyright (C) 2016-2019 Xilinx
> *
> * Adjustable divider clock implementation
> */
> @@ -25,7 +25,7 @@
> #define to_zynqmp_clk_divider(_hw) \
> container_of(_hw, struct zynqmp_clk_divider, hw)
>
> -#define CLK_FRAC BIT(13) /* has a fractional parent */
> +#define CLK_FRAC BIT(8) /* has a fractional parent */
NACK.
This breaks the compatibility with the older/upstream versions of the
TF-A. You have to at least make this dependent on the used version of
the TF-A.
>
> /**
> * struct zynqmp_clk_divider - adjustable divider clock
Powered by blists - more mailing lists