Re: [PATCH 01/10] serial: clps711x: Change compatible string

2018-12-19 Thread Sascha Hauer
On Wed, Dec 19, 2018 at 11:03:54AM +0300, Alexander Shiyan wrote: > This patch changes compatible string for CLPS711X serial driver > to "cirrus,ep7209-uart" for conform with linux kernel. > > Signed-off-by: Alexander Shiyan > --- > drivers/serial/serial_clps711x.c | 2 +- > 1 file changed, 1 in

Re: [PATCH for next] mtd: nand: nand_omap_gpmc: Fix GPMC_BCH_RESULT offset

2018-12-19 Thread Sascha Hauer
On Wed, Dec 19, 2018 at 01:27:53PM +0100, Teresa Remmet wrote: > Using BCH rom code mode we start calculating with GPMC_BCH_RESULTx_1. > Fix offset for correct error correction. > > Fixes: d4077860c902 ("mtd: nand: omap: unbreak BCH8 support") This controller is really strange sometimes. Indeed,

[PATCH] nvmem: ocotp: Fix writing of second mac address fuses on imx6ul

2018-12-19 Thread Stefan Riedmueller
Commit 19a32c0f6bf0 ("nvmem: ocotp: Add support for second mac address fuses on imx6ul") added support for correctly reading the second MAC address from fuses of the i.MX 6UL/ULL but not for writing. So also fit writing of the second MAC address fuses to the correct method. Signed-off-by: Stefan R

[PATCH v2 2/2] envfs: new flag for sorting env before saving

2018-12-19 Thread Baeuerle, Florian
The resulting environment was dependend of the build machines' filesystem, i.e. the order in which readdir returns dirents depends on the filesystem implementation. Use the new flag in scripts/bareboxenv.c for generating a reproducible built-in environment. Signed-off-by: Florian Bäuerle --- co

[PATCH v2 1/2] recursive_action: add ACTION_SORT flag

2018-12-19 Thread Baeuerle, Florian
Add a flag to sort directory entries before recursing into them. Since this part of lib/ is used inside barebox as well as in scripts/bareboxenv.c, we cannot easily use stringlists from lib/, which would have made the code a bit nicer. Further, add poison.h from kernel 4.5-rc1, which was the base

Re: [PATCH 1/2] recursive_action: add ACTION_SORT flag

2018-12-19 Thread Baeuerle, Florian
Am Dienstag, den 18.12.2018, 13:22 + schrieb Baeuerle, Florian: > Add a flag to sort directory entries before recursing into them. > > Since this part of lib/ is used inside barebox as well as in > scripts/bareboxenv.c, we cannot easily use stringlists from lib/, which > would have made the co

[PATCH for next] mtd: nand: nand_omap_gpmc: Fix GPMC_BCH_RESULT offset

2018-12-19 Thread Teresa Remmet
Using BCH rom code mode we start calculating with GPMC_BCH_RESULTx_1. Fix offset for correct error correction. Fixes: d4077860c902 ("mtd: nand: omap: unbreak BCH8 support") Signed-off-by: Teresa Remmet --- drivers/mtd/nand/nand_omap_gpmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v5 0/9] Raspberry Pi miniuart support

2018-12-19 Thread Rouven Czerwinski
Peter Korsgaard writes: >> "Rouven" == Rouven Czerwinski writes: > > Hi, > > >> >> v5: > >> >> - Add defines for register and base values > >> >> from Sascha Hauer and Roland Hieber > >> > >> > Applied, thanks > >> > >> Where did those defines actually go? I still see a bunch of m

Re: [PATCH v5 6/9] ARM: rpi: add NS16550 support

2018-12-19 Thread Rouven Czerwinski
Rouven Czerwinski writes: > Since the 16550 driver now supports the RPI3 miniuart, enable it in the > default > config. > > Signed-off-by: Rouven Czerwinski > --- > arch/arm/configs/rpi_defconfig | 1 + > drivers/serial/serial_ns16550.c | 6 +- > 2 files changed, 6 insertions(+), 1 dele

