All of lore.kernel.org
 help / color / mirror / Atom feed
From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] ARM: Dove: Convert to DT GPIO and pinctrl
Date: Sun, 25 Nov 2012 11:51:46 +0100	[thread overview]
Message-ID: <50B1F842.2080500@gmail.com> (raw)
In-Reply-To: <20121124185906.GT15800@titan.lakedaemon.net>

On 11/24/2012 07:59 PM, Jason Cooper wrote:
> On Sat, Nov 24, 2012 at 07:10:24PM +0100, Thomas Petazzoni wrote:
>> On Sat, 24 Nov 2012 10:00:04 -0500, Jason Cooper wrote:
>>> Yes, so that's what I thought happened.  This would have made orion/dt
>>> depend upon mvebu/everything.  It already had two other dependencies.
>>> Not ideal.
>>>
>>> The good thing is, the build is not broken.  Once v3.8-rc1 drops with
>>> all of our stuff merged, I'll post a fixup patch adding this back in.
>>
>> It unfortunately means that Dove will be basically unbootable in
>> 3.8-rc1, as the driver will not be clk_get()ing its gatable clock, and
>> the clock driver will disable it. Maybe we can just live with it, I
>> don't know.
>
> Yes, I thought as much after I sent this reply.  Definitely a choice of
> the lesser of two evils.  As long as we don't break the build or have
> horrendous merge conflicts, I think it's tolerable.
>
> Any one who is booting -rc1's is typically bug hunting.  This means
> Sebastian, who has been CC'd on all of this.  I don't want to rely on
> this in the future, but doing it once due to the circumstances is
> something I'm comfortable answering to.

Jason,

sorry for the late answer. I merged all pull reqs in the order posted
on top of latest linux/master. Thomas is right, removing the clk_gate
from pinctrl potentially could have broken boot on dove. I tried it and
it _does_ boot, because the clk used by pinctrl is optional in pinctrl-dove
and there is no pinhog/device touching the register clocked by the clock.

As soon as I 'cat pinconf-groups' in debugfs, the register is read and
my cubox hangs as expected.

So, finally a fixup patch for 3.8-rc1 is ok for me.

Thanks for merging all the patches!

Sebastian

WARNING: multiple messages have this Message-ID (diff)
From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
To: Jason Cooper <jason@lakedaemon.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	Andrew Lunn <andrew@lunn.ch>,
	Russell King <linux@arm.linux.org.uk>,
	Linus Walleij <linus.walleij@linaro.org>,
	linux-kernel@vger.kernel.org,
	Gregory CLEMENT <gregory.clement@free-electrons.com>,
	Axel Lin <axel.lin@ingics.com>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 3/4] ARM: Dove: Convert to DT GPIO and pinctrl
Date: Sun, 25 Nov 2012 11:51:46 +0100	[thread overview]
Message-ID: <50B1F842.2080500@gmail.com> (raw)
In-Reply-To: <20121124185906.GT15800@titan.lakedaemon.net>

On 11/24/2012 07:59 PM, Jason Cooper wrote:
> On Sat, Nov 24, 2012 at 07:10:24PM +0100, Thomas Petazzoni wrote:
>> On Sat, 24 Nov 2012 10:00:04 -0500, Jason Cooper wrote:
>>> Yes, so that's what I thought happened.  This would have made orion/dt
>>> depend upon mvebu/everything.  It already had two other dependencies.
>>> Not ideal.
>>>
>>> The good thing is, the build is not broken.  Once v3.8-rc1 drops with
>>> all of our stuff merged, I'll post a fixup patch adding this back in.
>>
>> It unfortunately means that Dove will be basically unbootable in
>> 3.8-rc1, as the driver will not be clk_get()ing its gatable clock, and
>> the clock driver will disable it. Maybe we can just live with it, I
>> don't know.
>
> Yes, I thought as much after I sent this reply.  Definitely a choice of
> the lesser of two evils.  As long as we don't break the build or have
> horrendous merge conflicts, I think it's tolerable.
>
> Any one who is booting -rc1's is typically bug hunting.  This means
> Sebastian, who has been CC'd on all of this.  I don't want to rely on
> this in the future, but doing it once due to the circumstances is
> something I'm comfortable answering to.

Jason,

sorry for the late answer. I merged all pull reqs in the order posted
on top of latest linux/master. Thomas is right, removing the clk_gate
from pinctrl potentially could have broken boot on dove. I tried it and
it _does_ boot, because the clk used by pinctrl is optional in pinctrl-dove
and there is no pinhog/device touching the register clocked by the clock.

As soon as I 'cat pinconf-groups' in debugfs, the register is read and
my cubox hangs as expected.

So, finally a fixup patch for 3.8-rc1 is ok for me.

Thanks for merging all the patches!

