Re: [U-Boot] [PATCH v6 1/2] gpio: at91_gpio: Remove CPU_HAS_PIO3 macro

2017-02-13 Thread Andreas Bießmann
Dear Wenyou, On 13.02.17 03:07, Wenyou Yang wrote: > The intention of this patch is the preparation to introduce > the pinctrl driver for AT91 PIO. > > Use "union" to make the PIO3 and PIO2's registers be together > and make their offset aligned. unfortunately there is another breakage in this p

Re: [U-Boot] [U-Boot, v5, 1/2] gpio: at91_gpio: Remove CPU_HAS_PIO3 macro

2017-02-12 Thread Andreas Bießmann
On Tue, Feb 07, 2017 at 02:07:18PM +0800, Wenyou Yang wrote: > The intention of this patch is the preparation to introduce > the pinctrl driver for AT91 PIO. > > Use "union" to make the PIO3 and PIO2's registers be together > and make their offset aligned. > This patch breaks on at91 devices wit

Re: [U-Boot] [U-Boot, v2, 4/4] configs: at91sam9x5ek: move SYS_NO_FLASH to defconfig

2017-02-12 Thread Andreas Bießmann
On Tue, Feb 07, 2017 at 05:11:35PM +0800, Wenyou Yang wrote: > Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. > this one conflicts with e856bdcfb49291d30b19603fc101bea096c48196, just drop it from the series. Andreas > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass > -

Re: [U-Boot] [U-Boot, v2, 7/7] configs: sama5d3_xplained: move CONFIG_SYS_NO_FLASH to defconfig

2017-02-12 Thread Andreas Bießmann
On Tue, Feb 07, 2017 at 04:40:04PM +0800, Wenyou Yang wrote: > Move CONFIG_SYS_NO_FLASH to the configs/sama5d3x_xplained_*_defconfig > files. this one conflicts with e856bdcfb49291d30b19603fc101bea096c48196, just drop it from the series. Andreas > > Signed-off-by: Wenyou Yang > --- > > Changes

Re: [U-Boot] [U-Boot, v3, 8/8] configs: sama5d4: move CONFIG_SYS_NO_FLASH to *defconfig

2017-02-12 Thread Andreas Bießmann
On Tue, Feb 07, 2017 at 04:01:29PM +0800, Wenyou Yang wrote: > Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. > > Signed-off-by: Wenyou Yang > Reviewed-by: Andreas Bießmann this one will conflict with e856bdcfb49291d30b19603fc101bea096c48196, just drop

Re: [U-Boot] [PATCH v2 8/8] configs: sama5d4: move CONFIG_SYS_NO_FLASH to *defconfig

2017-02-06 Thread Andreas Bießmann
On 2016-10-28 09:16, Wenyou Yang wrote: Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v2: None configs/sama5d4_xplained_mmc_defconfig | 1 + configs/sama5d4_xplained_nandflash_defconfig | 1

Re: [U-Boot] [PATCH v2 7/8] board: sama5d4ek: enable early debug UART

2017-02-06 Thread Andreas Bießmann
On 2016-10-28 09:16, Wenyou Yang wrote: Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v2: None board/atmel/sama5d4ek/sama5d4ek.c | 15 ++- configs

Re: [U-Boot] [PATCH v2 0/8] board: sama5d4: convert boards to support DM/DT

2017-02-06 Thread Andreas Bießmann
Hi Wenyou, On 28.10.16 09:16, Wenyou Yang wrote: > The purpose of patch set is to convert the board to support Device > Tree and Driver Model. > > They are based on the following patches: > 1./ [PATCH v3 0/2] pinctrl: at91: Add pinctrl driver > http://lists.denx.de/pipermail/u-boot/20

Re: [U-Boot] [PATCH v2 6/8] board: sama5d4ek: clean up code

2017-02-06 Thread Andreas Bießmann
On 2016-10-28 09:16, Wenyou Yang wrote: Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v2: - Restore the wrong removal USB related

Re: [U-Boot] [U-Boot, v2, 5/8] board: sama5d4ek: move config options to defconfig

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:46PM +0800, Wenyou Yang wrote: > Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock > driver and at91 pinctrl driver. > > Move some config options to configs/sama5d4ek_*_defconfig. > > Signed-off-by: Wenyou Yang Reviewed-by

Re: [U-Boot] [U-Boot, v2, 4/8] board: sama5d4_xplained: enable early debug UART

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:45PM +0800, Wenyou Yang wrote: > Enable early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None > > b

Re: [U-Boot] [U-Boot, v2, 3/8] board: sama5d4_xplained: clean up code

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:44PM +0800, Wenyou Yang wrote: > Since the introduction of the pinctrl and clk driver and > the dts file, remove unneeded hard coded related code from > the board file. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > ---

