From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 00/10] Add Marvell Dove and SolidRun CuBox
Date: Mon, 11 Feb 2013 10:43:00 +0100 [thread overview]
Message-ID: <5118BD24.6040901@gmail.com> (raw)
In-Reply-To: <F766E4F80769BD478052FB6533FA745D25F41F4236@SC-VEXCH4.marvell.com>
On 02/11/2013 04:39 AM, Prafulla Wadaskar wrote:
>> -----Original Message-----
>> From: Sebastian Hesselbarth [mailto:sebastian.hesselbarth at gmail.com]
>> Sent: 17 January 2013 00:55
>> To: Sebastian Hesselbarth
>> Cc: u-boot at lists.denx.de; Rabeeh Khoury; Albert Aribaud; Prafulla
>> Wadaskar; Andy Fleming; Joe Hershberger; Daniel Stodden; Luka Perkov
>> Subject: [PATCH v3 00/10] Add Marvell Dove and SolidRun CuBox
>>
>> This patch set add support for the Marvell Dove 88AP510 SoC and
>> the SolidRun CuBox board based on that SoC. The patch set is divided
>> into the four following sections:
>
> Dear Sabastian
> First of all I express my thanks for initiating this Soc Support in the u-boot.
> Secondly I express my apology since I could not review then immediately.
> Please find my comments for entire patch series
Prafulla,
thanks for the detailled review! I will quickly give some comments about
some of your review questions and will do a full re-review later.
* About the orion/dove/kirkwood naming convention in linux kernel (that
this patch set picks up):
When I started hacking on linux and marvell SoCs in particular there
was support for orion5x, mv78xx0, kirkwood, and dove. As those SoCs
share a bunch of internal peripherals (you might know better) the
drivers shared between those SoCs were prepended with "orion_" that
should reflect the family of SoCs with that peripherals. I personally
find the naming collision with orion5x "unlucky" but that is the way
it is.
Then there came some effort to also mainline Armada 370/XP series that
of course also share "orion" drivers. The final name for all SoCs
(including "orion") was mvebu as it is the only common naming scheme
that fit (mvebu stands for some business unit within Marvell).
Plans for using just "marvell" or "mv" were rejected because there are
also pxa SoCs from marvell sitting in the kernel tree. They likely share
some of the internal peripherals but that is not reflected within kernel
tree, as there are two different hacking communities I guess.
New drivers that fit all SoCs (namely pinctrl and gpio, because linux
API changes required new drivers from scratch) get mvebu_, drivers that
still fit in "orion" get orion_, new soc specific ones get either
dove_, kirkwood_, armada_370_, or whatever the code name of that SoC is.
Old driver names remain untouched even if they are reused on Armada
370/XP.
Whenever I used orion_ in this patch set this refers to orion as in SoC
family, not orion5x that you might have been irritated with.
* About the kwboot/kwbimage patches:
u-boot has kwboot for kirkwood since ages, but the general functionality
to boot through UART boot mode also applies to above SoCs. I took
kwbimage to reflect that kwboot should be used for booting this image.
IMHO introducing new abbreviated image names like dvbimage will just
distract people from using the correct tool to boot it. kwboot will not
be renamed, will it?
* About the ordering of patches/patch sets:
>> (1) Patches 1-5:
>
> I have suggestions to break down your patches as mentioned below
>
>> Add support for the Dove SoC and related drivers. Where possible
>> drivers from Marvell Kirkwood are reused (mvsata, mvgbe), or
>> forked to allow more generic usage (SPI, GPIO). The SDHCI driver
>> is different and a new driver is added for it. The forked drivers
>> can also be reused on Kirkwood but that would have required patching
>> existing boards.
>>
>> (2) Patches 6-8:
>> Allow mvgbe to use the phylib API, add support for 88E1310 PHY and
>> allow Dove to use the driver.
>>
>> (3) Patch 9
>> Add the SolidRun CuBox as the first board based on Marvell Dove SoC.
>>
>> (4) Patch 10
>> Add support for different UART boot mode found on Dove.
>>
>> Changelog:
>> v1->v2:
>> - respect review comments by Luka Perkov
>> - fix commenting styles and typos
>> - add MAINTAINERS entry
>> - also update kwboot.1 manpage
>>
>> v2->v3:
>> - integrate kwboot patch from Daniel Stodden
>> - rebase on release v2013.01
>>
>> Sebastian Hesselbarth (10):
>> ARM: dove: add support for Marvell Dove SoC
>> GPIO: add gpio driver for Orion SoCs
>> MMC: sdhci: Add support for dove sdhci
>> SPI: Add Orion SPI driver
>> block: mvsata: add dove include
>> NET: phy: add 88E1310 PHY initialization
>> NET: mvgbe: add phylib support
>> NET: mvgbe: add support for Dove
>> Boards: Add support for SolidRun CuBox
>> tools: Add support for Dove to kwboot
>>
>> MAINTAINERS | 4 +
>> arch/arm/cpu/armv7/dove/Makefile | 49 +++++
>> arch/arm/cpu/armv7/dove/cpu.c | 266
>> ++++++++++++++++++++++++++
>> arch/arm/cpu/armv7/dove/dram.c | 118 ++++++++++++
>> arch/arm/cpu/armv7/dove/lowlevel_init.S | 83 ++++++++
>> arch/arm/cpu/armv7/dove/mpp.c | 318
>> +++++++++++++++++++++++++++++++
>> arch/arm/cpu/armv7/dove/timer.c | 176 +++++++++++++++++
>> arch/arm/cpu/armv7/dove/usb.c | 101 ++++++++++
>> arch/arm/include/asm/arch-dove/config.h | 153 +++++++++++++++
>> arch/arm/include/asm/arch-dove/cpu.h | 204 ++++++++++++++++++++
>> arch/arm/include/asm/arch-dove/dove.h | 93 +++++++++
>> arch/arm/include/asm/arch-dove/gpio.h | 35 ++++
>> arch/arm/include/asm/arch-dove/mpp.h | 283
>
> Basic Dove support (one patch series)
Ok. Just to make sure, you want me to leave driver specific stuff, e.g.
orion_spi_* out of this patch set and re-add the calls within the
corresponding driver patches?
>> drivers/gpio/Makefile | 1 +
>> include/dove or mv_gpio.h | 64 +++++++
>> drivers/gpio/dove or mv_gpio.c | 167 ++++++++++++++++
>
> GPIO driver support for Dove
With the above comments about SoC naming, I'd like to stick with
either orion_ or mvebu_ if the basic driver framework can be reused
on Armada 370/XP (when they get mainline support in u-boot).
>> drivers/spi/Makefile | 1 +
>> drivers/spi/dove_spi.c | 217
>
> Spi driver support for dove
Ditto.
>> drivers/block/mvsata_ide.c | 2 +
>> drivers/mmc/Makefile | 1 +
>> drivers/mmc/dove_sdhci.c | 101 ++++++++++
>> drivers/net/mvgbe.c | 70 ++++++-
>> drivers/net/mvgbe.h | 7 +
>> drivers/net/phy/marvell.c | 48 +++++
>
> Other driver supports for dove (explain supported drivers)
Ack.
>> +++++++++++++++++++++++++++
>> board/solidrun/cubox/Makefile | 45 +++++
>> board/solidrun/cubox/cubox.c | 141 ++++++++++++++
>> board/solidrun/cubox/kwbimage.cfg | 76 ++++++++
>> boards.cfg | 1 +
>> include/configs/cubox.h | 175 +++++++++++++++++
>
> Board support patches
Ack.
>> doc/kwboot.1 | 13 +-
> +++++++++++++++++++++
>> tools/Makefile | 2 +
>> tools/kwboot.c | 25 ++-
>
> Add dove support for boot tool.
Ack.
> FYI: I have gone through all patches in this series
Thanks for that again! I will flip through all the individual patches
later and give detailled comments for sure.
Regards,
Sebastian
next prev parent reply other threads:[~2013-02-11 9:43 UTC|newest]
Thread overview: 124+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-02 14:36 [U-Boot] [PATCH 00/10] Add Marvell Dove and SolidRun CuBox Sebastian Hesselbarth
2012-12-02 14:36 ` [U-Boot] [PATCH 01/10] ARM: dove: add support for Marvell Dove SoC Sebastian Hesselbarth
2012-12-02 19:03 ` Luka Perkov
2012-12-02 14:36 ` [U-Boot] [PATCH 02/10] GPIO: add gpio driver for Orion SoCs Sebastian Hesselbarth
2012-12-02 14:36 ` [U-Boot] [PATCH 03/10] MMC: sdhci: Add support for dove sdhci Sebastian Hesselbarth
2012-12-02 14:36 ` [U-Boot] [PATCH 04/10] SPI: Add Orion SPI driver Sebastian Hesselbarth
2012-12-02 14:36 ` [U-Boot] [PATCH 05/10] block: mvsata: add dove include Sebastian Hesselbarth
2012-12-02 14:36 ` [U-Boot] [PATCH 06/10] NET: phy: add 88E1310 PHY initialization Sebastian Hesselbarth
2012-12-02 14:36 ` [U-Boot] [PATCH 07/10] NET: mvgbe: add phylib support Sebastian Hesselbarth
2012-12-02 14:36 ` [U-Boot] [PATCH 08/10] NET: mvgbe: add support for Dove Sebastian Hesselbarth
2012-12-02 14:36 ` [U-Boot] [PATCH 09/10] Boards: Add support for SolidRun CuBox Sebastian Hesselbarth
2012-12-02 19:12 ` Luka Perkov
2012-12-02 14:36 ` [U-Boot] [PATCH 10/10] tools: Add support for Dove to kwboot Sebastian Hesselbarth
2012-12-02 19:15 ` Luka Perkov
2012-12-05 22:15 ` Daniel Stodden
2012-12-06 10:59 ` Sebastian Hesselbarth
2012-12-06 18:18 ` Daniel Stodden
2012-12-06 20:18 ` Sebastian Hesselbarth
2012-12-04 8:31 ` [U-Boot] [PATCH v2 00/10] Add Marvell Dove and SolidRun CuBox Sebastian Hesselbarth
2012-12-04 8:31 ` [U-Boot] [PATCH v2 01/10] ARM: dove: add support for Marvell Dove SoC Sebastian Hesselbarth
2013-02-11 3:39 ` Prafulla Wadaskar
2013-03-03 11:31 ` Sebastian Hesselbarth
2013-03-11 7:27 ` Prafulla Wadaskar
2012-12-04 8:31 ` [U-Boot] [PATCH v2 02/10] GPIO: add gpio driver for Orion SoCs Sebastian Hesselbarth
2012-12-04 8:31 ` [U-Boot] [PATCH v2 03/10] MMC: sdhci: Add support for dove sdhci Sebastian Hesselbarth
2012-12-04 8:31 ` [U-Boot] [PATCH v2 04/10] SPI: Add Orion SPI driver Sebastian Hesselbarth
2012-12-04 8:31 ` [U-Boot] [PATCH v2 05/10] block: mvsata: add dove include Sebastian Hesselbarth
2012-12-04 8:31 ` [U-Boot] [PATCH v2 06/10] NET: phy: add 88E1310 PHY initialization Sebastian Hesselbarth
2012-12-04 8:32 ` [U-Boot] [PATCH v2 07/10] NET: mvgbe: add phylib support Sebastian Hesselbarth
2012-12-04 8:32 ` [U-Boot] [PATCH v2 08/10] NET: mvgbe: add support for Dove Sebastian Hesselbarth
2013-07-08 16:00 ` Joe Hershberger
2012-12-04 8:32 ` [U-Boot] [PATCH v2 09/10] Boards: Add support for SolidRun CuBox Sebastian Hesselbarth
2012-12-04 8:32 ` [U-Boot] [PATCH v2 10/10] tools: Add support for Dove to kwboot Sebastian Hesselbarth
2012-12-10 9:39 ` [U-Boot] [PATCH v2 00/10] Add Marvell Dove and SolidRun CuBox Prafulla Wadaskar
2013-01-16 19:25 ` [U-Boot] [PATCH v3 " Sebastian Hesselbarth
2013-01-16 19:25 ` [U-Boot] [PATCH v3 01/10] ARM: dove: add support for Marvell Dove SoC Sebastian Hesselbarth
2013-01-16 19:25 ` [U-Boot] [PATCH v3 02/10] GPIO: add gpio driver for Orion SoCs Sebastian Hesselbarth
2013-02-11 3:39 ` Prafulla Wadaskar
2013-03-03 11:36 ` Sebastian Hesselbarth
2013-03-11 7:12 ` Prafulla Wadaskar
2013-01-16 19:25 ` [U-Boot] [PATCH v3 03/10] MMC: sdhci: Add support for dove sdhci Sebastian Hesselbarth
2013-01-16 19:25 ` [U-Boot] [PATCH v3 04/10] SPI: Add Orion SPI driver Sebastian Hesselbarth
2013-02-11 3:39 ` Prafulla Wadaskar
2013-06-02 19:14 ` Jagan Teki
2013-06-03 17:31 ` Sascha Silbe
2013-06-03 17:35 ` Jagan Teki
2013-06-03 18:03 ` Sascha Silbe
2013-06-03 19:46 ` Sebastian Hesselbarth
2013-01-16 19:25 ` [U-Boot] [PATCH v3 05/10] block: mvsata: add dove include Sebastian Hesselbarth
2013-02-11 3:39 ` Prafulla Wadaskar
2013-01-16 19:25 ` [U-Boot] [PATCH v3 06/10] NET: phy: add 88E1310 PHY initialization Sebastian Hesselbarth
2013-02-11 3:39 ` Prafulla Wadaskar
2013-01-16 19:25 ` [U-Boot] [PATCH v3 07/10] NET: mvgbe: add phylib support Sebastian Hesselbarth
2013-02-11 3:39 ` Prafulla Wadaskar
2013-01-16 19:25 ` [U-Boot] [PATCH v3 08/10] NET: mvgbe: add support for Dove Sebastian Hesselbarth
2013-02-11 3:39 ` Prafulla Wadaskar
2013-03-03 11:43 ` Sebastian Hesselbarth
2013-03-11 7:02 ` Prafulla Wadaskar
2013-01-16 19:25 ` [U-Boot] [PATCH v3 09/10] Boards: Add support for SolidRun CuBox Sebastian Hesselbarth
2013-02-11 3:39 ` Prafulla Wadaskar
2013-01-16 19:25 ` [U-Boot] [PATCH v3 10/10] tools: Add support for Dove to kwboot Sebastian Hesselbarth
2013-02-11 3:39 ` Prafulla Wadaskar
2013-02-11 3:39 ` [U-Boot] [PATCH v3 00/10] Add Marvell Dove and SolidRun CuBox Prafulla Wadaskar
2013-02-11 9:43 ` Sebastian Hesselbarth [this message]
2013-02-11 10:08 ` Luka Perkov
2013-02-11 22:46 ` Prafulla Wadaskar
2013-02-14 18:38 ` Jason Cooper
2013-02-14 21:35 ` Daniel Stodden
2013-02-14 21:44 ` Jason Cooper
2013-02-15 19:08 ` Prafulla Wadaskar
2013-05-14 19:38 ` Sascha Silbe
2013-05-26 18:36 ` [U-Boot] [PATCH v4 00/10] Add Marvell Dove and SolidRun CuBox support Sascha Silbe
2013-05-26 18:36 ` [U-Boot] [PATCH v4 01/10] ARM: dove: add support for Marvell Dove SoC Sascha Silbe
2013-05-26 18:36 ` [U-Boot] [PATCH v4 02/10] usb: ehci-marvell: add support for second USB controller Sascha Silbe
2013-05-26 18:36 ` [U-Boot] [PATCH v4 03/10] GPIO: add gpio driver for Dove SoCs Sascha Silbe
2013-05-26 18:36 ` [U-Boot] [PATCH v4 04/10] MMC: sdhci: Add support for dove sdhci Sascha Silbe
2013-05-26 18:36 ` [U-Boot] [PATCH v4 05/10] SPI: Add Dove SPI driver Sascha Silbe
2013-06-03 18:20 ` Jagan Teki
2013-06-12 18:58 ` Jagan Teki
2013-06-12 19:26 ` Sebastian Hesselbarth
2013-06-12 19:30 ` Jagan Teki
2013-06-12 19:33 ` Sebastian Hesselbarth
2013-06-25 19:33 ` Sascha Silbe
2013-06-25 19:58 ` Sebastian Hesselbarth
2013-06-25 20:38 ` Sascha Silbe
2013-06-25 20:50 ` Sebastian Hesselbarth
2013-06-25 21:27 ` [U-Boot] [PATCH v5 0/8] Add Marvell Dove and SolidRun CuBox support Sascha Silbe
2013-06-25 21:27 ` [U-Boot] [PATCH v5 1/8] ARM: dove: add support for Marvell Dove SoC Sascha Silbe
2013-06-25 22:34 ` Sebastian Hesselbarth
2013-06-26 14:00 ` Wolfgang Denk
2013-06-25 21:27 ` [U-Boot] [PATCH v5 2/8] usb: ehci-marvell: add support for second USB controller Sascha Silbe
2013-06-26 14:04 ` Wolfgang Denk
2013-06-28 22:34 ` Sascha Silbe
2013-06-28 22:34 ` [U-Boot] [PATCH] usb: ehci-marvell: use structs for registers Sascha Silbe
2013-06-29 22:28 ` Marek Vasut
2013-06-29 22:26 ` [U-Boot] [PATCH v5 2/8] usb: ehci-marvell: add support for second USB controller Marek Vasut
2013-06-25 21:27 ` [U-Boot] [PATCH v5 3/8] GPIO: add Dove support to Kirkwood GPIO driver Sascha Silbe
2013-06-25 22:39 ` Sebastian Hesselbarth
2013-06-26 14:09 ` Wolfgang Denk
2013-06-25 21:27 ` [U-Boot] [PATCH v5 4/8] MMC: sdhci: Add support for dove sdhci Sascha Silbe
2013-07-03 15:31 ` Jagan Teki
2013-06-25 21:27 ` [U-Boot] [PATCH v5 5/8] SPI: add Dove support to Kirkwood SPI driver Sascha Silbe
2013-06-25 22:45 ` Sebastian Hesselbarth
2013-06-26 14:11 ` Wolfgang Denk
2013-12-20 19:05 ` Jagan Teki
2014-01-08 12:50 ` Jagan Teki
2013-06-25 21:27 ` [U-Boot] [PATCH v5 6/8] block: mvsata: add dove include Sascha Silbe
2013-06-26 14:11 ` Wolfgang Denk
2013-06-25 21:27 ` [U-Boot] [PATCH v5 7/8] NET: mvgbe: avoid unused variable warning when used without phylib support Sascha Silbe
2013-06-25 21:27 ` [U-Boot] [PATCH v5 8/8] Boards: Add support for SolidRun CuBox Sascha Silbe
2013-06-25 22:53 ` Sebastian Hesselbarth
2013-06-26 14:15 ` Wolfgang Denk
2014-03-03 22:43 ` [U-Boot] Dove / Cubox support patch series (was: Re: [PATCH v4 05/10] SPI: Add Dove SPI driver) Sascha Silbe
2014-03-03 23:48 ` Otavio Salvador
2013-06-25 20:09 ` [U-Boot] [PATCH v4 05/10] SPI: Add Dove SPI driver Sascha Silbe
2013-05-26 18:36 ` [U-Boot] [PATCH v4 06/10] block: mvsata: add dove include Sascha Silbe
2013-05-26 18:37 ` [U-Boot] [PATCH v4 07/10] NET: phy: add 88E1310 PHY initialization Sascha Silbe
2013-07-08 15:53 ` Joe Hershberger
2013-05-26 18:37 ` [U-Boot] [PATCH v4 08/10] NET: mvgbe: add phylib support Sascha Silbe
2013-05-27 3:48 ` Prafulla Wadaskar
2013-07-08 15:55 ` Joe Hershberger
2013-05-26 18:37 ` [U-Boot] [PATCH v4 09/10] NET: mvgbe: add support for Dove Sascha Silbe
2013-05-26 18:37 ` [U-Boot] [PATCH v4 10/10] Boards: Add support for SolidRun CuBox Sascha Silbe
2012-12-21 9:35 ` [U-Boot] [PATCH 00/10] Add Marvell Dove and " Albert ARIBAUD
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=5118BD24.6040901@gmail.com \
--to=sebastian.hesselbarth@gmail.com \
--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.