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


Groups > linux.kernel > #1273479

Re: [PATCH] clk: add generic driver for fixed rate clock

From Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: add generic driver for fixed rate clock
Date 2015-11-19 21:40 +0100
Message-ID <qwE9P-5PC-17@gated-at.bofh.it> (permalink)
References <lN7LQ-6qu-1@gated-at.bofh.it> <qvQG5-6Vs-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 17, 2015 at 04:46:29PM +0100, Geert Uytterhoeven wrote:
> Thanks, this is still very useful!
> 
> I stumbled across this old patch while trying to instantiate a fixed rate
> clock from a DT overlay.
> Without this, the clock is never instantiated, as drivers/clk/clk-fixed-rate.c
> uses CLK_OF_DECLARE() :-( With your driver, it works as expected
> (after fixing the modpost complaint, cfr. below).
>

Ah, I'm glad that this old thing was of use to someone else than me ;)

> However, I think that instead of creating a new driver, you should just add
> the meat of clk-generic-fixed.c to clk-fixed-rate.c.

Sure, that sounds reasonable, I'll take a second bat at this patch and do that.

Stefan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [PATCH] clk: add generic driver for fixed rate clock Geert Uytterhoeven <geert@linux-m68k.org> - 2015-11-17 16:50 +0100
  Re: [PATCH] clk: add generic driver for fixed rate clock Stephen Boyd <sboyd@codeaurora.org> - 2015-11-18 21:40 +0100
    Re: [PATCH] clk: add generic driver for fixed rate clock Geert Uytterhoeven <geert@linux-m68k.org> - 2015-11-18 22:50 +0100
  Re: [PATCH] clk: add generic driver for fixed rate clock Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> - 2015-11-19 21:40 +0100

csiph-web