Re: [U-Boot] [U-Boot, v2, 2/8] board: sama5d4_xplained: move config options to defconfig

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:43PM +0800, Wenyou Yang wrote: > Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock > driver and at91 pinctrl driver. > > Move some config options to configs/sama5d4_xplained_*_defconfig > files. > > Signed-off-by: Wenyou Yang Reviewed

Re: [U-Boot] [U-Boot, v2, 2/8] board: sama5d4_xplained: move config options to defconfig

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:43PM +0800, Wenyou Yang wrote: > Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock > driver and at91 pinctrl driver. > > Move some config options to configs/sama5d4_xplained_*_defconfig > files. > > Signed-off-by: Wenyou Yang Reviewed

Re: [U-Boot] [U-Boot, v2, 2/8] board: sama5d4_xplained: move config options to defconfig

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:43PM +0800, Wenyou Yang wrote: > Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock > driver and at91 pinctrl driver. > > Move some config options to configs/sama5d4_xplained_*_defconfig > files. > > Signed-off-by: Wenyou Yang Reviewed

Re: [U-Boot] [U-Boot, v2, 1/8] configs: at91-sama5_common: fix for CONFIG_AT91_GPIO

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:42PM +0800, Wenyou Yang wrote: > If enabled Driver Model for GPIO, CONFIG_AT91_GPIO should be defined > by configs/*_defconfig file. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None >

Re: [U-Boot] [U-Boot, v2, 3/3] gpio: at91_gpio: Add the clock support

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 02:16:29PM +0800, Wenyou Yang wrote: > Add the clock support. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: > - Add Reviewed-by tag. > > drivers/gpio/at91_gpio.

Re: [U-Boot] [U-Boot, v2, 1/3] gpio: Kconfig: Add CONFIG_AT91_GPIO option

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 02:16:27PM +0800, Wenyou Yang wrote: > The CONFIG_AT91_GPIO option is used to select AT91 PIO GPIO driver. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None > >

Re: [U-Boot] [U-Boot,v1] clk: at91: pmc: add more compatibles

2017-02-04 Thread Andreas Bießmann
On Wed, Oct 26, 2016 at 03:21:32PM +0800, Wenyou Yang wrote: > To keep the compatibles aligned with kernel, add more compatibles. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > drivers/clk/at91/pmc.c | 6 ++ > 1 file changed, 6 insertions

Re: [U-Boot] [U-Boot, v2, 2/3] gpio: at91_gpio: Add the device tree support

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 02:16:28PM +0800, Wenyou Yang wrote: > Add the device tree support. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None > > drivers/gpio/at91_gpio.c | 15 ++

Re: [U-Boot] [U-Boot, v11] dm: at91: Add driver model support for the spi driver

2016-10-28 Thread Andreas Bießmann
Hi Jagan, On 28.10.16 20:07, Jagan Teki wrote: > On Fri, Oct 28, 2016 at 10:19 PM, Andreas Bießmann > wrote: >> Dear Wenyou Yang, >> >> Wenyou Yang writes: >>> Add driver model support while retaining the existing legacy code. >>> This allows the drive

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2016-10-28 Thread Andreas Bießmann
Hi Tom, please pull the following changes into u-boot/master for 2016.11. One of the patches introduce a build warning (-Wunused-function) which is removed with the following patch. This is due to introducing the new feature, then switch to the feature and remove the old code in a two step proced

Re: [U-Boot] [U-Boot, v3, 3/4] board: sama5d2_xplained: Set 'ethaddr' got from AT24MAC

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >If 'ethaddr' is not set, we will get the ethernet address from AT24MAC, >and set it to 'ethaddr' variable. > >Signed-off-by: Wenyou Yang >Signed-off-by: Songjun Wu >Reviewed-by: Andreas Bießmann >--- >

Re: [U-Boot] [U-Boot, v3, 4/4] board: sama5d2_xplained: Enable an early debug UART

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Enable an early debug UART to debug problems when an ICE or other >debug mechanism is not available. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect

Re: [U-Boot] [U-Boot, v3, 2/4] board: sama5d2_xplained: Clean up code

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Since the introduction of pinctrl and clk driver, and the dts file, >remove unneeded the pin configurations and the clock enabling code. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >

Re: [U-Boot] [U-Boot, v3, 1/4] board: sama5d2_xplained: Move config options to defconfigs

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Move the config options from the include/configs/sama5d2_xplained.h >to configs/sama5d2_xplained_*_defconfig. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect Reviewed-by tag. >

Re: [U-Boot] [U-Boot, v3, 7/7] mmc: atmel_sdhci: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
ssary. > - Add Reviewed-by tag. > >Changes in v2: None > > drivers/mmc/atmel_sdhci.c | 27 ++- > 1 file changed, 2 insertions(+), 25 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann _

Re: [U-Boot] [U-Boot, v3, 2/2] serial: atmel_usart: Support enable an early debug UART

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Add support to enable an early debug UART for debugging. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect Reviewed-by tag. > >Changes in v2: > -

Re: [U-Boot] [U-Boot, v3, 1/2] serial: Kconfig: Add ATMEL_USART option

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Add ATMEL_USART option to support to enable the Atmel usart driver >from Kconfig. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect Reviewed-by tag. > >Changes in v2: No

Re: [U-Boot] [U-Boot, v11] dm: at91: Add driver model support for the spi driver

2016-10-28 Thread Andreas Bießmann
| 8 ++ > drivers/spi/atmel_spi.c | 288 ++++ > 2 files changed, 296 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, v3, 3/7] gpio: atmel_pio4: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
o/atmel_pio4. > > drivers/gpio/atmel_pio4.c | 12 > 1 file changed, 12 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, v3, 6/7] usb: ehci-atmel: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Due to the peripheral clock driver improvement, remove the >unnecessary clock calling. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: None >Changes in v2: None > > drivers/usb/host/ehci

Re: [U-Boot] [U-Boot, v3, 1/7] clk: clk-uclass: Assign clk->dev before call .of_xlate

2016-10-28 Thread Andreas Bießmann
: Stephen Warren >Acked-by: Simon Glass >--- > >Changes in v3: None >Changes in v2: > - Add Acked-by tag. > > drivers/clk/clk-uclass.c | 3 +++ > 1 file changed, 3 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann __

Re: [U-Boot] [U-Boot, v1] ARM: at91/dt: sama5d2: Fix the warning from dtc

2016-10-28 Thread Andreas Bießmann
by: Stephen Warren >--- > > arch/arm/dts/sama5d2.dtsi | 140 +++--- > 1 file changed, 70 insertions(+), 70 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___

Re: [U-Boot] [U-Boot, v3, 4/7] i2c: at91_i2c: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
.c | 16 > 1 file changed, 16 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, v3, 5/7] i2c: at91_i2c: Change error return -ENODEV to -EINVAL

2016-10-28 Thread Andreas Bießmann
t; 1 file changed, 1 insertion(+), 1 deletion(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, v3, 2/7] clk: at91: Improve the clock implementation

2016-10-28 Thread Andreas Bießmann
1/pmc.h| 5 ++- > 6 files changed, 195 insertions(+), 89 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot,3/6] arm, at91: add icache support

2016-10-28 Thread Andreas Bießmann
iewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >--- >removed the dcache enable in the gurnard board. Comment >says that enabling dcache breaks Ethernet MAC ... why >is it then enabled? > >@Simon: If you need dache enabled for the gurnard board, >arch/arm/mach-at91/arm926ejs

Re: [U-Boot] AT91: Correct misspelling of "redundent" in partition names

2016-10-28 Thread Andreas Bießmann
Dear "Robert P. J. Day", Robert P. J. Day writes: >Signed-off-by: Robert P. J. Day >Reviewed-by: Andreas Bießmann >--- > > given that this misspelling is being used for partition names, i >won't treat it as a normal typo, so sending a separate patch just fo

Re: [U-Boot] [U-Boot, 2/6] ARM: at91: clock: correct PRES offset for at91sam9x5

2016-10-28 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >on at91sam9x5 PRES offset is 4 in the PMC master >clock register. > >Signed-off-by: Heiko Schocher >Acked-by: Wenyou Yang >Acked-by: Andreas Bießmann >--- > > arch/arm/mach-at91/arm926ejs/clock.c | 6 ++ >

Re: [U-Boot] [U-Boot, v2] clk: at91: Fix at91-pmc and at91-sckc's class ID

2016-10-28 Thread Andreas Bießmann
), 20 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, 1/6] arm: at91: mpddrc: add missing MPDDRC_MD defines

2016-10-28 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >add missing MPDDRC_MD defines > >Signed-off-by: Heiko Schocher >Acked-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > > arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 3 +++ > 1 file changed, 3 insertions(+) app

Re: [U-Boot] [U-Boot, v3, 6/7] usb: ehci-atmel: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
On Tue, Sep 27, 2016 at 11:00:33AM +0800, Wenyou Yang wrote: > Due to the peripheral clock driver improvement, remove the > unnecessary clock calling. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in v3: None > Changes in v2: None >

Re: [U-Boot] [U-Boot, 2/6] ARM: at91: clock: correct PRES offset for at91sam9x5

2016-10-28 Thread Andreas Bießmann
On Wed, Aug 17, 2016 at 09:13:24AM +0200, Heiko Schocher wrote: > on at91sam9x5 PRES offset is 4 in the PMC master > clock register. > > Signed-off-by: Heiko Schocher > Acked-by: Wenyou Yang Acked-by: Andreas Bießmann > --- > > arch/arm/mach-at91/arm926ejs/cloc

Re: [U-Boot] [U-Boot, v2, 3/4] board: sama5d2_xplained: Set 'ethaddr' got from AT24MAC

2016-10-16 Thread Andreas Bießmann
Hi Wenyou, On Tue, Sep 13, 2016 at 10:49:04AM +0800, Wenyou Yang wrote: > If 'ethaddr' is not set, we will get the ethernet address from AT24MAC, > and set it to 'ethaddr' variable. > > Signed-off-by: Wenyou Yang > Signed-off-by: Songjun Wu > Reviewed-by

Re: [U-Boot] [U-Boot,v1] i2c: at91_i2c: Fix the wrong include file

2016-10-16 Thread Andreas Bießmann
On Tue, Aug 30, 2016 at 04:03:47PM +0800, Wenyou Yang wrote: > Since the 'clk_client.h' doesn't exist, it should be 'clk.h'. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > drivers/i2c/at91_i2c

Re: [U-Boot] AT91: Correct misspelling of "redundent" in partition names

2016-10-16 Thread Andreas Bießmann
On Thu, Sep 01, 2016 at 09:49:14AM -0400, Robert P. J. Day wrote: > Signed-off-by: Robert P. J. Day Reviewed-by: Andreas Bießmann > --- > > given that this misspelling is being used for partition names, i > won't treat it as a normal typo, so sending a separate p

Re: [U-Boot] [U-Boot, v2, 4/4] board: sama5d2_xplained: Enable an early debug UART

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:49:05AM +0800, Wenyou Yang wrote: > Enable an early debug UART to debug problems when an ICE or other > debug mechanism is not available. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Cha

Re: [U-Boot] [U-Boot, v2, 3/4] board: sama5d2_xplained: Set 'ethaddr' got from AT24MAC

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:49:04AM +0800, Wenyou Yang wrote: > If 'ethaddr' is not set, we will get the ethernet address from AT24MAC, > and set it to 'ethaddr' variable. > > Signed-off-by: Wenyou Yang > Signed-off-by: Songjun Wu Reviewed-by: Andreas Bießma

Re: [U-Boot] [U-Boot, v2, 2/4] board: sama5d2_xplained: Clean up code

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:49:03AM +0800, Wenyou Yang wrote: > Since the introduction of pinctrl and clk driver, and the dts file, > remove unneeded the pin configurations and the clock enabling code. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: A

Re: [U-Boot] [U-Boot, v2, 1/4] board: sama5d2_xplained: Move config options to defconfigs

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:49:02AM +0800, Wenyou Yang wrote: > Move the config options from the include/configs/sama5d2_xplained.h > to configs/sama5d2_xplained_*_defconfig. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in v2: N

Re: [U-Boot] [U-Boot, v2, 2/2] serial: atmel_usart: Support enable an early debug UART

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:37:33AM +0800, Wenyou Yang wrote: > Add support to enable an early debug UART for debugging. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: > - Collect the Reviewed-by t

Re: [U-Boot] [U-Boot, v2, 1/2] serial: Kconfig: Add ATMEL_USART option

2016-10-16 Thread Andreas Bießmann
On Tue, Sep 13, 2016 at 10:37:32AM +0800, Wenyou Yang wrote: > Add ATMEL_USART option to support to enable the Atmel usart driver > from Kconfig. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: N

Re: [U-Boot] [PATCH 6/6] [RFC] at91: SPL clock fix for AT91SAM9G15 based boards.

2016-10-06 Thread Andreas Bießmann
Hi Heiko, On 17.08.16 09:13, Heiko Schocher wrote: > on a at91sam9g15 basd board I need another MOR register > init as common for at91 based boards. Changes: > > - set AT91_PMC_MOR_KEY to 0x37, without this writting has > no effect to tthis register. > - AT91_PMC_MOR_OSCOUNT to 0 > - set AT91_P

Re: [U-Boot] [PATCH 5/6] at91: add function to set IO drive

2016-10-06 Thread Andreas Bießmann
On 17.08.16 09:13, Heiko Schocher wrote: > add new function to set I/O drive. > > Signed-off-by: Heiko Schocher > --- > > arch/arm/mach-at91/include/mach/at91_pio.h | 5 + > arch/arm/mach-at91/include/mach/gpio.h | 2 ++ > drivers/gpio/at91_gpio.c | 29 ++

Re: [U-Boot] [PATCH 4/6] arm, at91: add some missing fields in PIO struct

2016-10-06 Thread Andreas Bießmann
On 17.08.16 09:13, Heiko Schocher wrote: > add missing > > u32 io_delay; /* 0x110 I/O delay register */ > u32 io_driver1; /* 0x114 I/O driver register 1 */ > u32 io_driver2; /* 0x118 I/O driver register 2 */ This is also a mess ... it is true for sam9x5, but sama5d4 has

