* [PATCH] clk: microchip: Remove CLK_IS_ROOT
@ 2016-06-01 21:55 Stephen Boyd
2016-06-02 4:54 ` Purna Chandra Mandal
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Boyd @ 2016-06-01 21:55 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd
Cc: linux-kernel, linux-clk, Purna Chandra Mandal, Ralf Baechle, linux-mips
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
CLK_IS_ROOT", 2016-02-02) so remove it.
Cc: Purna Chandra Mandal <purna.mandal@microchip.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: <linux-mips@linux-mips.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
I'm going to send this to Linus tomorrow or Friday so we can finally
remove this flag entirely.
drivers/clk/microchip/clk-pic32mzda.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/microchip/clk-pic32mzda.c b/drivers/clk/microchip/clk-pic32mzda.c
index 020a29acc5b0..51f54380474b 100644
--- a/drivers/clk/microchip/clk-pic32mzda.c
+++ b/drivers/clk/microchip/clk-pic32mzda.c
@@ -180,15 +180,15 @@ static int pic32mzda_clk_probe(struct platform_device *pdev)
/* register fixed rate clocks */
clks[POSCCLK] = clk_register_fixed_rate(&pdev->dev, "posc_clk", NULL,
- CLK_IS_ROOT, 24000000);
+ 0, 24000000);
clks[FRCCLK] = clk_register_fixed_rate(&pdev->dev, "frc_clk", NULL,
- CLK_IS_ROOT, 8000000);
+ 0, 8000000);
clks[BFRCCLK] = clk_register_fixed_rate(&pdev->dev, "bfrc_clk", NULL,
- CLK_IS_ROOT, 8000000);
+ 0, 8000000);
clks[LPRCCLK] = clk_register_fixed_rate(&pdev->dev, "lprc_clk", NULL,
- CLK_IS_ROOT, 32000);
+ 0, 32000);
clks[UPLLCLK] = clk_register_fixed_rate(&pdev->dev, "usbphy_clk", NULL,
- CLK_IS_ROOT, 24000000);
+ 0, 24000000);
/* fixed rate (optional) clock */
if (of_find_property(np, "microchip,pic32mzda-sosc", NULL)) {
pr_info("pic32-clk: dt requests SOSC.\n");
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: microchip: Remove CLK_IS_ROOT
@ 2016-06-02 4:54 ` Purna Chandra Mandal
0 siblings, 0 replies; 3+ messages in thread
From: Purna Chandra Mandal @ 2016-06-02 4:54 UTC (permalink / raw)
To: Stephen Boyd, Michael Turquette
Cc: linux-kernel, linux-clk, Ralf Baechle, linux-mips
On 06/02/2016 03:25 AM, Stephen Boyd wrote:
> This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
> CLK_IS_ROOT", 2016-02-02) so remove it.
>
> Cc: Purna Chandra Mandal <purna.mandal@microchip.com>
> Cc: Ralf Baechle <ralf@linux-mips.org>
> Cc: <linux-mips@linux-mips.org>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
>
> I'm going to send this to Linus tomorrow or Friday so we can finally
> remove this flag entirely.
>
> drivers/clk/microchip/clk-pic32mzda.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/clk/microchip/clk-pic32mzda.c b/drivers/clk/microchip/clk-pic32mzda.c
> index 020a29acc5b0..51f54380474b 100644
> --- a/drivers/clk/microchip/clk-pic32mzda.c
> +++ b/drivers/clk/microchip/clk-pic32mzda.c
> @@ -180,15 +180,15 @@ static int pic32mzda_clk_probe(struct platform_device *pdev)
>
> /* register fixed rate clocks */
> clks[POSCCLK] = clk_register_fixed_rate(&pdev->dev, "posc_clk", NULL,
> - CLK_IS_ROOT, 24000000);
> + 0, 24000000);
> clks[FRCCLK] = clk_register_fixed_rate(&pdev->dev, "frc_clk", NULL,
> - CLK_IS_ROOT, 8000000);
> + 0, 8000000);
> clks[BFRCCLK] = clk_register_fixed_rate(&pdev->dev, "bfrc_clk", NULL,
> - CLK_IS_ROOT, 8000000);
> + 0, 8000000);
> clks[LPRCCLK] = clk_register_fixed_rate(&pdev->dev, "lprc_clk", NULL,
> - CLK_IS_ROOT, 32000);
> + 0, 32000);
> clks[UPLLCLK] = clk_register_fixed_rate(&pdev->dev, "usbphy_clk", NULL,
> - CLK_IS_ROOT, 24000000);
> + 0, 24000000);
> /* fixed rate (optional) clock */
> if (of_find_property(np, "microchip,pic32mzda-sosc", NULL)) {
> pr_info("pic32-clk: dt requests SOSC.\n");
Tested-by: Purna Chandra Mandal <purna.mandal@microchip.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: microchip: Remove CLK_IS_ROOT
@ 2016-06-02 4:54 ` Purna Chandra Mandal
0 siblings, 0 replies; 3+ messages in thread
From: Purna Chandra Mandal @ 2016-06-02 4:54 UTC (permalink / raw)
To: Stephen Boyd, Michael Turquette
Cc: linux-kernel, linux-clk, Ralf Baechle, linux-mips
On 06/02/2016 03:25 AM, Stephen Boyd wrote:
> This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
> CLK_IS_ROOT", 2016-02-02) so remove it.
>
> Cc: Purna Chandra Mandal <purna.mandal@microchip.com>
> Cc: Ralf Baechle <ralf@linux-mips.org>
> Cc: <linux-mips@linux-mips.org>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
>
> I'm going to send this to Linus tomorrow or Friday so we can finally
> remove this flag entirely.
>
> drivers/clk/microchip/clk-pic32mzda.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/clk/microchip/clk-pic32mzda.c b/drivers/clk/microchip/clk-pic32mzda.c
> index 020a29acc5b0..51f54380474b 100644
> --- a/drivers/clk/microchip/clk-pic32mzda.c
> +++ b/drivers/clk/microchip/clk-pic32mzda.c
> @@ -180,15 +180,15 @@ static int pic32mzda_clk_probe(struct platform_device *pdev)
>
> /* register fixed rate clocks */
> clks[POSCCLK] = clk_register_fixed_rate(&pdev->dev, "posc_clk", NULL,
> - CLK_IS_ROOT, 24000000);
> + 0, 24000000);
> clks[FRCCLK] = clk_register_fixed_rate(&pdev->dev, "frc_clk", NULL,
> - CLK_IS_ROOT, 8000000);
> + 0, 8000000);
> clks[BFRCCLK] = clk_register_fixed_rate(&pdev->dev, "bfrc_clk", NULL,
> - CLK_IS_ROOT, 8000000);
> + 0, 8000000);
> clks[LPRCCLK] = clk_register_fixed_rate(&pdev->dev, "lprc_clk", NULL,
> - CLK_IS_ROOT, 32000);
> + 0, 32000);
> clks[UPLLCLK] = clk_register_fixed_rate(&pdev->dev, "usbphy_clk", NULL,
> - CLK_IS_ROOT, 24000000);
> + 0, 24000000);
> /* fixed rate (optional) clock */
> if (of_find_property(np, "microchip,pic32mzda-sosc", NULL)) {
> pr_info("pic32-clk: dt requests SOSC.\n");
Tested-by: Purna Chandra Mandal <purna.mandal@microchip.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-02 4:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-01 21:55 [PATCH] clk: microchip: Remove CLK_IS_ROOT Stephen Boyd
2016-06-02 4:54 ` Purna Chandra Mandal
2016-06-02 4:54 ` Purna Chandra Mandal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.