From: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Ludovic Desroches <ludovic.desroches@microchip.com>,
Michael Turquette <mturquette@baylibre.com>,
Nicolas Ferre <nicolas.ferre@microchip.com>,
Rob Herring <robh+dt@kernel.org>, Stephen Boyd <sboyd@kernel.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v6 2/3] clk: at91: allow setting PCKx parent via DT
Date: Tue, 5 May 2020 00:36:04 +0200 [thread overview]
Message-ID: <20200504223604.GA16549@qmqm.qmqm.pl> (raw)
In-Reply-To: <20200504204447.GL34497@piout.net>
On Mon, May 04, 2020 at 10:44:47PM +0200, Alexandre Belloni wrote:
> On 04/05/2020 22:19:17+0200, Michał Mirosław wrote:
> > This exposes PROGx clocks for use in assigned-clocks DeviceTree property
> > for selecting PCKx parent clock.
> >
> > Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
> > Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> > ---
> > v2: rebase and update to clk/clk-at91 branch
> > v3: rebase
> > v4: no changes
> > v5: no changes
> > v6: no changes
> > ---
> > drivers/clk/at91/at91rm9200.c | 6 ++++--
> > drivers/clk/at91/at91sam9260.c | 5 ++++-
> > drivers/clk/at91/at91sam9g45.c | 6 ++++--
> > drivers/clk/at91/at91sam9n12.c | 6 ++++--
> > drivers/clk/at91/at91sam9rl.c | 4 +++-
> > drivers/clk/at91/at91sam9x5.c | 4 +++-
> > drivers/clk/at91/pmc.c | 12 ++++++++++--
> > drivers/clk/at91/pmc.h | 5 ++++-
> > drivers/clk/at91/sam9x60.c | 4 +++-
> > drivers/clk/at91/sama5d2.c | 4 +++-
> > drivers/clk/at91/sama5d3.c | 6 ++++--
> > drivers/clk/at91/sama5d4.c | 4 +++-
> > include/dt-bindings/clock/at91.h | 1 +
> > 13 files changed, 50 insertions(+), 17 deletions(-)
> >
> > diff --git a/drivers/clk/at91/at91rm9200.c b/drivers/clk/at91/at91rm9200.c
> > index c44a431b6c97..8da88e9a95d8 100644
> > --- a/drivers/clk/at91/at91rm9200.c
> > +++ b/drivers/clk/at91/at91rm9200.c
> > @@ -100,7 +100,7 @@ static void __init at91rm9200_pmc_setup(struct device_node *np)
> >
> > at91rm9200_pmc = pmc_data_allocate(PMC_MAIN + 1,
> > nck(at91rm9200_systemck),
> > - nck(at91rm9200_periphck), 0);
> > + nck(at91rm9200_periphck), 0, 4);
> > if (!at91rm9200_pmc)
> > return;
> >
> > @@ -159,6 +159,8 @@ static void __init at91rm9200_pmc_setup(struct device_node *np)
> > &at91rm9200_programmable_layout);
> > if (IS_ERR(hw))
> > goto err_free;
> > +
> > + at91rm9200_pmc->pchws[i] = hw;
> > }
> >
> > for (i = 0; i < ARRAY_SIZE(at91rm9200_systemck); i++) {
> > @@ -187,7 +189,7 @@ static void __init at91rm9200_pmc_setup(struct device_node *np)
> > return;
> >
> > err_free:
> > - pmc_data_free(at91rm9200_pmc);
> > + kfree(at91rm9200_pmc);
>
> I missed that in the previous review but shouldn't that change be part
> of the previous patch for bisectability ?
I was sure I already pushed all of them to the first patch...
Fixed in v7.
Best Regards
Michał Mirosław
next prev parent reply other threads:[~2020-05-04 22:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-04 20:19 [PATCH v6 0/3] clk: at91: support configuring more clocks via DT Michał Mirosław
2020-05-04 20:19 ` [PATCH v6 1/3] clk: at91: optimize pmc data allocation Michał Mirosław
2020-05-04 20:19 ` [PATCH v6 2/3] clk: at91: allow setting PCKx parent via DT Michał Mirosław
2020-05-04 20:44 ` Alexandre Belloni
2020-05-04 22:36 ` Michał Mirosław [this message]
2020-05-04 20:19 ` [PATCH v6 3/3] clk: at91: allow setting all PMC clock parents " Michał Mirosław
2020-05-04 21:44 ` 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=20200504223604.GA16549@qmqm.qmqm.pl \
--to=mirq-linux@rere.qmqm.pl \
--cc=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ludovic.desroches@microchip.com \
--cc=mturquette@baylibre.com \
--cc=nicolas.ferre@microchip.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).