All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: balbi@ti.com
Cc: Luciano Coelho <coelho@ti.com>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	svenkatr@ti.com, linux-omap@vger.kernel.org,
	linux-mmc@vger.kernel.org, cjb@laptop.org, lrg@ti.com,
	linux-kernel@vger.kernel.org, Tony Lindgren <tony@atomide.com>,
	r.sricharan@ti.com
Subject: Re: 32kHz clock removal causes problems omap_hsmmc
Date: Wed, 19 Dec 2012 15:31:53 +0100	[thread overview]
Message-ID: <50D1CFD9.2050205@ti.com> (raw)
In-Reply-To: <20121219130128.GC17993@arwen.pp.htv.fi>

On 12/19/2012 02:01 PM, Felipe Balbi wrote:
> Hi,
> 
> +Sricharan who commited that
> 
> On Wed, Dec 19, 2012 at 11:56:20AM +0100, Peter Ujfalusi wrote:
>> On 12/19/2012 11:45 AM, Luciano Coelho wrote:
>>>> Well, we still haven't got the foggiest idea what the actual problem is
>>>> beyond that it's probably related to the 32kHz clock in some way (unless
>>>> it was one of the other reverts that coincidentally made a difference,
>>>> but we don't know what they were) so it's unlikely that just randomly
>>>> implementing clock support is going to fix anything immediately here.
>>>
>>> This is exactly what I had to revert (as I mentioned in the other email,
>>> I had to revert the other patches otherwise compilation would break):
>>>
>>> 0e8e5c34 "regulator: twl: Remove references to 32kHz clock from DT bindings"
>>> e76ab829 "regulator: twl: Remove references to the twl4030 regulator"
>>> 029dd3ce "regulator: twl: Remove another unused variable warning"
>>
>> Yeah. 32k clock is not provided by twl.
>>
>> As I said I need to take a look at CCF to see if it already there. If it is
>> clock driver + mapping + patch for wl12xx should fix the issue you are facing.
>>
>>> Let me know if you need more info.
>>
>> BTW: have you happened to ubdate u-boot recently? There is a nice easter egg
>> added there:
>> f3f98bb ARM: OMAP4/5: Do not configure non essential pads, clocks, dplls.
>>
>> Which means that _essential_ clocks and pads are no longer configured.
> 
> anything essential you can list ?

Depends on the definition of essential.
Serial and mmc works.
I said it was an easter egg since it was... well... quite a bit of surprise
that the same kernel started to fail for example in all audio operation when I
updated the u-boot, which I tend to do every now and then to see if there are
no regression.

So it was a nice surprise. Even the commit message agreed that it is going to
break the drivers:

    Note that this is going to break the kernel drivers. But this
    is the only way to get things fixed in the kernel.

Usually if I know I will going to break something intentionally I tend to send
warnings and give some grace periods for the interested guys to adopt.

And this is why people are not testing u-boot. We tend to have one working
binary moving from SD card to other and update it only, __only__ when it can
not be avoided.

If we work together, we should work together...

Do not take it personal. I just had tough days...

-- 
Péter

WARNING: multiple messages have this Message-ID (diff)
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: <balbi@ti.com>
Cc: Luciano Coelho <coelho@ti.com>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	<svenkatr@ti.com>, <linux-omap@vger.kernel.org>,
	<linux-mmc@vger.kernel.org>, <cjb@laptop.org>, <lrg@ti.com>,
	<linux-kernel@vger.kernel.org>, Tony Lindgren <tony@atomide.com>,
	<r.sricharan@ti.com>
Subject: Re: 32kHz clock removal causes problems omap_hsmmc
Date: Wed, 19 Dec 2012 15:31:53 +0100	[thread overview]
Message-ID: <50D1CFD9.2050205@ti.com> (raw)
In-Reply-To: <20121219130128.GC17993@arwen.pp.htv.fi>

