Re: [U-Boot] [PATCH 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-05-10 Thread Timur Tabi
Mario Six wrote: The problem is that in 36-bit mode the physical addresses are 64-bit, which means that you get 64-bit integers when you read something from the device tree with fdtdec_get_addr. But the device tree addresses themselves seem to be 32-bit, because if I read a property like 'reg =

Re: [U-Boot] [PATCH 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-05-10 Thread Mario Six
On Sun, May 8, 2016 at 3:28 PM, Timur Tabi wrote: > On Mon, May 2, 2016 at 6:43 AM, Mario Six wrote: > > Regarding the address width discrepancy: The system I'm working on is a > > P1022 Qoriq, which has 36 bit width, which implies that phys_addr_t needs > >

Re: [U-Boot] [PATCH 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-05-08 Thread Timur Tabi
On Mon, May 2, 2016 at 6:43 AM, Mario Six wrote: > Regarding the address width discrepancy: The system I'm working on is a > P1022 Qoriq, which has 36 bit width, which implies that phys_addr_t needs > to be 64 bit. But the everything else (including the GPIO controller) uses >

Re: [U-Boot] [PATCH 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-05-02 Thread Mario Six
Hi Simon, On Sun, May 1, 2016 at 7:46 PM, Simon Glass wrote: > Hi Mario, > > On 26 April 2016 at 08:08, Mario Six wrote: > > > > Signed-off-by: Mario Six > > --- > > arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 + > >

Re: [U-Boot] [PATCH 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-05-01 Thread Simon Glass
Hi Mario, On 26 April 2016 at 08:08, Mario Six wrote: > > Signed-off-by: Mario Six > --- > arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 + > arch/powerpc/include/asm/immap_85xx.h| 2 + > drivers/gpio/Kconfig | 6

[U-Boot] [PATCH 1/3] dm: gpio: Add driver for MPC85XX GPIO controller

2016-04-26 Thread Mario Six
Signed-off-by: Mario Six --- arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 + arch/powerpc/include/asm/immap_85xx.h| 2 + drivers/gpio/Kconfig | 6 + drivers/gpio/Makefile| 1 + drivers/gpio/mpc85xx_gpio.c