Re: [U-Boot] [PATCH 3/6] arm, at91: add icache support

2016-10-06 Thread Andreas Bießmann
On 17.08.16 09:13, Heiko Schocher wrote: > add at least icache support for at91 based boards. > This speeds up NOR flash access on an at91sam9g15 > based board from 15.2 seconds reading 8 MiB from > a SPI NOR flash to 5.7 seconds. > > Signed-off-by: Heiko Schocher Reviewed-by

Re: [U-Boot] [PATCH 2/6] ARM: at91: clock: correct PRES offset for at91sam9x5

2016-10-06 Thread Andreas Bießmann
On 17.08.16 09:13, Heiko Schocher wrote: > on at91sam9x5 PRES offset is 4 in the PMC master > clock register. > > Signed-off-by: Heiko Schocher > --- > > arch/arm/mach-at91/arm926ejs/clock.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/mach-at91/arm926ejs/clock.c >

Re: [U-Boot] [PATCH 1/6] arm: at91: mpddrc: add missing MPDDRC_MD defines

2016-10-06 Thread Andreas Bießmann
On 17.08.16 09:13, Heiko Schocher wrote: > add missing MPDDRC_MD defines > > Signed-off-by: Heiko Schocher Reviewed-by: Andreas Bießmann > --- > > arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch

