Re: [U-Boot] [PATCH 1/2] bcm2835_gpio: Implement GPIOF_FUNC

2016-08-13 Thread Stephen Warren

On 08/11/2016 05:38 AM, Alexander Graf wrote:

So far we could only tell the gpio framework that a GPIO was mapped as input or
output, not as alternative function.

This patch adds support for determining whether a function is mapped as
alternative.


The series,
Acked-by: Stephen Warren 

In patch 2, I wonder if there shouldn't be a more "architectural" way of 
disabling the UART device; it seem like the method currently used could 
easily be broken by some change in the core code. I see you're 
discussing that part with Simon.

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 1/2] bcm2835_gpio: Implement GPIOF_FUNC

2016-08-11 Thread Simon Glass
On 11 August 2016 at 05:38, Alexander Graf  wrote:
> So far we could only tell the gpio framework that a GPIO was mapped as input 
> or
> output, not as alternative function.
>
> This patch adds support for determining whether a function is mapped as
> alternative.
>
> Signed-off-by: Alexander Graf 
> ---
>  arch/arm/mach-bcm283x/include/mach/gpio.h |  2 ++
>  drivers/gpio/bcm2835_gpio.c   | 30 +-
>  2 files changed, 19 insertions(+), 13 deletions(-)

Reviewed-by: Simon Glass 
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot