Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1464048 > unrolled thread
| Started by | Stephen Boyd <stephen.boyd@linaro.org> |
|---|---|
| First post | 2016-08-16 22:10 +0200 |
| Last post | 2016-08-17 05:10 +0200 |
| Articles | 2 — 2 participants |
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.
Re: [PATCH 17/34] clk: maxgen: Migrate to clk_hw based OF and registration APIs Stephen Boyd <stephen.boyd@linaro.org> - 2016-08-16 22:10 +0200
Re: [PATCH 17/34] clk: maxgen: Migrate to clk_hw based OF and registration APIs Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-17 05:10 +0200
| From | Stephen Boyd <stephen.boyd@linaro.org> |
|---|---|
| Date | 2016-08-16 22:10 +0200 |
| Subject | Re: [PATCH 17/34] clk: maxgen: Migrate to clk_hw based OF and registration APIs |
| Message-ID | <s6SQq-7EI-33@gated-at.bofh.it> |
On Tue, Jun 7, 2016 at 11:55 AM, Javier Martinez Canillas
<javier@osg.samsung.com> wrote:
> On 06/07/2016 02:50 PM, Javier Martinez Canillas wrote:
>> Hello Stephen,
>>
>> On Wed, Jun 1, 2016 at 7:15 PM, Stephen Boyd <stephen.boyd@linaro.org> wrote:
>>> Now that we have clk_hw based provider APIs to register clks, we
>>> can get rid of struct clk pointers while registering clks in
>>> these drivers, allowing us to move closer to a clear split of
>>> consumer and provider clk APIs.
>>>
>>> Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
>>
>> This email address doesn't exist anymore, you can use
>> javier@osg.samsung.com instead.
>>
>>> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
>>> ---
>>>
>>> See commit 58657d189a2f and it's children for details on this
>>> new registration API.
>>>
>>
>> I tried this patch on top of linux-next and my Peach Pi Chromebook
>> (that has a max77802 chip) failed to boot. Following is the relevant
>> parts from the boot log:
>>
>
> It seems the mailer did a mess with the line wrapping so here's another attempt:
>
Thanks! Found the problem too.
----8<-----
diff --git a/drivers/clk/clk-max-gen.c b/drivers/clk/clk-max-gen.c
index 4bb53fcf8639..5e8bac190698 100644
--- a/drivers/clk/clk-max-gen.c
+++ b/drivers/clk/clk-max-gen.c
@@ -169,7 +169,7 @@ int max_gen_clk_probe(struct platform_device
*pdev, struct regmap *regmap,
if (dev->of_node) {
ret = of_clk_add_hw_provider(dev->of_node, of_clk_max_gen_get,
- max_gen_clks);
+ max_gen_data);
if (ret) {
dev_err(dev, "failed to register OF clock provider\n");
return ret;
[toc] | [next] | [standalone]
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-08-17 05:10 +0200 |
| Message-ID | <s6ZoR-3CS-3@gated-at.bofh.it> |
| In reply to | #1464048 |
Hello Stephen, On 08/16/2016 04:06 PM, Stephen Boyd wrote: > On Tue, Jun 7, 2016 at 11:55 AM, Javier Martinez Canillas >>> >>> I tried this patch on top of linux-next and my Peach Pi Chromebook >>> (that has a max77802 chip) failed to boot. Following is the relevant >>> parts from the boot log: >>> >> >> It seems the mailer did a mess with the line wrapping so here's another attempt: >> > > Thanks! Found the problem too. > Great! Thanks a lot for finding the issue. I tested v2 of your patch and it worked well indeed. Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web