Re: [U-Boot] [PATCH 13/16] atmel: Drop README.at91-soc

2016-10-06 Thread Andreas Bießmann
On 03.10.16 02:01, Simon Glass wrote: > This issue covered by this doc appears to be fixed, so let's remove the > README. > > Signed-off-by: Simon Glass Acked-by: Andreas Bießmann > --- > > doc/README.at91-soc | 48

Re: [U-Boot] [ANN] U-Boot v2016.09-rc2 released

2016-08-26 Thread Andreas Bießmann
Hi Tom, On 2016-08-23 02:38, Tom Rini wrote: If you notice any problems with the release, please speak out and thanks all! could you please have a look for http://patchwork.ozlabs.org/patch/659055/ Andreas ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH v7] dm: at91: Add driver model support for the spi driver

2016-08-19 Thread Andreas Bießmann
On 2016-08-19 14:48, Jagan Teki wrote: On 19 August 2016 at 18:16, Andreas Bießmann wrote: non-dm code has to live for some time since this is a shared driver for avr32 and arm architecture of atmel SoC. Unfortunately avr32 still lacks dm support in u-boot. I have some prepared patches

Re: [U-Boot] [PATCH v7] dm: at91: Add driver model support for the spi driver

2016-08-19 Thread Andreas Bießmann
Hi Jagan, On 2016-08-19 14:10, Jagan Teki wrote: Hi Andreas, On 19 August 2016 at 17:20, Andreas Bießmann wrote: Hi Jagan, On 2016-08-19 13:35, Jagan Teki wrote: On 8 August 2016 at 06:14, wrote: Hi Jagan, -Original Message- From: Jagan Teki [mailto:jagannadh.t...@gmail.com

Re: [U-Boot] [PATCH v7] dm: at91: Add driver model support for the spi driver

2016-08-18 Thread Andreas Bießmann
Hi Wenyou, On 2016-08-18 03:16, wenyou.y...@microchip.com wrote: Hi Andreas, -Original Message- From: Andreas Bießmann [mailto:andr...@biessmann.org] Sent: 2016年8月16日 5:15 To: Wenyou Yang ; U-Boot Mailing List Cc: Simon Glass ; Jagan Teki Subject: Re: [PATCH v7] dm: at91: Add driver

Re: [U-Boot] Boot failure with a AT91RM9200 based custom board

2016-08-17 Thread Andreas Bießmann
Hi Peter, On 2016-08-17 11:31, Peter Kardos wrote: On Mon, Aug 15, 2016 at 10:43 PM, Andreas Bießmann wrote: Dear Peter, On 12.08.16 02:24, Peter Kardos wrote: RAM Configuration: Bank #0: 2000 64 MiB DRAM: 64 MiB initcall: 1000b424 New Stack Pointer is: 23f23ed0 initcall

Re: [U-Boot] [PATCH v7] dm: at91: Add driver model support for the spi driver

2016-08-15 Thread Andreas Bießmann
Hi Wenyou, On 29.07.16 02:38, Wenyou Yang wrote: > Add driver model support while retaining the existing legacy code. > This allows the driver to support boards that have converted to > driver model as well as those that have not. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass This

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2016-08-15 Thread Andreas Bießmann
-atmel.git master for you to fetch changes up to a0d0d86f5cfeefda87986f3825ed1a85efa24448: mmc: atmel_sdhci: Convert to the driver model support (2016-08-15 22:58:05 +0200) Andreas Bießmann (1): clk.h: inline clk_get_by_name

Re: [U-Boot] clk.h: inline clk_get_by_name()

2016-08-15 Thread Andreas Bießmann
ned >but not used [-Wunused-function] >--->8--- > >Signed-off-by: Andreas Bießmann >Acked-by: Stephen Warren >--- > > include/clk.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___

Re: [U-Boot] [U-Boot, RESEND, v3] dm: atmel: Add driver model support for the ehci driver

2016-08-15 Thread Andreas Bießmann
Hi Marek, On 15.08.16 22:25, Marek Vasut wrote: > On 08/15/2016 10:16 PM, Andreas Bießmann wrote: >> Dear Wenyou Yang, >> >> Wenyou Yang writes: >>> Add driver model support while retaining the existing legacy code. >>> This allows the driver to support b

Re: [U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2016-08-15 Thread Andreas Bießmann
Hi Tom, On 15.08.16 22:33, Tom Rini wrote: > On Mon, Aug 15, 2016 at 10:23:29PM +0200, Andreas Bießmann wrote: > >> Hi Tom, >> >> please pull the following changes into u-boot/master for v2016.09. It >> contains >> one patch also available in the pul

Re: [U-Boot] Boot failure with a AT91RM9200 based custom board

2016-08-15 Thread Andreas Bießmann
Dear Peter, On 12.08.16 02:24, Peter Kardos wrote: > Greetings, > > I'm looking for a AT91RM9200 specialist as I've got stuck porting board > support from a old u-boot (v1.1.4) to the latest stable (v2016.07)... > > I'm using the at91r9200ek board as a template to get things running... I haven'

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2016-08-15 Thread Andreas Bießmann
Hi Tom, please pull the following changes into u-boot/master for v2016.09. It contains one patch also available in the pull request for u-boot-mmc/master from Jaehoon Chung. Andreas The following changes since commit f4b0df1823921ad3bc39820466e9c5201cef6210: Merge git://git.denx.de/u-boot-dm

Re: [U-Boot] [U-Boot, v7, 2/4] gpio: atmel_pio4: Rework to support DM & DT

2016-08-15 Thread Andreas Bießmann
to support the pinctl device regarding as > a child of atmel_pio4 device. > - Add clock support. > >Changes in v2: None > > drivers/gpio/Kconfig | 2 +- > drivers/gpio/atmel_pio4.c | 138 ++ > 2 files ch

Re: [U-Boot] [U-Boot, v11] mmc: atmel_sdhci: Convert to the driver model support

2016-08-15 Thread Andreas Bießmann
123 ++++++ > include/sdhci.h | 2 + > 3 files changed, 135 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] ARM: at91/dt: Add device tree for SAMA5D2 Xplained

2016-08-15 Thread Andreas Bießmann
.dtsi | 671 + > 3 files changed, 874 insertions(+) > create mode 100644 arch/arm/dts/at91-sama5d2_xplained.dts > create mode 100644 arch/arm/dts/sama5d2.dtsi applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann

Re: [U-Boot] [U-Boot,v3,1/2] i2c: atmel: add i2c driver

2016-08-15 Thread Andreas Bießmann
00644 drivers/i2c/at91_i2c.h applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [U-Boot, RESEND, v3] dm: atmel: Add driver model support for the ehci driver

2016-08-15 Thread Andreas Bießmann
> drivers/usb/host/Kconfig | 7 +++ > drivers/usb/host/ehci-atmel.c | 116 ++ > 2 files changed, 123 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot ma

Re: [U-Boot] [U-Boot,v3,2/2] i2c: atmel: DT binding for i2c driver

2016-08-15 Thread Andreas Bießmann
evice-tree-bindings/i2c/i2c-at91.txt | 26 ++ > 1 file changed, 26 insertions(+) > create mode 100644 doc/device-tree-bindings/i2c/i2c-at91.txt applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-B

Re: [U-Boot] [U-Boot, v7, 4/4] atmel: Bring in at91 pio4 device tree file and bindings

2016-08-15 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Bring in required device tree file and bindings from Linux. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >Reviewed-by: Simon Glass >--- > >Changes in v7: > - Drop [PATCH]: configs: sama5d2_x

Re: [U-Boot] [U-Boot, v7, 3/4] pinctrl: at91-pio4: Add pinctrl driver

2016-08-15 Thread Andreas Bießmann
red along with the gpio controller. So regard the pinctrl >device as a child of atmel_pio4 device. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >--- > >Changes in v7: None >Changes in v6: None >Changes in v5: > - Fixed

Re: [U-Boot] [U-Boot,v5] clk: at91: Add clock driver

2016-08-15 Thread Andreas Bießmann
eral.c > create mode 100644 drivers/clk/at91/clk-plla.c > create mode 100644 drivers/clk/at91/clk-slow.c > create mode 100644 drivers/clk/at91/clk-system.c > create mode 100644 drivers/clk/at91/clk-utmi.c > create mode 100644 drivers/clk/at91/pmc.c > create mode 100644 drivers/clk/at

Re: [U-Boot] tpm: atmel_twi: Make compatible with DM I2C busses

2016-08-15 Thread Andreas Bießmann
legacy calls in ifdefs, so >that the driver is now compatible with both DM and non-DM setups. > >Signed-off-by: Mario Six >Reviewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >--- > drivers/tpm/Kconfig | 2 +- > drivers/tpm/tpm_atmel_twi.c | 15 ++- &g

Re: [U-Boot] [U-Boot, v7, 1/4] gpio: atmel_pio4: Move PIO4 definitions to head file

2016-08-15 Thread Andreas Bießmann
- > 2 files changed, 53 insertions(+), 53 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] clk.h: inline clk_get_by_name()

