[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160824063152.GY6502@codeaurora.org>
Date: Tue, 23 Aug 2016 23:31:52 -0700
From: Stephen Boyd <sboyd@...eaurora.org>
To: Rajendra Nayak <rnayak@...eaurora.org>
Cc: mturquette@...libre.com, linux-clk@...r.kernel.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
tdas@...eaurora.org
Subject: Re: [PATCH v2 07/10] clk: qcom: Add support to enable FSM mode for
votable alpha PLLs
On 08/11, Rajendra Nayak wrote:
> diff --git a/drivers/clk/qcom/common.c b/drivers/clk/qcom/common.c
> index f7c226a..6bf5abd 100644
> --- a/drivers/clk/qcom/common.c
> +++ b/drivers/clk/qcom/common.c
> @@ -25,6 +25,14 @@
> #include "reset.h"
> #include "gdsc.h"
>
> +#define PLL_LOCK_COUNT_SHIFT 8
> +#define PLL_LOCK_COUNT_MASK 0x3f
> +#define PLL_BIAS_COUNT_SHIFT 14
> +#define PLL_BIAS_COUNT_MASK 0x3f
> +#define PLL_VOTE_FSM_ENA BIT(20)
> +#define PLL_DYN_FSM_ENA BIT(20)
> +#define PLL_VOTE_FSM_RESET BIT(21)
These appear but aren't deleted from anywhere else so I suspect
now we have two copies of these defines somewhere? Perhaps this
should go into common.h as well?
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists