<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git, branch archive/vf610-gpio-v4</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Documentation: dts: add bindings for Vybrid GPIO/PORT module</title>
<updated>2014-09-26T11:40:02+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan@agner.ch</email>
</author>
<published>2014-09-23T12:21:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=48d7d5598fd0ac5d99dd93a75d47a4c5ac1a606a'/>
<id>48d7d5598fd0ac5d99dd93a75d47a4c5ac1a606a</id>
<content type='text'>
The Vybrid SoC device tree (vf610.dtsi) used this bindings since
its initial commit in May 2013. However, a proper gpiolib driver
was missing so far. With the addition of the gpiolib driver,
the bindings proved to be useful and complete, hence a good time
to add the documentation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Vybrid SoC device tree (vf610.dtsi) used this bindings since
its initial commit in May 2013. However, a proper gpiolib driver
was missing so far. With the addition of the gpiolib driver,
the bindings proved to be useful and complete, hence a good time
to add the documentation.
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: dts: vf610: use new GPIO support</title>
<updated>2014-09-26T11:40:02+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan@agner.ch</email>
</author>
<published>2014-09-06T15:46:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1e927f9a2c10d80a33f7622233fc308b420ef2bf'/>
<id>1e927f9a2c10d80a33f7622233fc308b420ef2bf</id>
<content type='text'>
Use GPIO support by adding SD card detection configuration and
GPIO pinmux for Colibri's standard GPIO pins. Attach the GPIO
pins to the iomuxc node to get the GPIO pin settings applied.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use GPIO support by adding SD card detection configuration and
GPIO pinmux for Colibri's standard GPIO pins. Attach the GPIO
pins to the iomuxc node to get the GPIO pin settings applied.
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio: vf610: add gpiolib/IRQ chip driver for Vybrid</title>
<updated>2014-09-26T11:40:01+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan@agner.ch</email>
</author>
<published>2014-09-06T15:46:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d978829094e6a287415dc1baeabb0aed2799aafc'/>
<id>d978829094e6a287415dc1baeabb0aed2799aafc</id>
<content type='text'>
Add a gpiolib and IRQ chip driver for Vybrid ARM SoC using the
Vybrid's GPIO and PORT module. The driver is instanced once per
each GPIO/PORT module pair and handles 32 GPIO's.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a gpiolib and IRQ chip driver for Vybrid ARM SoC using the
Vybrid's GPIO and PORT module. The driver is instanced once per
each GPIO/PORT module pair and handles 32 GPIO's.
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: imx: add gpio pinmux support for vf610</title>
<updated>2014-09-26T11:39:56+00:00</updated>
<author>
<name>Stefan Agner</name>
<email>stefan@agner.ch</email>
</author>
<published>2014-09-06T15:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a5c20cf7fd08c5cf41a2d43210c74708dda9519c'/>
<id>a5c20cf7fd08c5cf41a2d43210c74708dda9519c</id>
<content type='text'>
Add pinmux support for GPIO for Vybrid (vf610) IOMUX controller.
This is needed since direction configuration is not part of the
GPIO module in Vybrid.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add pinmux support for GPIO for Vybrid (vf610) IOMUX controller.
This is needed since direction configuration is not part of the
GPIO module in Vybrid.
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: sh-pfc: sh73a0: Remove unnecessary SoC data allocation</title>
<updated>2014-09-23T15:11:22+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart+renesas@ideasonboard.com</email>
</author>
<published>2014-09-10T21:55:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0a332c96c29c84cd9205c29dfa1add4667456059'/>
<id>0a332c96c29c84cd9205c29dfa1add4667456059</id>
<content type='text'>
The SoC data structure allocated at init time only holds a regulator
pointer that is only used in the init function. Replace it with a local
variable and get rid of the SoC data structure allocation altogether.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Acked-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The SoC data structure allocated at init time only holds a regulator
pointer that is only used in the init function. Replace it with a local
variable and get rid of the SoC data structure allocation altogether.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart+renesas@ideasonboard.com&gt;
Acked-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: berlin: fix the dt_free_map function</title>
<updated>2014-09-23T15:01:47+00:00</updated>
<author>
<name>Antoine Tenart</name>
<email>antoine.tenart@free-electrons.com</email>
</author>
<published>2014-09-10T09:15:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6064b1474ef3cfa523916008b5176026bbc990d3'/>
<id>6064b1474ef3cfa523916008b5176026bbc990d3</id>
<content type='text'>
The berlin_pinctrl_dt_free_map function tries to free memory
allocated and handled by the of subsystem. This is wrong and
already handled by pinctrl_dt_free_maps() which calls
of_node_put().

This patch fixes the Berlin pinctrl way of freeing its maps,
avoiding a kernel BUG(), by using the common
pinctrl_utils_dt_free_map function instead.

Signed-off-by: Antoine Tenart &lt;antoine.tenart@free-electrons.com&gt;
Acked-by: Sebastian Hesselbarth &lt;sebastian.hesselbarth@gmail.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The berlin_pinctrl_dt_free_map function tries to free memory
allocated and handled by the of subsystem. This is wrong and
already handled by pinctrl_dt_free_maps() which calls
of_node_put().

This patch fixes the Berlin pinctrl way of freeing its maps,
avoiding a kernel BUG(), by using the common
pinctrl_utils_dt_free_map function instead.