2016-08-15 Thread Andreas Bießmann
Fix compile warning for non OF_CONTROL builds: ---8<--- In file included from /Volumes/devel/u-boot/drivers/gpio/atmel_pio4.c:10:0: /Volumes/devel/u-boot/include/clk.h:107:12: warning: 'clk_get_by_name' defined but not used [-Wunused-function] --->8--- Signed-off-by:

Re: [U-Boot] [PATCH] image-fit: fix fit_image_load() OS check

2016-08-15 Thread Andreas Bießmann
Hi Michal, On 2016-08-15 08:41, Michal Simek wrote: On 14.8.2016 20:31, Andreas Bießmann wrote: Commit 62afc601883e788f3f22291202d5b2a23c1a8b06 introduced fpga image load via bootm but broke the OS check in fit_image_load(). This commit removes following compiler warning: ---8<--- In f

Re: [U-Boot] [PATCH] tpm: atmel_twi: Make compatible with DM I2C busses

2016-08-14 Thread Andreas Bießmann
so keeps the legacy calls in ifdefs, so > that the driver is now compatible with both DM and non-DM setups. > > Signed-off-by: Mario Six Reviewed-by: Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] image-fit: fix fit_image_load() OS check

2016-08-14 Thread Andreas Bießmann
;|' for a bitwise operation os_ok = image_type == IH_TYPE_FLATDT || IH_TYPE_FPGA || ^~ | 1 warning generated. --->8--- Signed-off-by: Andreas Bießmann Cc: Michal Simek --- common/image-fit.c

