linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v9 00/10] bind pinconf to pinctrl single
@ 2013-02-17 11:42 Haojian Zhuang
  2013-02-17 11:42 ` [PATCH v9 01/10] gpio: add gpio offset in gpio range cells property Haojian Zhuang
                   ` (9 more replies)
  0 siblings, 10 replies; 21+ messages in thread
From: Haojian Zhuang @ 2013-02-17 11:42 UTC (permalink / raw)
  To: linux-arm-kernel

Changelog:
v9:
1. Discard bias-autopull.
2. Fully support irqdomain & drop irq generic chip in pl061 gpio.
3. Rename pinctrl_overlapped_gpio_range().

v8:
1. Update allocate irq dynamically in gpio-pl061.
2. Update bias-pullup/bias-pulldown as 4 parameters.
3. Remove bias-disable.
4. Add bias-autopull.
5. Rename input-schmitt-disable to input-schmitt-enable.
6. Discard allocating global gpio number in ascending order.

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] 21+ messages in thread

end of thread, other threads:[~2013-03-01 13:04 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-17 11:42 [PATCH v9 00/10] bind pinconf to pinctrl single Haojian Zhuang
2013-02-17 11:42 ` [PATCH v9 01/10] gpio: add gpio offset in gpio range cells property Haojian Zhuang
2013-03-01 12:43   ` Linus Walleij
2013-02-17 11:42 ` [PATCH v9 02/10] gpio: fix wrong checking condition for gpio range Haojian Zhuang
2013-03-01 12:45   ` Linus Walleij
2013-02-17 11:42 ` [PATCH v9 03/10] gpio: pl061: support irqdomain Haojian Zhuang
2013-03-01 12:48   ` Linus Walleij
2013-02-17 11:42 ` [PATCH v9 04/10] pinctrl: check pinctrl ready for gpio range Haojian Zhuang
2013-03-01 12:53   ` Linus Walleij
2013-02-17 11:42 ` [PATCH v9 05/10] gpio: pl061: bind pinctrl by gpio request Haojian Zhuang
2013-03-01 12:54   ` Linus Walleij
2013-02-17 11:42 ` [PATCH v9 06/10] pinctrl: single: create new gpio function range Haojian Zhuang
2013-03-01 12:57   ` Linus Walleij
2013-02-17 11:42 ` [PATCH v9 07/10] pinctrl: generic: dump pin configuration Haojian Zhuang
2013-03-01 12:59   ` Linus Walleij
2013-02-17 11:42 ` [PATCH v9 08/10] pinctrl: single: set function mask as optional Haojian Zhuang
2013-03-01 13:00   ` Linus Walleij
2013-02-17 11:42 ` [PATCH v9 09/10] pinctrl: single: support generic pinconf Haojian Zhuang
2013-03-01 13:03   ` Linus Walleij
2013-02-17 11:42 ` [PATCH v9 10/10] document: devicetree: bind pinconf with pin single Haojian Zhuang
2013-03-01 13:04   ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).