From: Stephen Boyd <sboyd@kernel.org> To: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Nicolas Ferre <nicolas.ferre@microchip.com>, Claudiu Beznea <claudiu.beznea@microchip.com>, Michael Turquette <mturquette@baylibre.com>, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Belloni <alexandre.belloni@bootlin.com> Subject: Re: [PATCH v3 7/7] clk: at91: add sam9x60 pmc driver Date: Thu, 25 Apr 2019 12:38:55 -0700 [thread overview] Message-ID: <155622113579.15276.15900194435736283135@swboyd.mtv.corp.google.com> (raw) In-Reply-To: <20190402125056.21509-8-alexandre.belloni@bootlin.com> Quoting Alexandre Belloni (2019-04-02 05:50:56) > diff --git a/drivers/clk/at91/sam9x60.c b/drivers/clk/at91/sam9x60.c > new file mode 100644 > index 000000000000..22bf51c55bdc > --- /dev/null > +++ b/drivers/clk/at91/sam9x60.c > @@ -0,0 +1,307 @@ > +// SPDX-License-Identifier: GPL-2.0 > +#include <linux/clk-provider.h> > +#include <linux/mfd/syscon.h> > +#include <linux/slab.h> > + > +#include <dt-bindings/clock/at91.h> > + > +#include "pmc.h" > + > +DEFINE_SPINLOCK(pmc_pll_lock); > + > +static const struct clk_master_characteristics mck_characteristics = { > + .output = { .min = 140000000, .max = 200000000 }, > + .divisors = { 1, 2, 4, 3 }, > + .have_div3_pres = 1, > +}; > + > +static const struct clk_master_layout sam9x60_master_layout = { > + .mask = 0x373, > + .pres_shift = 4, > + .offset = 0x28, > +}; > + > +static struct clk_range plla_outputs[] = { const? > + { .min = 300000000, .max = 600000000 }, > +}; [...] > + > +} > + > +CLK_OF_DECLARE_DRIVER(sam9x60_pmc, "microchip,sam9x60-pmc", sam9x60_pmc_setup); > -- Can't be platform device?
WARNING: multiple messages have this Message-ID (diff)
From: Stephen Boyd <sboyd@kernel.org> To: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>, Michael Turquette <mturquette@baylibre.com>, linux-kernel@vger.kernel.org, Claudiu Beznea <claudiu.beznea@microchip.com>, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 7/7] clk: at91: add sam9x60 pmc driver Date: Thu, 25 Apr 2019 12:38:55 -0700 [thread overview] Message-ID: <155622113579.15276.15900194435736283135@swboyd.mtv.corp.google.com> (raw) In-Reply-To: <20190402125056.21509-8-alexandre.belloni@bootlin.com> Quoting Alexandre Belloni (2019-04-02 05:50:56) > diff --git a/drivers/clk/at91/sam9x60.c b/drivers/clk/at91/sam9x60.c > new file mode 100644 > index 000000000000..22bf51c55bdc > --- /dev/null > +++ b/drivers/clk/at91/sam9x60.c > @@ -0,0 +1,307 @@ > +// SPDX-License-Identifier: GPL-2.0 > +#include <linux/clk-provider.h> > +#include <linux/mfd/syscon.h> > +#include <linux/slab.h> > + > +#include <dt-bindings/clock/at91.h> > + > +#include "pmc.h" > + > +DEFINE_SPINLOCK(pmc_pll_lock); > + > +static const struct clk_master_characteristics mck_characteristics = { > + .output = { .min = 140000000, .max = 200000000 }, > + .divisors = { 1, 2, 4, 3 }, > + .have_div3_pres = 1, > +}; > + > +static const struct clk_master_layout sam9x60_master_layout = { > + .mask = 0x373, > + .pres_shift = 4, > + .offset = 0x28, > +}; > + > +static struct clk_range plla_outputs[] = { const? > + { .min = 300000000, .max = 600000000 }, > +}; [...] > + > +} > + > +CLK_OF_DECLARE_DRIVER(sam9x60_pmc, "microchip,sam9x60-pmc", sam9x60_pmc_setup); > -- Can't be platform device? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-04-25 19:39 UTC|newest] Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-04-02 12:50 [PATCH v3 0/7] clk: at91: add sam9x60 pmc clock support Alexandre Belloni 2019-04-02 12:50 ` Alexandre Belloni 2019-04-02 12:50 ` [PATCH v3 1/7] clk: at91: allow configuring peripheral PCR layout Alexandre Belloni 2019-04-02 12:50 ` Alexandre Belloni 2019-04-25 19:36 ` Stephen Boyd 2019-04-25 19:36 ` Stephen Boyd 2019-04-02 12:50 ` [PATCH v3 2/7] clk: at91: allow configuring generated " Alexandre Belloni 2019-04-02 12:50 ` Alexandre Belloni 2019-04-25 19:37 ` Stephen Boyd 2019-04-25 19:37 ` Stephen Boyd 2019-04-02 12:50 ` [PATCH v3 3/7] clk: at91: usb: Add sam9x60 support Alexandre Belloni 2019-04-02 12:50 ` Alexandre Belloni 2019-04-25 19:37 ` Stephen Boyd 2019-04-25 19:37 ` Stephen Boyd 2019-04-02 12:50 ` [PATCH v3 4/7] clk: at91: master: " Alexandre Belloni 2019-04-02 12:50 ` Alexandre Belloni 2019-04-25 19:37 ` Stephen Boyd 2019-04-25 19:37 ` Stephen Boyd 2019-04-02 12:50 ` [PATCH v3 5/7] clk: at91: add sam9x60 PLL driver Alexandre Belloni 2019-04-02 12:50 ` Alexandre Belloni 2019-04-25 19:37 ` Stephen Boyd 2019-04-25 19:37 ` Stephen Boyd 2019-04-02 12:50 ` [PATCH v3 6/7] dt-bindings: clk: at91: add bindings for SAM9X60 pmc Alexandre Belloni 2019-04-02 12:50 ` Alexandre Belloni 2019-04-25 19:37 ` Stephen Boyd 2019-04-25 19:37 ` Stephen Boyd 2019-04-02 12:50 ` [PATCH v3 7/7] clk: at91: add sam9x60 pmc driver Alexandre Belloni 2019-04-02 12:50 ` Alexandre Belloni 2019-04-25 19:38 ` Stephen Boyd [this message] 2019-04-25 19:38 ` Stephen Boyd 2019-04-25 20:31 ` Alexandre Belloni 2019-04-25 20:31 ` Alexandre Belloni 2019-04-25 20:58 ` Stephen Boyd 2019-04-25 20:58 ` Stephen Boyd 2019-04-25 21:10 ` Alexandre Belloni 2019-04-25 21:10 ` Alexandre Belloni 2019-04-25 21:20 ` Stephen Boyd 2019-04-25 21:20 ` Stephen Boyd 2019-04-26 21:06 ` Alexandre Belloni 2019-04-26 21:06 ` Alexandre Belloni 2019-04-26 22:02 ` Stephen Boyd 2019-04-26 22:02 ` Stephen Boyd 2019-04-25 21:14 ` Stephen Boyd 2019-04-25 21:14 ` Stephen Boyd 2019-04-26 20:52 ` Alexandre Belloni 2019-04-26 20:52 ` Alexandre Belloni
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=155622113579.15276.15900194435736283135@swboyd.mtv.corp.google.com \ --to=sboyd@kernel.org \ --cc=alexandre.belloni@bootlin.com \ --cc=claudiu.beznea@microchip.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-clk@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mturquette@baylibre.com \ --cc=nicolas.ferre@microchip.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.