Re: [U-Boot] [PATCH 20/26] dm: power: Convert as3722 to driver model

2017-05-20 Thread Lukasz Majewski
On Fri, 19 May 2017 08:31:03 -0600 Simon Glass wrote: > Convert this PMIC driver to driver model and fix up other users. The > regulator and GPIO functions are now handled by separate drivers. > > Note that this currently breaks apalis-tk1, jetson-tk1 and > cei-tk1-som. I have the middle one so

Re: [U-Boot] [PATCH 19/26] power: Add a GPIO driver for the as3722 PMIC

2017-05-20 Thread Lukasz Majewski
On Fri, 19 May 2017 08:31:02 -0600 Simon Glass wrote: > This pmic includes GPIOs which should have their own driver. Add > a driver to support these. Reviewed-by: Lukasz Majewski > > Signed-off-by: Simon Glass > --- > > drivers/power/pmic/as3722_gpio.c | 120 > +++

Re: [U-Boot] [PATCH 18/26] power: Add a regulator driver for the as3722 PMIC

2017-05-20 Thread Lukasz Majewski
On Fri, 19 May 2017 08:31:01 -0600 Simon Glass wrote: > This pmic includes regulators which should have their own driver. Add > a driver to support these. Reviewed-by: Lukasz Majewski > > Signed-off-by: Simon Glass > --- > > drivers/power/regulator/Kconfig| 9 ++ > drivers/po

[U-Boot] [PATCH v2 08/19] fdt: Build the new python libfdt module

2017-05-20 Thread Simon Glass
Build the upstream python libfdt module. At present the legacy module is still built and is the one that it used. Future work will switch this over. Signed-off-by: Simon Glass --- Changes in v2: - Fix building when srcpath is ".." tools/Makefile | 23 +++ 1 file changed, 23

Re: [U-Boot] [PATCH v2 5/9] Fix up inclusion of common.h

2017-05-20 Thread Masahiro Yamada
Hi Simon 2017-05-17 19:09 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 16 May 2017 at 04:32, Masahiro Yamada > wrote: >> Hi Simon, >> >> >> 2017-05-13 10:11 GMT+09:00 Simon Glass : >>> Hi Masahiro, >>> >>> On 10 May 2017 at 20:21, Masahiro Yamada >>> wrote: Hi Simon 2017-05-11

Re: [U-Boot] [PATCH v2 8/9] dm: core: Add ofnode to represent device tree nodes

2017-05-20 Thread Masahiro Yamada
Hi Simon, 2017-05-20 11:29 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 16 May 2017 at 04:35, Masahiro Yamada > wrote: >> >> Hi Simon, >> >> >> 2017-05-02 0:18 GMT+09:00 Simon Glass : >> > With live tree we need a struct device_node * to reference a node. With >> > the existing flat tree, we n

Re: [U-Boot] [PATCH v3 5/7] usb: host: ohci-generic: add CLOCK support

2017-05-20 Thread Marek Vasut
On 05/19/2017 02:16 PM, Patrice CHOTARD wrote: > On 05/19/2017 01:51 PM, Marek Vasut wrote: >> On 05/19/2017 01:27 PM, Patrice CHOTARD wrote: >>> Hi Marek >>> >>> On 05/18/2017 11:29 AM, Marek Vasut wrote: On 05/17/2017 03:34 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard >

Re: [U-Boot] [PATCH 2/4] dts: socfpga: Add trigger-address property to QSPI device

2017-05-20 Thread Marek Vasut
On 05/19/2017 06:29 PM, Rush, Jason A. wrote: > On 5/19/2017 1:09 AM , Marek Vasut wrote: >> On 05/18/2017 08:26 PM, Rush, Jason A. wrote: >>> Add the 'cdns,trigger-address' property to the cadence QSPI device >>> node for Altera SoC devices. >>> >>> Signed-off-by: Jason A. Rush >> >> +CC Dinh, is

Re: [U-Boot] [PATCH v2 0/8] mips: bmips: add bcm6345 watchdog support

2017-05-20 Thread Daniel Schwierzeck
Am 16.05.2017 um 18:29 schrieb Álvaro Fernández Rojas: > Adds support for Broadcom MIPS BCM6345 watchdog controller. > Also adds a generic watchdog sysreset driver to allow rebooting by expiring > the SoC watchdog. > This is needed for some specific Broadcom MIPS SoCs where pll_conf if bugged > a

Re: [U-Boot] [PATCH v3 0/6] mips: bmips: add BCM6348 SoC support*

2017-05-20 Thread Daniel Schwierzeck
Am 16.05.2017 um 18:38 schrieb Álvaro Fernández Rojas: > BCM6348 is one of the first BCM63xx SoCs and prior to BCM6358, which means > that it also needs ioremap "hacks". > Appart from that, rev a1 BCM6348 SoCs have a HW bug and it's pll_conf > register can't be used to perform reboots. > > v3: i

Re: [U-Boot] [PATCH v2 0/3] mips: bmips: add BCM6338 SoC support

2017-05-20 Thread Daniel Schwierzeck
Am 16.05.2017 um 18:46 schrieb Álvaro Fernández Rojas: > BCM6338 is one of the first BCM63xx SoCs and prior to BCM6348/BCM6358, which > means that it also needs ioremap "hacks". > > v2: introduce changes requested by Simon Glass and Daniel Schwierzeck. > > Álvaro Fernández Rojas (3): > dm: cp

Re: [U-Boot] [PATCH v2 0/3] mips: bmips: add BCM3380 SoC support

2017-05-20 Thread Daniel Schwierzeck
Am 16.05.2017 um 18:42 schrieb Álvaro Fernández Rojas: > BCM3380 is a dual core BCM33xx SoC, which means that it's pretty similar to > the BCM63xx, but it's meant for HFC instead of xDSL. > The pll_conf register seems to be bugged, because it just stalls the SoC > instead of performing a reboot,

Re: [U-Boot] [PATCH] mips: bmips: add board descriptions

2017-05-20 Thread Daniel Schwierzeck
Am 16.05.2017 um 18:47 schrieb Álvaro Fernández Rojas: > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/mach-bmips/Kconfig | 24 > 1 file changed, 24 insertions(+) applied to u-boot-mips, thanks. signature.asc Description: OpenPGP digital signature

Re: [U-Boot] [PATCH v3 1/2] dm: serial: bcm6345: fix uart stop bits

2017-05-20 Thread Daniel Schwierzeck
Am 18.05.2017 um 23:09 schrieb Álvaro Fernández Rojas: > I missed this when I added support for BMIPS UART driver and it's needed to > achieve a real 115200 8N1 setup. > > Signed-off-by: Álvaro Fernández Rojas > --- > v3: no changes, added another fix on a separate patch. > v2: fix commit tit

Re: [U-Boot] [PATCH v3 2/2] dm: serial: bcm6345: fix baud rate clock calculation

2017-05-20 Thread Daniel Schwierzeck
Am 18.05.2017 um 23:09 schrieb Álvaro Fernández Rojas: > It's currently bugged and doesn't work for even cases. > Right shift bits instead of dividing and fix even cases. > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/serial/serial_bcm6345.c | 10 -- > 1 file changed, 4 inse

[U-Boot] [PATCH 1/2] cmd/imxtract: Move decompression part to separate function

2017-05-20 Thread Alexey Ignatov
Signed-off-by: Alexey Ignatov --- cmd/ximg.c | 142 + 1 file changed, 76 insertions(+), 66 deletions(-) diff --git a/cmd/ximg.c b/cmd/ximg.c index d033c15b62..73a571b52b 100644 --- a/cmd/ximg.c +++ b/cmd/ximg.c @@ -28,6 +28,81 @@ #defi

[U-Boot] [PATCH 2/2] cmd: fsfitxtract: Extract a part of a FIT multi-image stored on a filesystem

2017-05-20 Thread Alexey Ignatov
Sometimes we interested only in one single small subimage from big multipart FIT. This command tries to avoid reading out the whole FIT because of memory or time considerations. Since we don't have mmap() in U-Boot, this is done by reading the file in small chunks and trying to parse FIT until requ

[U-Boot] ARM tools-only CROSS_COMPILE issues within Cygwin

2017-05-20 Thread Chris Renshaw
Hi! I've managed to get U-Boot sandbox_defconfig tools-only compiling nicely in Cygwin with a few minor modifications to the source tree I hope you'll consider for proper inclusion: # Even with case insensitivity disabled, Cygwin does not handle execution of the file scripts/Kconfig an

Re: [U-Boot] [PATCH 02/10] drivers: spi: add config to consider command bytes when writting to flash

2017-05-20 Thread Álvaro Fernández Rojas
Hi Simon, El 20/05/2017 a las 4:29, Simon Glass escribió: > Hi Alvaro, > > On 18 May 2017 at 13:29, Álvaro Fernández Rojas wrote: >> Command bytes are part of the written bytes and they should be taken into >> account when sending a spi transfer. >> >> Signed-off-by: Álvaro Fernández Rojas >> -