All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/15] support pinconf in pinctrl single driver
@ 2013-01-18  7:31 Haojian Zhuang
  2013-01-18  7:31 ` [PATCH v7 01/15] Revert "pinctrl: single: support gpio request and free" Haojian Zhuang
                   ` (15 more replies)
  0 siblings, 16 replies; 51+ messages in thread
From: Haojian Zhuang @ 2013-01-18  7:31 UTC (permalink / raw)
  To: linux-arm-kernel

Changelog:
v7:
1. Discard the method of adding gpio range from pinctrl-single driver.
Use gpiolib driver to support gpio range from DTS instead.
2. Add gpio request function to claim pin in gpio pl061 driver.
3. Adjust the initcall level in gpio pl061 driver.
4. Allocate gpio number from lowest gpio number to highest. The original
implementation is inverted. It's hard to use since it inverted the sequence
of gpio number.
5. Remove the support of pxa910 temporarily since gpio pxa driver need to
be updated for supporting this solution.

v6:
1. Two configuration array will be created for each pin group.
This first array is stored in pcs_function structure. The 32-bit
configruation argument is stored in this array. Driver stores
data while parsing DTS file, and loads these config array if
function selector is indicated.
The second array is stored in pinctrl_map structure. Driver won't
use it directly. So we could avoid to append lookup pinctrl map
method that is introduced in v5.

v5:
1. Move the properties of pinconf into pin group. So those mask
properties could be merged with other pinconf properties.
2. Append lookup pinctrl map method.
3. Append input schmitt disable config parameter.
4. Clean code.

v4:
1. Define gpio range as sub-node, not label. And remove
pinctrl-single,gpio-ranges property.
2. Use new two properties in sub-node, reg &
pinctrl-single,gpio. GPIO number & GPIO function are listed in
the pinctrl-single,gpio property.
3. Reference the names like pinctrl-single,bias.
4. Add compatible name "pinconf-single". If the compatible name is
"pinctrl-single", there's no pinconf. If the compatible name is
"pinconf-single", there's the generic pinconf in pinctrl-single.
5. Update documents.

v3:
1. Add more comments in document.
2. Replace pcs_readl() & pcs_writel() by pcs->read() & pcs->write().
3. Clean code.

v2:
1. Remove "pinctrl-single,gpio-mask". Since GPIO function is one of the
mux function in the pinmux register of both OMAP and PXA/MMP silicons.
Use "pinctrl-single,function-mask" instead.

^ permalink raw reply	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2013-02-09 17:17 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-18  7:31 [PATCH v7 0/15] support pinconf in pinctrl single driver Haojian Zhuang
2013-01-18  7:31 ` [PATCH v7 01/15] Revert "pinctrl: single: support gpio request and free" Haojian Zhuang
2013-01-21 16:56   ` Tony Lindgren
2013-01-22 12:49   ` Linus Walleij
2013-01-18  7:31 ` [PATCH v7 02/15] pinctrl: core: get devname from pinctrl_dev Haojian Zhuang
2013-01-21 14:15   ` Linus Walleij
2013-01-18  7:31 ` [PATCH v7 03/15] gpio: use pinctrl device name for add range Haojian Zhuang
2013-01-21 14:20   ` Linus Walleij
2013-01-21 15:24     ` Haojian Zhuang
2013-01-18  7:31 ` [PATCH v7 04/15] gpio: set gpio range cells property as 3 Haojian Zhuang
2013-01-21 14:23   ` Linus Walleij
2013-01-18  7:31 ` [PATCH v7 05/15] gpio: fix wrong checking condition for gpio range Haojian Zhuang
2013-01-18 12:18   ` Sergei Shtylyov
2013-01-18 15:02     ` Haojian Zhuang
2013-01-18 12:21   ` Sergei Shtylyov
2013-01-18  7:31 ` [PATCH v7 06/15] gpio: find gpio base by ascend order Haojian Zhuang
2013-01-21 14:24   ` Linus Walleij
2013-02-09 13:45   ` Grant Likely
2013-02-09 17:15     ` Haojian Zhuang
2013-01-18  7:31 ` [PATCH v7 07/15] gpio: pl061: allocate irq dynamically Haojian Zhuang
2013-01-18  7:31 ` [PATCH v7 08/15] gpio: pl061: bind pinctrl by gpio request Haojian Zhuang
2013-01-21 14:37   ` Linus Walleij
2013-01-21 15:45     ` Haojian Zhuang
2013-01-22  9:10       ` Linus Walleij
2013-01-22  9:55         ` Haojian Zhuang
2013-01-22 10:10           ` Linus Walleij
2013-01-18  7:31 ` [PATCH v7 09/15] gpio: pl061: set initcall level to module init Haojian Zhuang
2013-01-21 14:41   ` Linus Walleij
2013-01-21 16:24     ` Pawel Moll
2013-01-21 20:20       ` Dinh Nguyen
2013-01-22  9:44         ` Linus Walleij
2013-01-22 15:47           ` Dinh Nguyen
2013-01-21 23:33       ` Haojian Zhuang
2013-01-22 10:21         ` Pawel Moll
2013-01-22  9:42       ` Linus Walleij
2013-01-22 10:13         ` Pawel Moll
2013-01-22 10:41         ` Russell King - ARM Linux
2013-01-22 12:55           ` Linus Walleij
2013-01-22  9:45   ` Linus Walleij
2013-01-18  7:31 ` [PATCH v7 10/15] pinctrl: single: create new gpio function range Haojian Zhuang
2013-01-18  7:31 ` [PATCH v7 11/15] pinctrl: generic: add slew rate config parameter Haojian Zhuang
2013-01-21 14:44   ` Linus Walleij
2013-01-18  7:31 ` [PATCH v7 12/15] pinctrl: generic: dump pin configuration Haojian Zhuang
2013-01-18  7:31 ` [PATCH v7 13/15] pinctrl: single: set function mask as optional Haojian Zhuang
2013-01-18  7:31 ` [PATCH v7 14/15] pinctrl: single: support generic pinconf Haojian Zhuang
2013-01-21 17:14   ` Tony Lindgren
2013-01-22  5:54     ` Haojian Zhuang
2013-01-22 18:55       ` Tony Lindgren
2013-01-18  7:31 ` [PATCH v7 15/15] ARM: hs: enable hi4511 with device tree Haojian Zhuang
2013-02-09 13:41 ` [PATCH v7 0/15] support pinconf in pinctrl single driver Grant Likely
2013-02-09 17:17   ` Haojian Zhuang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.