All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anup Patel <anup@brainfault.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 0/5] Update SiFive Unleashed Drivers
Date: Wed, 19 Jun 2019 13:54:33 +0530	[thread overview]
Message-ID: <CAAhSdy12mAjP1bXLnn_Ora+yWyNDkzebrnN+_q8qXB+XPPMWnw@mail.gmail.com> (raw)
In-Reply-To: <CAEUhbmVEqk=GqaxHA+m==9pM7zOyGCo35xghpUNaHhX35zWsGg@mail.gmail.com>

On Wed, Jun 19, 2019 at 12:37 PM Bin Meng <bmeng.cn@gmail.com> wrote:
>
> Hi Anup,
>
> On Wed, Jun 19, 2019 at 3:01 PM Anup Patel <Anup.Patel@wdc.com> wrote:
> >
> > This series update SiFive Unleashed clock driver so that:
> > 1. It is in sync with upstream Linux driver
> > 2. It uses latest DT bindings as-per upstream Linux driver
> >
> > With this series, we can now use latest DT bindings with U-Boot. I have
> > tested SiFive Serial driver and Cadence MACB ethernet driver with this
> > changes and both work fine.
> >
> > The legacy FSBL will still pass DTB to U-Boot with older DT bindings
> > which will break the updated SiFive Unleashed clock driver. To tackle
> > this, we have embedded DTB in OpenSBI FW_PAYLOAD firmware for SiFive
> > Unleashed so that OpenSBI will override and pass updated DTB to U-Boot.
> >
> > In fact, the updated DTB passed by OpenSBI can be used by latest Linux
> > (i.e. V5.2-rc1 or higher) as well.
> >
> > The OpenSBI changes to embed SiFive Unleashed DTB can be found in
> > sifive_unleashed_dtb_fix_v3 branch of:
> > https://github.com/avpatel/opensbi.git
> >
> > This series can be found in riscv_unleashed_clk_sync_v3 branch of:
> > https://github.com/avpatel/u-boot.git
> >
> > Changes since v2:
> > - Dropped PATCH6 which adds new compatible string to MACB driver because
> >   more changes are required in MACB driver for different ethernet speeds
> >
>
> If we drop PATCH6, we should also drop PATCH5, otherwise U-Boot
> 10/100Mbps is broken.

I think it's easier to just implement TX clock select in MACB driver. I will
send v4 soon.

Regards,
Anup

      reply	other threads:[~2019-06-19  8:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-19  7:01 [U-Boot] [PATCH v3 0/5] Update SiFive Unleashed Drivers Anup Patel
2019-06-19  7:01 ` [U-Boot] [PATCH v3 1/5] clk: sifive: Factor-out PLL library as separate module Anup Patel
2019-06-19  7:01 ` [U-Boot] [PATCH v3 2/5] clk: sifive: Sync-up WRPLL library with upstream Linux Anup Patel
2019-06-19  7:01 ` [U-Boot] [PATCH v3 3/5] clk: sifive: Sync-up DT bindings header " Anup Patel
2019-06-19  7:01 ` [U-Boot] [PATCH v3 4/5] clk: sifive: Sync-up main driver " Anup Patel
2019-06-19  7:01 ` [U-Boot] [PATCH v3 5/5] clk: sifive: Drop GEMGXL clock driver Anup Patel
2019-06-19  7:03 ` [U-Boot] [PATCH v3 0/5] Update SiFive Unleashed Drivers Bin Meng
2019-06-19  8:24   ` Anup Patel [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=CAAhSdy12mAjP1bXLnn_Ora+yWyNDkzebrnN+_q8qXB+XPPMWnw@mail.gmail.com \
    --to=anup@brainfault.org \
    --cc=u-boot@lists.denx.de \
    /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.