Sebastian



  reply	other threads:[~2012-11-25 10:51 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19  9:39 [PATCH 0/4] Dove pinctrl fixes and DT enabling Sebastian Hesselbarth
2012-11-19  9:39 ` Sebastian Hesselbarth
2012-11-19  9:39 ` [PATCH 1/4] pinctrl: mvebu: fix iomem pointer for dove pinctrl Sebastian Hesselbarth
2012-11-19  9:39   ` Sebastian Hesselbarth
2012-11-19  9:48   ` Thomas Petazzoni
2012-11-19  9:48     ` Thomas Petazzoni
2012-11-21 10:00   ` Linus Walleij
2012-11-21 10:00     ` Linus Walleij
2012-11-19  9:39 ` [PATCH 2/4] pinctrl: mvebu: Fix dove_audio1_ctrl_set function Sebastian Hesselbarth
2012-11-19  9:39   ` Sebastian Hesselbarth
2012-11-21 10:00   ` Linus Walleij
2012-11-21 10:00     ` Linus Walleij
2012-11-19  9:39 ` [PATCH 3/4] ARM: Dove: Convert to DT GPIO and pinctrl Sebastian Hesselbarth
2012-11-19  9:39   ` Sebastian Hesselbarth
2012-11-24  2:39   ` Jason Cooper
2012-11-24  2:39     ` Jason Cooper
2012-11-24  7:02     ` Thomas Petazzoni
2012-11-24  7:02       ` Thomas Petazzoni
2012-11-24 15:00       ` Jason Cooper
2012-11-24 15:00         ` Jason Cooper
2012-11-24 18:10         ` Thomas Petazzoni
2012-11-24 18:10           ` Thomas Petazzoni
2012-11-24 18:59           ` Jason Cooper
2012-11-24 18:59             ` Jason Cooper
2012-11-25 10:51             ` Sebastian Hesselbarth [this message]
2012-11-25 10:51               ` Sebastian Hesselbarth
2012-11-25 15:28               ` Jason Cooper
2012-11-25 15:28                 ` Jason Cooper
2012-11-26  9:18                 ` [PATCH 1/2] ARM: Dove: Add pinctrl clock to DT Sebastian Hesselbarth
2012-11-26  9:18                   ` Sebastian Hesselbarth
2012-11-26  9:20                   ` [PATCH 2/2] pinctrl: mvebu: make pdma clock on dove mandatory Sebastian Hesselbarth
2012-11-26  9:20                     ` Sebastian Hesselbarth
2012-11-26  9:30                     ` Baruch Siach
2012-11-26  9:30                       ` Baruch Siach
2012-11-26 19:16                   ` [PATCH v2 1/2] ARM: Dove: Add pinctrl clock to DT Sebastian Hesselbarth
2012-11-26 19:16                     ` Sebastian Hesselbarth
2012-11-26 19:16                     ` [PATCH v2 2/2] pinctrl: mvebu: make pdma clock on dove mandatory Sebastian Hesselbarth
2012-11-26 19:16                       ` Sebastian Hesselbarth
2013-01-07 16:20                     ` [PATCH v2 1/2] ARM: Dove: Add pinctrl clock to DT Jason Cooper
2013-01-07 16:20                       ` Jason Cooper
2012-12-01 17:07                   ` [PATCH " Linus Walleij
2012-12-01 17:07                     ` Linus Walleij
2012-12-01 18:13                     ` Jason Cooper
2012-12-01 18:13                       ` Jason Cooper
2012-12-01 18:15                       ` Sebastian Hesselbarth
2012-12-01 18:15                         ` Sebastian Hesselbarth
2012-12-01 18:21                         ` Jason Cooper
2012-12-01 18:21                           ` Jason Cooper
2012-11-19  9:39 ` [PATCH 4/4] ARM: Dove: Add CuBox pinhog for led Sebastian Hesselbarth
2012-11-19  9:39   ` Sebastian Hesselbarth
2012-11-21  9:59 ` [PATCH 0/4] Dove pinctrl fixes and DT enabling Linus Walleij
2012-11-21  9:59   ` Linus Walleij
2012-11-21 10:20   ` Sebastian Hesselbarth
2012-11-21 10:20     ` Sebastian Hesselbarth
2012-11-21 14:45     ` Linus Walleij
2012-11-21 14:45       ` Linus Walleij
2012-11-21 14:59       ` Thomas Petazzoni
2012-11-21 14:59         ` Thomas Petazzoni
2012-11-21 15:52       ` Jason Cooper
2012-11-21 15:52         ` Jason Cooper
2012-11-23  7:49         ` Linus Walleij
2012-11-23  7:49           ` Linus Walleij
2012-11-23 14:13           ` Jason Cooper
2012-11-23 14:13             ` Jason Cooper

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=50B1F842.2080500@gmail.com \
    --to=sebastian.hesselbarth@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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 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.