[linux-sunxi] [PATCH] Revert "gpio: Oscillate option"

2014-05-16 Thread Ian Campbell
This reverts commits d104fc0ee38a and af9f4057a591. Henrik says in https://groups.google.com/forum/#!msg/linux-sunxi/nSKH4IcTaX8/YBVQLMrzfKwJ: GPIO_OSCILLATE is a hack in our u-boot used for measuring PIO performance. Should likely be removed. This is one less thing to worry about for u

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-16 Thread Ian Campbell
On Fri, 2014-05-16 at 23:11 +0300, Siarhei Siamashka wrote: > > I think this change is an improvement, but if we do this, we also > > need to upstream it. Ian what is your take on this? IOW are you > > ok with my applying this to the u-boot-sunxi git repo ? While things aren't yet upstream I'm in

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-16 Thread Siarhei Siamashka
On Fri, 16 May 2014 21:18:35 +0200 Hans de Goede wrote: > Hi, > > On 05/16/2014 08:20 PM, Ian Campbell wrote: > > On Fri, 2014-05-16 at 20:19 +0300, Siarhei Siamashka wrote: > >> On Fri, 16 May 2014 17:04:32 +0100 > >> Ian Campbell wrote: > >> > >>> On Fri, 2014-05-16 at 18:05 +0300, Siarhei Si

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-16 Thread Siarhei Siamashka
On Fri, 16 May 2014 21:19:26 +0200 Henrik Nordström wrote: > fre 2014-05-16 klockan 17:04 +0100 skrev Ian Campbell: > > On Fri, 2014-05-16 at 18:05 +0300, Siarhei Siamashka wrote: > > > The FEL SPL entry point at the address 0x2000 starts execution > > > in the ARM mode. So we need to make sure t

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-16 Thread Henrik Nordström
fre 2014-05-16 klockan 17:04 +0100 skrev Ian Campbell: > On Fri, 2014-05-16 at 18:05 +0300, Siarhei Siamashka wrote: > > The FEL SPL entry point at the address 0x2000 starts execution > > in the ARM mode. So we need to make sure that this particular > > code is also compiled for the ARM mode. The r

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-16 Thread Hans de Goede
Hi, On 05/16/2014 08:20 PM, Ian Campbell wrote: > On Fri, 2014-05-16 at 20:19 +0300, Siarhei Siamashka wrote: >> On Fri, 16 May 2014 17:04:32 +0100 >> Ian Campbell wrote: >> >>> On Fri, 2014-05-16 at 18:05 +0300, Siarhei Siamashka wrote: The FEL SPL entry point at the address 0x2000 starts e

Re: [linux-sunxi] [RFC PATCH u-boot-sunxi] sunxi: use TWI1 for I2C outside of SPL for EEPROM access

2014-05-16 Thread Hans de Goede
Hi, On 05/16/2014 04:21 PM, Jonathan Liu wrote: > On 17/05/2014 12:01 AM, Hans de Goede wrote: >> Hi, >> >> On 05/16/2014 01:32 PM, Jonathan Liu wrote: >>> This allows accessing the EEPROM on the Olimex A20-OLinuXino-MICRO >>> using the i2c command. >>> >>> Signed-off-by: Jonathan Liu >> p.s. >>

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-16 Thread Ian Campbell
On Fri, 2014-05-16 at 20:19 +0300, Siarhei Siamashka wrote: > On Fri, 16 May 2014 17:04:32 +0100 > Ian Campbell wrote: > > > On Fri, 2014-05-16 at 18:05 +0300, Siarhei Siamashka wrote: > > > The FEL SPL entry point at the address 0x2000 starts execution > > > in the ARM mode. So we need to make s

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-16 Thread Siarhei Siamashka
On Fri, 16 May 2014 17:04:32 +0100 Ian Campbell wrote: > On Fri, 2014-05-16 at 18:05 +0300, Siarhei Siamashka wrote: > > The FEL SPL entry point at the address 0x2000 starts execution > > in the ARM mode. So we need to make sure that this particular > > code is also compiled for the ARM mode. The

Re: [linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-16 Thread Ian Campbell
On Fri, 2014-05-16 at 18:05 +0300, Siarhei Siamashka wrote: > The FEL SPL entry point at the address 0x2000 starts execution > in the ARM mode. So we need to make sure that this particular > code is also compiled for the ARM mode. The rest of the SPL can > be compiled as Thumb2 and benefit from the

[linux-sunxi] [PATCH u-boot-sunxi] sunxi: support Thumb2 for FEL

2014-05-16 Thread Siarhei Siamashka
The FEL SPL entry point at the address 0x2000 starts execution in the ARM mode. So we need to make sure that this particular code is also compiled for the ARM mode. The rest of the SPL can be compiled as Thumb2 and benefit from the code size reduction. Signed-off-by: Siarhei Siamashka --- arch/a

Re: [linux-sunxi] [RFC PATCH u-boot-sunxi] sunxi: use TWI1 for I2C outside of SPL for EEPROM access

2014-05-16 Thread Jonathan Liu
On 17/05/2014 12:01 AM, Hans de Goede wrote: Hi, On 05/16/2014 01:32 PM, Jonathan Liu wrote: This allows accessing the EEPROM on the Olimex A20-OLinuXino-MICRO using the i2c command. Signed-off-by: Jonathan Liu p.s. I don't know what you want this for, but if it is for the purpose of gettin

Re: [linux-sunxi] [RFC PATCH u-boot-sunxi] sunxi: use TWI1 for I2C outside of SPL for EEPROM access

2014-05-16 Thread Jonathan Liu
On 17/05/2014 12:01 AM, Hans de Goede wrote: Hi, On 05/16/2014 01:32 PM, Jonathan Liu wrote: This allows accessing the EEPROM on the Olimex A20-OLinuXino-MICRO using the i2c command. Signed-off-by: Jonathan Liu p.s. I don't know what you want this for, but if it is for the purpose of gettin

Re: [linux-sunxi] [RFC PATCH u-boot-sunxi] sunxi: use TWI1 for I2C outside of SPL for EEPROM access

2014-05-16 Thread Hans de Goede
Hi, On 05/16/2014 01:32 PM, Jonathan Liu wrote: > This allows accessing the EEPROM on the Olimex A20-OLinuXino-MICRO > using the i2c command. > > Signed-off-by: Jonathan Liu p.s. I don't know what you want this for, but if it is for the purpose of getting fixed MAC addresses for the NIC, pleas

Re: [linux-sunxi] [RFC PATCH u-boot-sunxi] sunxi: use TWI1 for I2C outside of SPL for EEPROM access

2014-05-16 Thread Hans de Goede
Hi, On 05/16/2014 01:32 PM, Jonathan Liu wrote: > This allows accessing the EEPROM on the Olimex A20-OLinuXino-MICRO > using the i2c command. NACK, if you want this please spend some time on moving drivers/i2c/mvtwsi.c over to the new i2c framework which allows having multiple controllers as enab

[linux-sunxi] [RFC PATCH u-boot-sunxi] sunxi: use TWI1 for I2C outside of SPL for EEPROM access

2014-05-16 Thread Jonathan Liu
This allows accessing the EEPROM on the Olimex A20-OLinuXino-MICRO using the i2c command. Signed-off-by: Jonathan Liu --- arch/arm/include/asm/arch-sunxi/gpio.h | 2 ++ arch/arm/include/asm/arch-sunxi/i2c.h | 4 board/sunxi/board.c| 6 ++ include/configs/sunxi-commo

Re: [linux-sunxi] [PATCH] Add qt840a

2014-05-16 Thread Amit Kucheria
On Fri, May 16, 2014 at 1:17 PM, Hans de Goede wrote: > Hi, > > On 05/15/2014 08:56 PM, Amit Kucheria wrote: >> On Thu, May 15, 2014 at 11:41 PM, Hans de Goede wrote: >>> Hi, >>> >>> Thanks for the patch. Looking at the outside of the qt840a box, >>> I believe it is the same as the q5 (and the br

Re: [linux-sunxi] [PATCH] Add qt840a

2014-05-16 Thread Hans de Goede
Hi, On 05/15/2014 08:56 PM, Amit Kucheria wrote: > On Thu, May 15, 2014 at 11:41 PM, Hans de Goede wrote: >> Hi, >> >> Thanks for the patch. Looking at the outside of the qt840a box, >> I believe it is the same as the q5 (and the brandless box I have). >> >> With a PCB labelled i12 and I've alrea

Re: [linux-sunxi] Re: [PATCH v4 6/9] regulator: AXP20x: Add support for regulators subsystem

2014-05-16 Thread Carlo Caione
On Thu, May 15, 2014 at 8:03 PM, Boris BREZILLON wrote: > Hello Carlo, > > On 11/04/2014 11:38, Carlo Caione wrote: >> AXP202 and AXP209 come with two synchronous step-down DC-DCs and five >> LDOs. This patch introduces basic support for those regulators. >> >> Signed-off-by: Carlo Caione >> ---