Skip to content

Some work to implement of_gpio_count()

Anton Vorontsov linuxppc-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3of: Minor simplification for the of_parse_phandles_with_args()drivers/of/base.c+4 -70 replies
2/3of: of_parse_phandles_with_args() learns to differentiate 'hole' cellsdrivers/of/base.c+16 -60 replies
3/3of/gpio: Implement of_gpio_count()drivers/of/gpio.c include/linux/of_gpio.h+40 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Some work to implement of_gpio_count()

Hi all,

Few patches are needed to implement of_gpio_count() helper function.

So far there are two potential users for the new helper:

- PPC4xx SPI driver
http://www.mail-archive.com/[email protected]/msg26847.html
^^ The driver implements of_num_gpios() by itself. Though its implementation has some minor issues with regard to the empty cells. We'll convert it to the generic function later (the driver is a half way to the mainline, so I don't want to interfere. And it's another reason for the "of_gpio_count" name).

- Some MPC83xx SPI work I'm about to send.

Thanks,

Signature · 3 lines
Anton Vorontsov
email: [email protected]
irc://irc.freenode.net/bd2