Re: [U-Boot] [PATCH] mmc: sdhci: Add the programmable clock mode support

2016-08-14 Thread Andreas Bießmann
Dear Pantelis, On 20.06.16 03:58, Wenyou Yang wrote: > Add the programmable clock mode for the clock generator. > this one is delegated to me, but I think it is out of my scope. Could you please have a look? Andreas > Signed-off-by: Wenyou Yang > --- > > drivers/mmc/sdhci.c | 49 +++

Re: [U-Boot] [PATCH] Please pull u-boot-mmc

2016-08-12 Thread Andreas Bießmann
On 2016-08-12 14:48, Tom Rini wrote: On Fri, Aug 12, 2016 at 02:40:12PM +0200, andr...@biessmann.de wrote: On 2016-08-12 14:04, Tom Rini wrote: >On Fri, Aug 12, 2016 at 04:34:01PM +0900, Jaehoon Chung wrote: > >>Dear Tom, >> >>Here is the mmc updates. >>- Supports the Driver model for atmel_sdhc

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2016-06-26 Thread Andreas Bießmann
Hi Tom, please pull the following into u-boot/master for 2016.07. It contains the spl_boot_mode() change from Marek which was delegated partly to you and partly to me on patchwork. The rest is DT support for some Siemens boards which where sent before MW close but missed in my last pull request.

