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


Groups > linux.kernel > #1339957

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

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: socfpga: allow for multiple parents on Arria10 periph clocks
Date 2016-02-22 23:00 +0100
Message-ID <r56Gn-3Cv-23@gated-at.bofh.it> (permalink)
References <r56wH-3xl-27@gated-at.bofh.it> <r56wH-3xl-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web