All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@de.bosch.com>
To: linux-sh@vger.kernel.org
Subject: Re: [RFC] clk: shmobile: r8a7795: Add SD divider support
Date: Fri, 29 Jan 2016 08:29:12 +0000	[thread overview]
Message-ID: <56AB22D8.3020002@de.bosch.com> (raw)
In-Reply-To: <1453465586-12807-1-git-send-email-dirk.behme@de.bosch.com>

On 29.01.2016 09:14, Wolfram Sang wrote:
>> Having the clock patch applied on top of your renesas/v8-sdhi branch [1] I
>> get
>>
>> root@salvator-x:/sys/kernel/debug/clk# cat clk_summary
>>     clock             enable_cnt  prepare_cnt        rate
>> --------------------------------------------------------
>> ...
>>      .main                     1            1     8333333
>>      ...
>>         .pll1                  1            1  1599999936
>>            .pll1_div2          2            2   799999968
>>               hdmi             0            0    24999999
>>                  hdmi0         0            0    24999999
>>                  hdmi1         0            0    24999999
>>               cl               0            0    16666666
>>               sd3              0            0    99999996
>>                  sdif3         0            0    99999996
>>               sd2              0            0    99999996
>>                  sdif2         0            0    99999996
>>               sd1              0            0    49999998
>>                  sdif1         0            0    49999998
>>               sd0              0            0    49999998
>>                  sdif0         0            0    49999998
>
> This is what I get (with your cleanup patch also applied):
>
> ...
>      .main                                 1            1     8333333          0 0
>      ...
>         .pll1                              1            1  1599999936          0 0
>            .pll1_div2                      3            3   799999968          0 0
>               hdmi                         0            0    24999999          0 0
>                  hdmi0                     0            0    24999999          0 0
>                  hdmi1                     0            0    24999999          0 0
>               cl                           0            0    16666666          0 0
>               sd3                          1            1   199999992          0 0
>                  sdif3                     1            2   199999992          0 0
>               sd2                          0            0    49999998          0 0
>                  sdif2                     0            0    49999998          0 0
>               sd1                          0            0    49999998          0 0
>                  sdif1                     0            0    49999998          0 0
>               sd0                          1            1    49999998          0 0
>                  sdif0                     1            2    49999998          0 0
>
> Could it be a firmware difference (i.e. bootloader trying to boot from eMMC and
> changing values)?


Yes, its U-Boot. I have U-Boot from rcar-3.0.3 BSP on the board and 
verified that it configures exactly the clock configuration I gave above.

Best regards

Dirk

Bes

      parent reply	other threads:[~2016-01-29  8:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-22 12:26 [RFC] clk: shmobile: r8a7795: Add SD divider support Dirk Behme
2016-01-25  8:59 ` Geert Uytterhoeven
2016-01-25  9:11 ` Dirk Behme
2016-01-25 19:23 ` Wolfram Sang
2016-01-27  7:14 ` Wolfram Sang
2016-01-27  8:43 ` Geert Uytterhoeven
2016-01-27  9:01 ` Dirk Behme
2016-01-27 13:14 ` Dirk Behme
2016-01-29  8:14 ` Wolfram Sang
2016-01-29  8:29 ` Dirk Behme [this message]

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=56AB22D8.3020002@de.bosch.com \
    --to=dirk.behme@de.bosch.com \
    --cc=linux-sh@vger.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 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.