Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1339953 > unrolled thread

Re: [PATCH] clk: socfpga: allow for multiple parents on Arria10 periph clocks

Started byStephen Boyd <sboyd@codeaurora.org>
First post2016-02-22 22:50 +0100
Last post2016-02-22 23:00 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] clk: socfpga: allow for multiple parents on Arria10  periph clocks Stephen Boyd <sboyd@codeaurora.org> - 2016-02-22 22:50 +0100
    Re: [PATCH] clk: socfpga: allow for multiple parents on Arria10  periph clocks Stephen Boyd <sboyd@codeaurora.org> - 2016-02-22 23:00 +0100

#1339953 — Re: [PATCH] clk: socfpga: allow for multiple parents on Arria10 periph clocks

FromStephen Boyd <sboyd@codeaurora.org>
Date2016-02-22 22:50 +0100
SubjectRe: [PATCH] clk: socfpga: allow for multiple parents on Arria10 periph clocks
Message-ID<r56wH-3xl-25@gated-at.bofh.it>
On 02/22, dinguyen@opensource.altera.com wrote:
> From: Dinh Nguyen <dinguyen@opensource.altera.com>
> 
> There are some Arria10 clocks of type "altr,socfpga-a10-perip-clk" that can
> have multiple parents. Fix up the __socfpga_periph_init() to call
> of_clk_parent_fill() that will return the appropriate number of parents.
> 
> Also, update __socfpga_gate_init() to call of_clk_parent_fill() helper
> function.
> 
> Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

[toc] | [next] | [standalone]


#1339957

FromStephen Boyd <sboyd@codeaurora.org>
Date2016-02-22 23:00 +0100
Message-ID<r56Gn-3Cv-23@gated-at.bofh.it>
In reply to#1339953
On 02/22, Stephen Boyd wrote:
> On 02/22, dinguyen@opensource.altera.com wrote:
> > From: Dinh Nguyen <dinguyen@opensource.altera.com>
> > 
> > There are some Arria10 clocks of type "altr,socfpga-a10-perip-clk" that can
> > have multiple parents. Fix up the __socfpga_periph_init() to call
> > of_clk_parent_fill() that will return the appropriate number of parents.
> > 
> > Also, update __socfpga_gate_init() to call of_clk_parent_fill() helper
> > function.
> > 
> > Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
> > ---
> 
> Applied to clk-next
> 

Oops, spoke too soon:

drivers/clk/socfpga/clk-periph-a10.c:113:27: warning: incorrect type in assignment (different base types)
drivers/clk/socfpga/clk-periph-a10.c:113:27:    expected char const *const *[assigned] parent_names
drivers/clk/socfpga/clk-periph-a10.c:113:27:    got char const *( *<noident> )[5]
  CC      drivers/clk/socfpga/clk-periph-a10.o
drivers/clk/socfpga/clk-periph-a10.c: In function ‘__socfpga_periph_init’:
drivers/clk/socfpga/clk-periph-a10.c:113:20: warning: assignment from incompatible pointer type [enabled by default]


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web