Re: [U-Boot] ARM: at91: Don't invoke spl_boot_device() twice

2016-06-26 Thread Andreas Bießmann
Dear Marek Vasut, Marek Vasut writes: >Since the spl_boot_mode() is now passed the boot device to boot from, >make use of it instead of inquiring for the boot device again. This >allows board_boot_order() to function correctly. > >Signed-off-by: Marek Vasut >Cc: Andreas Bieß

Re: [U-Boot] [U-Boot,v1,1/5] arm: at91: add CONFIG_AT91SAM9M10G45

2016-06-26 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >add support for CONFIG_AT91SAM9M10G45. > >Signed-off-by: Heiko Schocher >Reviewed-by: Andreas Bießmann >--- > > arch/arm/mach-at91/include/mach/at91_matrix.h | 26 ++ > 1 file changed, 14 ins

Re: [U-Boot] [U-Boot, v1, 3/5] arm: at91: dts: Bring in dts files for AT91SAM9G20 and SAM9260

2016-06-26 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >Add this files from Linux v4.6-rc5 > >66b8a424d: [workqueue: fix ghost PENDING flag while doing MQ IO] > >Signed-off-by: Heiko Schocher >Acked-by: Andreas Bießmann >--- > > arch/arm/

Re: [U-Boot] [U-Boot, v1, 4/5] arm: at91: smartweb: add DM and DTS support

