<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/extcon/extcon-gpio.c, branch v3.17.2</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.17.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.17.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2014-06-16T04:33:19Z</updated>
<entry>
<title>extcon: Set parent device of extcon device using prameter of devm_extcon_dev_allocate</title>
<updated>2014-06-16T04:33:19Z</updated>
<author>
<name>Chanwoo Choi</name>
<email>cw00.choi@samsung.com</email>
</author>
<published>2014-05-30T01:13:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ac65a625a0961e7a96f2e5e182073691d0474c04'/>
<id>urn:sha1:ac65a625a0961e7a96f2e5e182073691d0474c04</id>
<content type='text'>
This patch set the parent device of extcon device using first parameter of
devm_extco_dev_allocate() to remove duplicate code on all of extcon provider
drivers.

Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Reported-by: Charles Keepax &lt;ckeepax@opensource.wolfsonmicro.com&gt;
Tested-by: Charles Keepax &lt;ckeepax@opensource.wolfsonmicro.com&gt;
Cc: Charles Keepax &lt;ckeepax@opensource.wolfsonmicro.com&gt;
Cc: Mark Brown &lt;broonie@kernel.org&gt;
Cc: Graeme Gregory &lt;gg@slimlogic.co.uk&gt;
Cc: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
Cc: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: gpio: Use devm_extcon_dev_allocate for extcon_dev</title>
<updated>2014-04-29T00:51:48Z</updated>
<author>
<name>Chanwoo Choi</name>
<email>cw00.choi@samsung.com</email>
</author>
<published>2014-04-21T11:51:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=60cd62d4f7d681a99eccf49941229ccf3a0069cf'/>
<id>urn:sha1:60cd62d4f7d681a99eccf49941229ccf3a0069cf</id>
<content type='text'>
This patch use devm_extcon_dev_allocate() to simplify the memory control
of extcon device.

Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Reviewed-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>extcon: gpio: Use devm_extcon_dev_register()</title>
<updated>2014-04-24T10:37:03Z</updated>
<author>
<name>Sangjung Woo</name>
<email>sangjung.woo@samsung.com</email>
</author>
<published>2014-04-21T10:10:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d92c2f12f8a940444f28795ccbfa845fc358963e'/>
<id>urn:sha1:d92c2f12f8a940444f28795ccbfa845fc358963e</id>
<content type='text'>
Use the resource-managed extcon device register function (i.e.
devm_extcon_dev_register()) instead of extcon_dev_register(). If extcon device
is attached with this function, that extcon device is automatically unregistered
on driver detach. That reduces tiresome managing code.

Signed-off-by: Sangjung Woo &lt;sangjung.woo@samsung.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: gpio: Use SIMPLE_DEV_PM_OPS macro</title>
<updated>2014-03-19T04:45:42Z</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2014-02-27T11:37:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3cc731d97fb608a09336fbcea1b2bcea9574d1f7'/>
<id>urn:sha1:3cc731d97fb608a09336fbcea1b2bcea9574d1f7</id>
<content type='text'>
Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: gpio: Add power resume support</title>
<updated>2014-01-09T00:53:30Z</updated>
<author>
<name>Rongjun Ying</name>
<email>rongjun.ying@csr.com</email>
</author>
<published>2014-01-09T00:50:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6544dfa5795060b01042fd62fd1a92e18c2fc485'/>
<id>urn:sha1:6544dfa5795060b01042fd62fd1a92e18c2fc485</id>
<content type='text'>
When system on the suspend state, Some SoC can't get gpio interrupt.
After system resume, need send extcon uevent to userspace.

Signed-off-by: Rongjun Ying &lt;rongjun.ying@csr.com&gt;
Reviewed-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Acked-by: Myungjoo Ham &lt;myungjoo.ham@samsung.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: gpio: Request gpio pin before modifying its state</title>
<updated>2014-01-07T02:54:26Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-11-22T17:26:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4288d9b8edcec7289e00eecdad44f14c9ea1ba0e'/>
<id>urn:sha1:4288d9b8edcec7289e00eecdad44f14c9ea1ba0e</id>
<content type='text'>
Commit 338de0ca (extcon: gpio: Use gpio driver/chip debounce if supported)
introduced a call to gpio_set_debounce() before actually requesting the
respective gpio pin from the gpio subsystem.

The gpio subsystem expects that a gpio pin was requested before modifying its
state. Not doing so results in a warning from gpiolib, and the gpio pin is
auto-requested. This in turn causes the subsequent devm_gpio_request_one()
to fail. So devm_gpio_request_one() must be called prior to calling
gpio_set_debounce().

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: Simplify extcon_dev_register() prototype by removing unnecessary parameter</title>
<updated>2013-09-27T00:37:01Z</updated>
<author>
<name>Chanwoo Choi</name>
<email>cw00.choi@samsung.com</email>
</author>
<published>2013-09-27T00:20:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=42d7d7539a7bcf1d493b989465283c464f4a0525'/>
<id>urn:sha1:42d7d7539a7bcf1d493b989465283c464f4a0525</id>
<content type='text'>
This patch remove extcon_dev_register()'s second parameter which means
the pointer of parent device to simplify prototype of this function.
So, if extcon device has the parent device, it should set the pointer of
parent device to edev.dev.parent in extcon device driver instead of in
extcon_dev_register().

Cc: Graeme Gregory &lt;gg@slimlogic.co.uk&gt;
Cc: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
Cc: Charles Keepax &lt;ckeepax@opensource.wolfsonmicro.com&gt;
Cc: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Myungjoo Ham &lt;myungjoo.ham@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: gpio: Add support for active-low presence to detect pins</title>
<updated>2013-09-27T00:37:01Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-09-11T23:49:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5bfbdc9caa7e16b2a77a62a9f9a63b5693e23716'/>
<id>urn:sha1:5bfbdc9caa7e16b2a77a62a9f9a63b5693e23716</id>
<content type='text'>
This patch add 'gpio_active_low' field to 'struct gpio_extcon_data'
to check whether gpio active state is 1(high) or 0(low).

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: use dev_get_platdata()</title>
<updated>2013-09-27T00:37:01Z</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-09-11T04:22:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7c0f6558f893eb5eddb52ee0fa84c2d43b2c199a'/>
<id>urn:sha1:7c0f6558f893eb5eddb52ee0fa84c2d43b2c199a</id>
<content type='text'>
Use the wrapper function for retrieving the platform data instead of
accessing dev-&gt;platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: gpio: Use gpio driver/chip debounce if supported</title>
<updated>2013-09-27T00:37:00Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-09-11T02:16:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=338de0ca682ca95d3f6185459e11540c37dd8a2a'/>
<id>urn:sha1:338de0ca682ca95d3f6185459e11540c37dd8a2a</id>
<content type='text'>
This patch use gpio_set_debounce() API provided from gpiolib if SoC or device
driver with gpio support gpio_set_debounce() function.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
</feed>