Re: [PATCH v5 0/9] Raspberry Pi miniuart support

2018-12-19 Thread Rouven Czerwinski
Peter Korsgaard writes: >> "Rouven" == Rouven Czerwinski writes: > > Hi, > > >> >> v5: > >> >> - Add defines for register and base values > >> >> from Sascha Hauer and Roland Hieber > >> > >> > Applied, thanks > >> > >> Where did those defines actually go? I still see a bunch of m

Re: [PATCH v5 0/9] Raspberry Pi miniuart support

2018-12-19 Thread Peter Korsgaard
> "Rouven" == Rouven Czerwinski writes: Hi, >> >> v5: >> >> - Add defines for register and base values >> >> from Sascha Hauer and Roland Hieber >> >> > Applied, thanks >> >> Where did those defines actually go? I still see a bunch of magic >> values. >> > They are either contai

[PATCH 06/10] gpio: clps711x: Switch to SPDX identifier

2018-12-19 Thread Alexander Shiyan
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Alexander Shiyan --- drivers/gpio/gpio-clps711x.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gpio-clps711x.c index eef2a

[PATCH 07/10] gpio: clps711x: Use coredevice_platform_driver() macro

2018-12-19 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- drivers/gpio/gpio-clps711x.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gpio-clps711x.c index d3d669713..946da533b 100644 --- a/drivers/gpio/gpio-clps711x.c +++ b/drivers/gpio/gpio-clps7

[PATCH 05/10] gpio: clps711x: Change compatible string

2018-12-19 Thread Alexander Shiyan
This patch changes compatible string for CLPS711X GPIO driver to "cirrus,ep7209-gpio" for conform with linux kernel. Signed-off-by: Alexander Shiyan --- drivers/gpio/gpio-clps711x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gp

[PATCH 09/10] clocksource: clps711x: Switch to SPDX identifier

2018-12-19 Thread Alexander Shiyan
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Alexander Shiyan --- drivers/clocksource/clps711x.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/clocksource/clps711x.c b/drivers/clocksource/clps711x.c index

[PATCH 03/10] serial: clps711x: Use DIV_ROUND_CLOSEST() for baudrate calculation

2018-12-19 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- drivers/serial/serial_clps711x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/serial_clps711x.c b/drivers/serial/serial_clps711x.c index c21ca6510..863ba7dd3 100644 --- a/drivers/serial/serial_clps711x.c +++ b/drivers/seria

[PATCH 02/10] serial: clps711x: Switch to SPDX identifier

2018-12-19 Thread Alexander Shiyan
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Alexander Shiyan --- drivers/serial/serial_clps711x.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/serial/serial_clps711x.c b/drivers/serial/serial_clps711

[PATCH 04/10] serial: clps711x: Determine device name from device tree

2018-12-19 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- drivers/serial/serial_clps711x.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/serial/serial_clps711x.c b/drivers/serial/serial_clps711x.c index 863ba7dd3..d4f674afd 100644 --- a/drivers/serial/serial_clps711x.c +++ b/drivers/serial/seria

[PATCH 10/10] clocksource: clps711x: Use coredevice_platform_driver() macro

2018-12-19 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- drivers/clocksource/clps711x.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/clocksource/clps711x.c b/drivers/clocksource/clps711x.c index a3070e727..3df2c81e9 100644 --- a/drivers/clocksource/clps711x.c +++ b/drivers/clockso

[PATCH 01/10] serial: clps711x: Change compatible string

2018-12-19 Thread Alexander Shiyan
This patch changes compatible string for CLPS711X serial driver to "cirrus,ep7209-uart" for conform with linux kernel. Signed-off-by: Alexander Shiyan --- drivers/serial/serial_clps711x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/serial_clps711x.c b/drive

[PATCH 08/10] clocksource: clps711x: Add devicetree support

2018-12-19 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- drivers/clocksource/clps711x.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clocksource/clps711x.c b/drivers/clocksource/clps711x.c index f6399e930..d9e0f795e 100644 --- a/drivers/clocksource/clps711x.c +++ b/drivers/clocksource/clps711x.c