[U-Boot] [RFC PATCH 0/1] GPIO support for Microblaze
Simon Glass
sjg at chromium.org
Sat Apr 27 17:35:46 CEST 2013
Hi Michal,
On Wed, Apr 24, 2013 at 1:30 AM, Michal Simek <monstr at monstr.eu> wrote:
> Hi Simon,
>
> here is also one small problem if you want to use patman just for one patch
> then cover letter contains 0/1 but patch itself doesn't contain 1/1.
>
> I think will be good to just add 1/1 to patch too.
>
> Generated by:
> ./tools/patman/patman -c 1
Possibly, although here patman is just using 'git format-patch' to
create the initial patch file.
There is a 'Series-notes:' tag for adding notes to the cover letter. I
wonder if we should add a way to add text below the cut in a patch?
Then in the case where you only have one patch you might not need a
cover letter.
Regards,
Simon
>
> Thanks,
> Michal
>
>
> On 04/24/2013 10:27 AM, Michal Simek wrote:
>> I want to also write gpio support for Zynq
>> and this driver should be also used for arm zynq.
>>
>> Currently we have support just for only gpio controller
>> but not for various of them.
>> That's why I would like to get some input from you
>> if possible to add dynamic gpio allocation which
>> could be also helpful for OF support.
>>
>> Output from my gpio status on Microblaze is below.
>>
>> Thanks,
>> Michal
>>
>> U-Boot> gpio status
>>
>> gpio_info: reset/40000000 (0-0)
>> GPIO_0: reset_pin is an INPUT value = 0
>>
>> gpio_info: led/40040000 (1-5)
>> GPIO_1: UNKNOWN is an INPUT value = 0
>> GPIO_2: UNKNOWN is an OUTPUT value = 1
>> GPIO_3: UNKNOWN is an INPUT value = 0
>> GPIO_4: UNKNOWN is an INPUT value = 0
>> GPIO_5: UNKNOWN is an OUTPUT value = 0
>>
>>
>> Michal Simek (1):
>> gpio: Add support for microblaze xilinx GPIO
>>
>> arch/microblaze/include/asm/gpio.h | 50 +---
>> .../xilinx/microblaze-generic/microblaze-generic.c | 17 +-
>> drivers/gpio/Makefile | 1 +
>> drivers/gpio/xilinx_gpio.c | 323 +++++++++++++++++++++
>> include/configs/microblaze-generic.h | 3 +-
>> 5 files changed, 353 insertions(+), 41 deletions(-)
>> create mode 100644 drivers/gpio/xilinx_gpio.c
>>
>> --
>> 1.8.2.1
>>
>
>
> --
> Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
> w: www.monstr.eu p: +42-0-721842854
> Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
> Maintainer of Linux kernel - Xilinx Zynq ARM architecture
> Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
>
>
More information about the U-Boot
mailing list