Signed-off-by: Antoine Tenart &lt;antoine.tenart@free-electrons.com&gt;
Acked-by: Sebastian Hesselbarth &lt;sebastian.hesselbarth@gmail.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: at91: disable PD or PU before enabling PU or PD</title>
<updated>2014-09-23T14:59:55+00:00</updated>
<author>
<name>Wenyou Yang</name>
<email>wenyou.yang@atmel.com</email>
</author>
<published>2014-09-11T14:40:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3d78427397daea47b5a38642f46f75ef993de571'/>
<id>3d78427397daea47b5a38642f46f75ef993de571</id>
<content type='text'>
Disable Pull-Down or Pull-Up property before enabling Pull-Up or
Pull-Down, because the pin's Pull-Up and Pull-Down property is
mutually exclusive.

Signed-off-by: Wenyou Yang &lt;wenyou.yang@atmel.com&gt;
Acked-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disable Pull-Down or Pull-Up property before enabling Pull-Up or
Pull-Down, because the pin's Pull-Up and Pull-Down property is
mutually exclusive.

Signed-off-by: Wenyou Yang &lt;wenyou.yang@atmel.com&gt;
Acked-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: st: remove gpiochip in failure cases</title>
<updated>2014-09-23T14:53:18+00:00</updated>
<author>
<name>Pramod Gurav</name>
<email>pramod.gurav@smartplayin.com</email>
</author>
<published>2014-09-09T07:51:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7471725f618b95d2a61a4bf789dbdc5c7805ffa9'/>
<id>7471725f618b95d2a61a4bf789dbdc5c7805ffa9</id>
<content type='text'>
This patch releases gpiochip related resources by calling
gpiochip_remove when gpiochip_irqchip_add fails.

Cc: Maxime Coquelin &lt;maxime.coquelin@st.com&gt;
Cc: Patrice Chotard &lt;patrice.chotard@st.com&gt;
Cc: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Acked-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Pramod Gurav &lt;pramod.gurav@smartplayin.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch releases gpiochip related resources by calling
gpiochip_remove when gpiochip_irqchip_add fails.

Cc: Maxime Coquelin &lt;maxime.coquelin@st.com&gt;
Cc: Patrice Chotard &lt;patrice.chotard@st.com&gt;
Cc: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Acked-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Pramod Gurav &lt;pramod.gurav@smartplayin.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: at91: Fix error handling while doing gpiochio_irqchip_add</title>
<updated>2014-09-23T14:46:47+00:00</updated>
<author>
<name>Pramod Gurav</name>
<email>pramod.gurav@smartplayin.com</email>
</author>
<published>2014-09-09T10:20:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=834e1678649db1e064ee397cca161a65bacfa801'/>
<id>834e1678649db1e064ee397cca161a65bacfa801</id>
<content type='text'>
This patch removes a call to panic function when gpiochio_irqchip_add
fails and just returns the error to the calling function.
Same return value is used to handle the error case and adds a lable
to release resources on error.
The error message has been improved to indicate failure to add irqchip
to gpiochip.

This also changes first argument to function at91_gpio_of_irq_setup from
struct device_node to struct platform_device. Because The device_node
argument was anyway not being used. Passed pdev so that on failure dev_err
can use &amp;pdev-&gt;dev and log can be associated with proper device.

CC: Jean-Christophe Plagniol-Villard &lt;plagnioj@jcrosoft.com&gt;
CC: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Pramod Gurav &lt;pramod.gurav@smartplayin.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch removes a call to panic function when gpiochio_irqchip_add
fails and just returns the error to the calling function.
Same return value is used to handle the error case and adds a lable
to release resources on error.
The error message has been improved to indicate failure to add irqchip
to gpiochip.

This also changes first argument to function at91_gpio_of_irq_setup from
struct device_node to struct platform_device. Because The device_node
argument was anyway not being used. Passed pdev so that on failure dev_err
can use &amp;pdev-&gt;dev and log can be associated with proper device.

CC: Jean-Christophe Plagniol-Villard &lt;plagnioj@jcrosoft.com&gt;
CC: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Pramod Gurav &lt;pramod.gurav@smartplayin.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pinctrl: at91: Fix failure path in at91_gpio_probe path</title>
<updated>2014-09-23T14:45:22+00:00</updated>
<author>
<name>Pramod Gurav</name>
<email>pramod.gurav@smartplayin.com</email>
</author>
<published>2014-09-09T10:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=70e4197420a154a2a684b6e7b496dda70b20d9ec'/>
<id>70e4197420a154a2a684b6e7b496dda70b20d9ec</id>
<content type='text'>
This fixes the whole error handling in probe function by capturing and
returning error values on kernel function like clk_prepare,
clk_enable, gpiochip_add etc.

CC: Jean-Christophe Plagniol-Villard &lt;plagnioj@jcrosoft.com&gt;
CC: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Pramod Gurav &lt;pramod.gurav@smartplayin.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the whole error handling in probe function by capturing and
returning error values on kernel function like clk_prepare,
clk_enable, gpiochip_add etc.

CC: Jean-Christophe Plagniol-Villard &lt;plagnioj@jcrosoft.com&gt;
CC: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Pramod Gurav &lt;pramod.gurav@smartplayin.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