2016-06-26 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >Signed-off-by: Heiko Schocher >Reviewed-by: Andreas Bießmann >[rebased on current ToT] >Signed-off-by: Andreas Bießmann >--- > arch/arm/dts/Makefile | 1 + > arch/arm/dts/at91sam92

Re: [U-Boot] [U-Boot, v1, 5/5] arm: at91: taurus/axm: add DM and DTS support

2016-06-26 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >add DM and DTS support for the at91 based siemens >boards. > >Signed-off-by: Heiko Schocher >Reviewed-by: Andreas Bießmann >[rebased on current ToT] >Signed-off-by: Andreas Bießmann >--- > arch/arm/dts/Makefile

Re: [U-Boot] [U-Boot,v1,2/5] corvus DTS / DM support

2016-06-26 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >Signed-off-by: Heiko Schocher >Reviewed-by: Andreas Bießmann >[rebase on current ToT, don't delete gurnard DTB creation] >Signed-off-by: Andreas Bießmann >--- > arch/arm/dts/Makefile | 4 +- > arch/arm/

Re: [U-Boot] common: Pass the boot device into spl_boot_mode()

2016-06-26 Thread Andreas Bießmann
rectly alter the behavior of the boot process. > >The later one is important, since in certain cases, it is desired that >spl_boot_device() return value be overriden using board_boot_order(). > >Signed-off-by: Marek Vasut >Cc: Andreas Bießmann >Cc: Albert Aribaud >Cc: Tom

Re: [U-Boot] [PATCH v1 5/5] arm: at91: taurus/axm: add DM and DTS support

2016-06-25 Thread Andreas Bießmann
On 25.05.16 07:23, Heiko Schocher wrote: > add DM and DTS support for the at91 based siemens > boards. > > Signed-off-by: Heiko Schocher Reviewed-by: Andreas Bießmann > --- > > arch/arm/dts/Makefile | 1 + > arch/arm/dts/at91

Re: [U-Boot] [PATCH v1 4/5] arm: at91: smartweb: add DM and DTS support

2016-06-25 Thread Andreas Bießmann
On 25.05.16 07:23, Heiko Schocher wrote: > Signed-off-by: Heiko Schocher Reviewed-by: Andreas Bießmann > --- > > arch/arm/dts/Makefile | 3 +- > arch/arm/dts/at91sam9260-smartweb.dts | 110 > ++ > arch/arm/mach-at91/Kco

Re: [U-Boot] [PATCH v1 3/5] arm: at91: dts: Bring in dts files for AT91SAM9G20 and SAM9260

2016-06-25 Thread Andreas Bießmann
On 25.05.16 07:23, Heiko Schocher wrote: > Add this files from Linux v4.6-rc5 > > 66b8a424d: [workqueue: fix ghost PENDING flag while doing MQ IO] > > Signed-off-by: Heiko Schocher Acked-by: Andreas Bießmann > --- > > arch/arm/dts

  1   2   3   4   5   6   7   8   9   10   >