On 11.04.2017 00:21, Michael Grzeschik wrote:
From: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
This adds a driver for the SDHCI controller found on Marvell Dove SoCs.
Despite a missing pinctrl driver, corresponding MPP config has to be
set on a per board basis.
This
On 01/20/2016 09:15 AM, Uwe Kleine-König wrote:
The images that can be sent to a Marvell CPU have a fixed format. Do
some sanity checks before actually sending an image for easier diagnosis
of broken files.
Signed-off-by: Uwe Kleine-König
---
Changes since (implicit)
Add a clock with clk_add_physbase for the NAND flash controller on
Zylonite board.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Tested-by: Robert Jarzmik <robert.jarz...@free.fr>
---
arch/arm/boards/zylonite/board.c | 7 +++
1 file changed, 7 inserti
Newer versions of Marvell PXA3xx NFC also support BCH and therefore
higher ECC strengths than 1. Prepare for different ECC strength by
factoring out ECC init into separate functions by strength. Also,
add a new host variable that indicates BCH ECC.
Signed-off-by: Sebastian Hesselbarth
timeout values.
Using the Auto Read Status feature prevents timeout issues on the
two operations with none or wrong timing register setup.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Tested-by: Robert Jarzmik <robert.jarz...@free.fr>
---
driv
Add support for 4bit HW ECC modes supported by later IP versions.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Tested-by: Robert Jarzmik <robert.jarz...@free.fr>
---
drivers/mtd/nand/nand_mrvl_nfc.c | 65
1 file
with Robert's patiently
confirmed Tested-by on mach-pxa. I have tested this on IX4.
Sebastian Hesselbarth (19):
of: mtd: Import of_get_nand_ecc_{step_size,strength} from Linux
mtd: nand: Clarify Marvell Orion Kconfig prompt
arm: pxa: Prepare for NAND clkdev lookup on PXA3xx
arm: pxa: Add
To allow PXA3xx nand driver to be reused on Marvell Armada 370/XP,
prepare to provide a common clock for the NAND driver on PXA3xx.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Acked-by: Robert Jarzmik <robert.jarz...@free.fr>
Tested-by: Robert Jarzmik
Add support for 8bit HW ECC modes supported by later IP versions.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Tested-by: Robert Jarzmik <robert.jarz...@free.fr>
---
drivers/mtd/nand/nand_mrvl_nfc.c | 39 +++
1 file
Kconfig prompt for Marvell Orion SoCs is missing a "Marvell"
prefix, add it to the prompt.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
drivers/mtd/nand/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/K
Marvell PXA3xx NAND flash controller IP has been reused in later SoCs
with additional HW features. Add HW BCH ECC as the first known HW
difference.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Tested-by: Robert Jarzmik <robert.jarz...@free.fr>
---
driv
With a common clock provided for NAND controller, get rid of the
mach/clock.h way of getting the NAND clock.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Acked-by: Robert Jarzmik <robert.jarz...@free.fr>
Tested-by: Robert Jarzmik <robert.jarz...@free.fr
With DT helpers for ECC step size and strength, now use them on
Marvell NAND driver.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Tested-by: Robert Jarzmik <robert.jarz...@free.fr>
---
drivers/mtd/nand/nand_mrvl_nfc.c | 8
1 file changed, 8 inserti
This imports DT helpers for MTD ECC step size and strength from
Linux kernel.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
drivers/of/of_mtd.c | 34 ++
include/of_mtd.h| 2 ++
2 files changed, 36 insertions(+)
diff
The "num-cs" property does not encode flashes CS line but number
of available CS signals. Fix wrong property parsing to ->cs by
adding proper ->num_cs variable to host struct.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Tested-by: Robert Jarzmik &
With PXA3xx now providing a common clock for the NAND clock, use it
and get rid of the mach/clock.h. This will allow Marvell Armada 370/XP
to reuse the same driver.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Acked-by: Robert Jarzmik <robert.jarz...@free.f
Newer versions of PXA3xx NAND controller support a 4th Command Buffer
register. Add the required HWFLAGS and additional write to NDCB0.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Acked-by: Robert Jarzmik <robert.jarz...@free.fr>
Tested-by: Robert Jarzmik
If OOB data is not required on page program, we have to clear
the corresponding data with 0xff instead of 0x00.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Acked-by: Robert Jarzmik <robert.jarz...@free.fr>
Tested-by: Robert Jarzmik <robert.jarz...@free.f
Parsing DT nodes if CONFIG_OFTREE isn't enabled is pointless, also
we should prefer potential platform_data passed earlier.
Protect mrvl_nand_probe_dt by bailing out early if either
CONFIG_OFTREE is not enabled or dev's platform_data is non-NULL.
Signed-off-by: Sebastian Hesselbarth
Marvell PXA3xx and Armada 370/XP share the same NAND controller IP
with some minor differences. With support for controller IP v2, now
allow to build the driver on Armada 370/XP.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Acked-by: Robert Jarzmik <ro
This adds optimized timings for Samsung K9K8G08U 1Gb NAND flash.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Tested-by: Robert Jarzmik <robert.jarz...@free.fr>
---
drivers/mtd/nand/nand_mrvl_nfc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/driv
Add support for HW BCH ECC for those HW versions that support it.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
Tested-by: Robert Jarzmik <robert.jarz...@free.fr>
---
drivers/mtd/nand/nand_mrvl_nfc.c | 26 +-
1 file changed, 25 inse
On 20.10.2015 21:25, Robert Jarzmik wrote:
> Robert Jarzmik <robert.jarz...@free.fr> writes:
>
>> Sebastian Hesselbarth <sebastian.hesselba...@gmail.com> writes:
>>
>>> Robert,
>>>
>>> I pushed another version of the patch set with
On 16.10.2015 20:40, Robert Jarzmik wrote:
It's this part with match which is NULL in my case:
const struct mrvl_nand_variant *variant = match->data;
Ok. I now moved the of_match and variant assignment below the
OF protection. New version at the same branch.
Sebastian
On 15.10.2015 11:00, Thomas Petazzoni wrote:
On Thu, 15 Oct 2015 10:18:55 +0200, Sascha Hauer wrote:
The BINARY files given in the config files are expected to be relative
to the place kwbimage is called from. This is bad since it breaks where
kwbimage is called from the build directory and not
On 13.10.2015 12:38, Robert Jarzmik wrote:
Sascha Hauer writes:
In your temporary patch you have:
@@ -67,6 +71,9 @@ static int zylonite_devices_init(void)
_pdata);
add_generic_device("mrvl_nand", DEVICE_ID_DYNAMIC, NULL,
On 13.10.2015 10:00, Sascha Hauer wrote:
On Mon, Oct 12, 2015 at 08:51:54PM +0200, Sebastian Hesselbarth wrote:
On 12.10.2015 09:36, Sebastian Hesselbarth wrote:
I used
memcpy -s /mnt/image.img -d /dev/nand0.u-boot.bb 0 0
i.e. I did not specify any rwsize option. Looking at the code
On 13.10.2015 11:35, Robert Jarzmik wrote:
Sebastian Hesselbarth <sebastian.hesselba...@gmail.com> writes:
On 12.10.2015 21:16, Robert Jarzmik wrote:
Sebastian Hesselbarth <sebastian.hesselba...@gmail.com> writes:
I have prepared a branch for you based on above v2015.10.0 to
On 12.10.2015 08:28, Sascha Hauer wrote:
On Sun, Oct 11, 2015 at 10:39:52PM +0200, Robert Jarzmik wrote:
Sebastian Hesselbarth <sebastian.hesselba...@gmail.com> writes:
With DT helpers for ECC step size and strength, now use them on
Marvell NAND driver.
Signed-off-by: Sebastian Hesse
On 12.10.2015 08:11, Sascha Hauer wrote:
On Thu, Oct 08, 2015 at 11:19:45PM +0200, Sebastian Hesselbarth wrote:
When using memcpy_sz with rwsize != 1 integer division of
count/rwsize may leave some bytes of the request uncopied if
count is not a multiple of rwsize.
Fix this behavior
This imports DT helpers for MTD ECC step size and strength from
Linux kernel.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thomas Petazzoni <thomas.petazz...@free-electrons.com>
Cc: Ezeq
On 12.10.2015 09:36, Sebastian Hesselbarth wrote:
On 12.10.2015 08:11, Sascha Hauer wrote:
On Thu, Oct 08, 2015 at 11:19:45PM +0200, Sebastian Hesselbarth wrote:
When using memcpy_sz with rwsize != 1 integer division of
count/rwsize may leave some bytes of the request uncopied if
count
On 12.10.2015 21:16, Robert Jarzmik wrote:
Sebastian Hesselbarth <sebastian.hesselba...@gmail.com> writes:
I have prepared a branch for you based on above v2015.10.0 to ease
testing with all comments included so far:
https://github.com/shesselba/barebox-dove.git testing/nfc-for-robert
On 12.10.2015 12:38, Robert Jarzmik wrote:
Sebastian Hesselbarth <sebastian.hesselba...@gmail.com> writes:
This series is, of course, untested on mach-pxa and needs a
Tested-by. I have tested the new driver on Armada XP based
Lenovo ix4-300d and todays -next.
I tested the parial
On 10.10.2015 10:48, Robert Jarzmik wrote:
Sebastian Hesselbarth <sebastian.hesselba...@gmail.com> writes:
Newer versions of PXA3xx NAND controller support a 4th Command Buffer
register. Add the required HWFLAGS and additional write to NDCB0.
Signed-off-by: Sebastian Hesse
On 10.10.2015 10:44, Robert Jarzmik wrote:
Sebastian Hesselbarth <sebastian.hesselba...@gmail.com> writes:
Marvell NAND controller allows to enable an Auto Read Status feature
that will monitor NAND status during Erase and Program operations.
Okay, I seem to remember barebox nand cor
On 09.10.2015 21:16, Robert Jarzmik wrote:
Sebastian Hesselbarth <sebastian.hesselba...@gmail.com> writes:
keep_config and it's corresponding DT property is meant for the
Linux kernel to keep the config setup by a boot-loader. As we
are the bootloader and it is not used at all, g
With DT helpers for ECC step size and strength, now use them on
Marvell NAND driver.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thomas Petazzoni <thomas.petazz...@free-electrons.com>
Cc: Ezeq
keep_config and it's corresponding DT property is meant for the
Linux kernel to keep the config setup by a boot-loader. As we
are the bootloader and it is not used at all, get rid of it.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <ro
, the last patch adds optimized timings for the NAND
flash found on Lenovo ix4-300d.
This series is, of course, untested on mach-pxa and needs a
Tested-by. I have tested the new driver on Armada XP based
Lenovo ix4-300d and todays -next.
Sebastian Hesselbarth (17):
arm: pxa: Prepare for NAND clkdev
Kconfig prompt for Marvell Orion SoCs is missing a "Marvell"
prefix, add it to the prompt.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thomas Petazzoni <thomas.petazz...@free-electrons.com>
The "num-cs" property does not encode flashes CS line but number
of available CS signals. Fix wrong property parsing to ->cs by
adding proper ->num_cs variable to host struct.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <r
With PXA3xx now providing a common clock for the NAND clock, use it
and get rid of the mach/clock.h. This will allow Marvell Armada 370/XP
to reuse the same driver.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
With a common clock provided for NAND controller, get rid of the
mach/clock.h way of getting the NAND clock.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thomas Petazzoni <thomas.petazz...@free-el
To allow PXA3xx nand driver to be reused on Marvell Armada 370/XP,
prepare to provide a common clock for the NAND driver on PXA3xx.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thomas Petazzoni <thomas
-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: barebox@lists.infradead.org
---
fs/fs.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/fs/fs.c b/fs/fs.c
index c041e41bb51b..ccbda22d2692 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -1580,9 +1580,7 @@ stati
Newer Marvell MVEBU SoC like Armada 370/XP have an additional core
clock divider for e.g. NAND clock. Add the corresponding driver based
on the Linux driver.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Thomas Petazzoni <thomas.petazz...@free-electron
Marvell NETA Network Engine found in Armada 370 and XP SoCs
also has a different compatible for Armada XP. Add the compatible
to the of_device_id list.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Thomas Petazzoni <thomas.petazz...@free-electron
Newer versions of PXA3xx NAND controller support a 4th Command Buffer
register. Add the required HWFLAGS and additional write to NDCB0.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thomas Petazzoni &l
Marvell PXA3xx and Armada 370/XP share the same NAND controller IP
with some minor differences. With support for controller IP v2, now
allow to build the driver on Armada 370/XP.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz..
Marvell PXA3xx NAND flash controller IP has been reused in later SoCs
with additional HW features. Add HW BCH ECC as the first known HW
difference.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thom
Add support for 8bit HW ECC modes supported by later IP versions.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thomas Petazzoni <thomas.petazz...@free-electrons.com>
Cc: Ezequiel Garcia <ezequ...
If OOB data is not required on page program, we have to clear
the corresponding data with 0xff instead of 0x00.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thomas Petazzoni <thomas.petazz...@free-el
Add support for 4bit HW ECC modes supported by later IP versions.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thomas Petazzoni <thomas.petazz...@free-electrons.com>
Cc: Ezequiel Garcia <ezequ...
Newer versions of Marvell PXA3xx NFC also support BCH and therefore
higher ECC strengths than 1. Prepare for different ECC strength by
factoring out ECC init into separate functions by strength. Also,
add a new host variable that indicates BCH ECC.
Signed-off-by: Sebastian Hesselbarth
This adds optimized timings for Samsung K9K8G08U 1Gb NAND flash.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thomas Petazzoni <thomas.petazz...@free-electrons.com>
Cc: Ezequiel Garcia <ezequ...@van
Marvell NAND controller allows to enable an Auto Read Status feature
that will monitor NAND status during Erase and Program operations.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thomas Petazzoni &l
Add support for HW BCH ECC for those HW versions that support it.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselba...@gmail.com>
---
Cc: Robert Jarzmik <robert.jarz...@free.fr>
Cc: Thomas Petazzoni <thomas.petazz...@free-electrons.com>
Cc: Ezequiel Garcia <ezequ...
On 03.05.2015 11:50, Sebastian Hesselbarth wrote:
On 02.05.2015 22:28, Ezequiel Garcia wrote:
On 05/02/2015 01:53 PM, Ezequiel Garcia wrote:
On 04/09/2015 10:03 PM, Sebastian Hesselbarth wrote:
This adds support for the Marvell 88E1318S Gigabit Ethernet PHY.
Signed-off-by: Sebastian
On 02.05.2015 22:28, Ezequiel Garcia wrote:
On 05/02/2015 01:53 PM, Ezequiel Garcia wrote:
On 04/09/2015 10:03 PM, Sebastian Hesselbarth wrote:
This adds support for the Marvell 88E1318S Gigabit Ethernet PHY.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
With proper defines for ARMADA_370_XP_FABRIC_CTRL and MBUS_ERR_PROP_EN
make use of it.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia ezequiel.gar...@free-electrons.com
Cc: Thomas Petazzoni thomas.petazz...@free
This adds support for Marvell Armada XP based 4-bay NAS Lenovo
Iomega ix4-300d.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia ezequiel.gar...@free-electrons.com
Cc: Thomas Petazzoni thomas.petazz...@free-electrons.com
Marvell Armada 370 and XP have some coherency fabric. We are not
interested in using it, so remove checking for it in mbus driver.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia ezequiel.gar...@free-electrons.com
Cc
/lists/u-boot-v2/msg23048.html
Sebastian Hesselbarth (14):
net: phy: Support Marvell 88E1318S PHY
gpio: Add driver for 74x164 compatible shift-registers
spi: ath79: move spidelay from spi-bitbang-txrx
spi: Add SPI GPIO bitbang driver
bus: mvebu-mbus: Remove coherency attribute
bus: mvebu
Before adding new Armada XP based boards becomes messier than necessary,
sort Armada XP based board Kconfig and image Makefile alphabetically.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia ezequiel.gar...@free
Registering mbus driver as platform driver is a little late for
some register accesses to work. We have to make sure boot-up
mbus windows are disabled early, so call mbus driver directly
from SoC init.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox
This adds support for the Marvell 88E1318S Gigabit Ethernet PHY.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia ezequiel.gar...@free-electrons.com
Cc: Thomas Petazzoni thomas.petazz...@free-electrons.com
---
drivers
Marvell Armada XP MV78230-A0 incorrectly identifies itself as MV78460.
Check number of CPUs in FABRIC_CONF and fixup PCIe DEV_ID when it is
2 CPUs instead of 4.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia
A 74x164 shift register can be seen as a SPI attached GPIO expander.
This adds a driver for those poor-man expanders based on the Linux
driver.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia ezequiel.gar...@free
To prepare PCIe device id fixups, move PCIe register defines
to a common location.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia ezequiel.gar...@free-electrons.com
Cc: Thomas Petazzoni thomas.petazz...@free
Bitbang helpers for SPI require spidelay. This should be set
by the user and not the helper itself. Move it to ath79_spi
instead.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia ezequiel.gar...@free-electrons.com
Cc
Prior converting mbus driver from a platform device back to directly
called SoC driver, drop the device_d reference and covert dev_foo to
pr_foo.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia ezequiel.gar...@free
This adds a driver for SPI master by GPIO pins.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia ezequiel.gar...@free-electrons.com
Cc: Thomas Petazzoni thomas.petazz...@free-electrons.com
---
drivers/spi/Kconfig
register defines to SYSCTL
registers where they belong to.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia ezequiel.gar...@free-electrons.com
Cc: Thomas Petazzoni thomas.petazz...@free-electrons.com
---
arch/arm/mach
Update mvebu_defconfig to cover recently introduced Lenovo ix4 and
its related drivers.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: barebox@lists.infradead.org
Cc: Ezequiel Garcia ezequiel.gar...@free-electrons.com
Cc: Thomas Petazzoni thomas.petazz...@free
On 04/14/2015 10:43 AM, Sascha Hauer wrote:
This series looks ok to me. Does it make sense to apply it without the
deferred probing patches or should I better wait for it?
Sascha,
please wait for the reworked deferred probing series. While reworking
it, I also converted gpio-orion from
On 14.04.2015 20:52, Sascha Hauer wrote:
On Mon, Apr 13, 2015 at 04:22:30PM +0200, Sebastian Hesselbarth wrote:
---
Changelog:
v1-v2:
- balance dma_sync_single_foo() calls (Reported by Lucas Stach)
Cc: barebox@lists.infradead.org
Cc: Lucas Stach d...@lynxeye.de
Seems your git send-email
-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Changelog:
v1-v2:
- Drop static registered bitmap as two gpio-leds nodes will both
call led_gpio_of_probe(). The second call will find the static
variable modified and skip some leds.
- Use a pre-allocated array of struct gpio_led
As expected, we would need deferred probing sooner or later. This is
a first approach to allow devices to return -EPROBE_DEFER and get
sorted into a list of deferred devices that will be re-probed later.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Changelog:
v1-v2
Free requested GPIOs on unregistration of mono-, bi-, and tri-color
GPIO leds.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Changelog:
v1-v2:
- new patch
Cc: barebox@lists.infradead.org
---
drivers/led/led-gpio.c | 6 ++
1 file changed, 6 insertions(+)
diff
GPIO drivers can be registered quite late in registration process
causing dependant devices to fail probing. If we know gpio_get_num
will be called with a non-NULL device, return -EPROBE_DEFER instead
of -ENODEV to allow re-probing later.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba
could use some support -EPROBE_DEFER
but IMHO we should wait for someone to actually force probe deferral
there.
Sebastian Hesselbarth (6):
base: Introduce deferred probing
gpio: Return -EPROBE_DEFER on gpio_get_num()
OF: gpio: Silence error message on -EPROBE_DEFER
led: gpio: Properly deal
With deferred probing, -EPROBE_DEFER is not worth spilling an error.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Changelog:
v1-v2:
- Also return early on gpio_get_num() == -EPROBE_DEFER
Cc: barebox@lists.infradead.org
---
drivers/of/of_gpio.c | 8 +---
1 file
With support for deferred probing, we can now relax driver
registration for Marvell Orion GPIO driver from postcore_initcall()
to normal platform_driver.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Changelog:
v1-v2:
- new patch
Cc: barebox@lists.infradead.org
When working with non-coherent transfer buffers, we have to sync
device and cpu for outgoing and incoming buffers. Fix the driver where
non-coherent buffers are used in device context.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Changelog:
v1-v2:
- balance
On 13.04.2015 08:54, Sascha Hauer wrote:
On Fri, Apr 10, 2015 at 03:02:43AM +0200, Sebastian Hesselbarth wrote:
As expected, we would need deferred probing sooner or later. This is
a first approach to allow devices to return -EPROBE_DEFER and get
sorted into a list of deferred devices
On 18.02.2015 00:43, Michael Grzeschik wrote:
On Fri, Jul 05, 2013 at 11:22:19PM +0200, Sebastian Hesselbarth wrote:
Nice! It just bumped up the RFC from 1.5yrs back to top in my barebox
mail folder ;)
This adds a driver for the SDHCI controller found on Marvell Dove SoCs.
Despite a missing
On 12.02.2015 22:39, Lucas Stach wrote:
Lucas,
I really enjoy reading commit logs, but I cannot find any on this
one. ;) Mind adding a few words for the final patch set?
I'll give it a go on Dove and Kirkwood in the next few days, but be
aware that there is still no cache support on both
On 11/13/2014 10:09 AM, Uwe Kleine-König wrote:
On Wed, Nov 12, 2014 at 12:22:22PM +0100, Sebastian Hesselbarth wrote:
On 11/12/2014 11:56 AM, Uwe Kleine-König wrote:
Hello again,
here come the recent insights.
[...]
It seems to be not possible to easily dump the register space in both
U
On 11/13/2014 11:46 AM, Uwe Kleine-König wrote:
On Thu, Nov 13, 2014 at 10:53:46AM +0100, Sebastian Hesselbarth wrote:
On 11/13/2014 10:09 AM, Uwe Kleine-König wrote:
On Wed, Nov 12, 2014 at 12:22:22PM +0100, Sebastian Hesselbarth wrote:
On 11/12/2014 11:56 AM, Uwe Kleine-König wrote:
Hello
On 11/10/2014 07:43 PM, Uwe Kleine-König wrote:
On Mon, Nov 10, 2014 at 03:10:56PM -0300, Ezequiel Garcia wrote:
On 11/10/2014 05:06 AM, Uwe Kleine-König wrote:
I tested this series on top of 784b352aeeed with a patch to support my
ReadyNAS 104 (by Netgear, Armada 370 system, currently only
On 09/17/2014 10:22 PM, Sebastian Hesselbarth wrote:
From: Sascha Hauer s.ha...@pengutronix.de
This adds a mvebu_defconfig which enables all mvebu based boards.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
Acked-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
On 09/19/2014 07:47 AM, Sascha Hauer wrote:
On Wed, Sep 17, 2014 at 10:22:38PM +0200, Sebastian Hesselbarth wrote:
This is v2 of the Multi-SoC series for MVEBU. It has been tested
on Kirkwood (Guruplug), Dove (CuBox), and Armada 370 (Mirabox)
with the very same non-EABI binary. It should also
On 09/19/2014 09:55 AM, Sascha Hauer wrote:
On Fri, Sep 19, 2014 at 08:44:09AM +0200, Sebastian Hesselbarth wrote:
On 09/19/2014 07:47 AM, Sascha Hauer wrote:
On Wed, Sep 17, 2014 at 10:22:38PM +0200, Sebastian Hesselbarth wrote:
This is v2 of the Multi-SoC series for MVEBU. It has been
On 09/17/2014 08:45 AM, Sascha Hauer wrote:
On Tue, Sep 16, 2014 at 10:05:44PM +0200, Sebastian Hesselbarth wrote:
On 09/15/2014 09:41 AM, Sascha Hauer wrote:
The initialisation of the memory nodes on mvebu is a bit
compilcated:
pure_initcall(mvebu_memory_fixup_register
From: Sascha Hauer s.ha...@pengutronix.de
Only run the fixup when we are actually on the corresponding
SoC.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
Acked-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Cc: Sascha Hauer s.ha...@pengutronix.de
Cc: Ezequiel Garcia
From: Sascha Hauer s.ha...@pengutronix.de
Now that the correct SoC specific memory fixup function is called
we can allow to select multiple SoCs in Kconfig.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
Acked-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Changelog:
v1-v2
From: Sascha Hauer s.ha...@pengutronix.de
mvebu has a reset_cpu function per SoC this does not work when multiple
SoCs are selected, so add a common reset_cpu function which calls into
the SoC specific ones.
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
Acked-by: Sebastian Hesselbarth
()
kirkwood_init_soc()
mvebu_set_memory(phys_base, phys_size);
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com
---
Changelog:
v1-v2:
- remove pure_initcall(mvebu_memory_fixup_register) here
- also move
Multi-SoC support for MVEBU will add mbus ranges for all compiled
SoCs. To protect the mbus node of the SoC barebox is executed on
from others ranges, pass machine's compatible to mvebu_mbus_add_range
and check before applying the fixup.
Signed-off-by: Sebastian Hesselbarth sebastian.hesselba
1 - 100 of 325 matches
Mail list logo