On 12/19/2012 02:01 PM, Felipe Balbi wrote:
> Hi,
> 
> +Sricharan who commited that
> 
> On Wed, Dec 19, 2012 at 11:56:20AM +0100, Peter Ujfalusi wrote:
>> On 12/19/2012 11:45 AM, Luciano Coelho wrote:
>>>> Well, we still haven't got the foggiest idea what the actual problem is
>>>> beyond that it's probably related to the 32kHz clock in some way (unless
>>>> it was one of the other reverts that coincidentally made a difference,
>>>> but we don't know what they were) so it's unlikely that just randomly
>>>> implementing clock support is going to fix anything immediately here.
>>>
>>> This is exactly what I had to revert (as I mentioned in the other email,
>>> I had to revert the other patches otherwise compilation would break):
>>>
>>> 0e8e5c34 "regulator: twl: Remove references to 32kHz clock from DT bindings"
>>> e76ab829 "regulator: twl: Remove references to the twl4030 regulator"
>>> 029dd3ce "regulator: twl: Remove another unused variable warning"
>>
>> Yeah. 32k clock is not provided by twl.
>>
>> As I said I need to take a look at CCF to see if it already there. If it is
>> clock driver + mapping + patch for wl12xx should fix the issue you are facing.
>>
>>> Let me know if you need more info.
>>
>> BTW: have you happened to ubdate u-boot recently? There is a nice easter egg
>> added there:
>> f3f98bb ARM: OMAP4/5: Do not configure non essential pads, clocks, dplls.
>>
>> Which means that _essential_ clocks and pads are no longer configured.
> 
> anything essential you can list ?

Depends on the definition of essential.
Serial and mmc works.
I said it was an easter egg since it was... well... quite a bit of surprise
that the same kernel started to fail for example in all audio operation when I
updated the u-boot, which I tend to do every now and then to see if there are
no regression.

So it was a nice surprise. Even the commit message agreed that it is going to
break the drivers:

    Note that this is going to break the kernel drivers. But this
    is the only way to get things fixed in the kernel.

Usually if I know I will going to break something intentionally I tend to send
warnings and give some grace periods for the interested guys to adopt.

And this is why people are not testing u-boot. We tend to have one working
binary moving from SD card to other and update it only, __only__ when it can
not be avoided.

If we work together, we should work together...

Do not take it personal. I just had tough days...

-- 
Péter

  parent reply	other threads:[~2012-12-19 14:32 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-15  8:31 32kHz clock removal causes problems omap_hsmmc Luciano Coelho
2012-11-15  8:31 ` Luciano Coelho
2012-12-18  9:54 ` Felipe Balbi
2012-12-18  9:54   ` Felipe Balbi
2012-12-19  9:45   ` Mark Brown
2012-12-19 10:00     ` Peter Ujfalusi
2012-12-19 10:00       ` Peter Ujfalusi
2012-12-19 10:09       ` Mark Brown
2012-12-19 10:18         ` Peter Ujfalusi
2012-12-19 10:18           ` Peter Ujfalusi
2012-12-19 10:32           ` Mark Brown
2012-12-19 10:45             ` Luciano Coelho
2012-12-19 10:45               ` Luciano Coelho
2012-12-19 10:56               ` Peter Ujfalusi
2012-12-19 10:56                 ` Peter Ujfalusi
2012-12-19 11:00                 ` Peter Ujfalusi
2012-12-19 11:00                   ` Peter Ujfalusi
2012-12-19 11:02                 ` Mark Brown
2012-12-19 11:07                 ` Luciano Coelho
2012-12-19 11:07                   ` Luciano Coelho
2012-12-19 13:01                 ` Felipe Balbi
2012-12-19 13:01                   ` Felipe Balbi
2012-12-19 13:51                   ` Benoit Cousson
2012-12-19 13:51                     ` Benoit Cousson
2012-12-19 13:54                     ` Felipe Balbi
2012-12-19 13:54                       ` Felipe Balbi
2012-12-19 13:58                     ` Mark Brown
2012-12-19 13:58                     ` Luciano Coelho
2012-12-19 13:58                       ` Luciano Coelho
2012-12-19 14:04                       ` Benoit Cousson
2012-12-19 14:04                         ` Benoit Cousson
2012-12-19 18:06                         ` R Sricharan
2012-12-19 18:06                           ` R Sricharan
2012-12-19 14:31                   ` Peter Ujfalusi [this message]
2012-12-19 14:31                     ` Peter Ujfalusi
2012-12-19 16:28           ` Tony Lindgren
2012-12-19 10:01     ` Luciano Coelho
2012-12-19 10:01       ` Luciano Coelho
2012-12-19 10:28       ` Mark Brown
2012-12-19 10:42         ` Luciano Coelho
2012-12-19 10:42           ` Luciano Coelho

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=50D1CFD9.2050205@ti.com \
    --to=peter.ujfalusi@ti.com \
    --cc=balbi@ti.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=cjb@laptop.org \
    --cc=coelho@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=lrg@ti.com \
    --cc=r.sricharan@ti.com \
    --cc=svenkatr@ti.com \
    --cc=tony@atomide.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: 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.