<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/extcon, branch v4.7</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.7</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.7'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2016-06-15T08:17:22Z</updated>
<entry>
<title>extcon: palmas: Fix boot up state of VBUS when using GPIO detection</title>
<updated>2016-06-15T08:17:22Z</updated>
<author>
<name>Roger Quadros</name>
<email>rogerq@ti.com</email>
</author>
<published>2016-06-15T08:12:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=62e6d1e59c77316768a663d1328390b4cd33801f'/>
<id>urn:sha1:62e6d1e59c77316768a663d1328390b4cd33801f</id>
<content type='text'>
If USB cable is connected prior to boot, we don't get any interrupts
so we must manually check the VBUS state and report it during probe.
If we don't do it then USB controller will never know that peripheral
cable was connected till the user unplugs and replugs the cable.

Fixes: b7aad8e2685b ("extcon: palmas: Add the support for VBUS detection by using GPIO")
Cc: stable@vger.kernel.org
Signed-off-by: Roger Quadros &lt;rogerq@ti.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: palmas: Drop stray IRQF_EARLY_RESUME flag</title>
<updated>2016-04-03T23:32:45Z</updated>
<author>
<name>Nishanth Menon</name>
<email>nm@ti.com</email>
</author>
<published>2016-04-01T13:52:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f75587b8ca69768c6cf8a38a0b61e68e1bea3d36'/>
<id>urn:sha1:f75587b8ca69768c6cf8a38a0b61e68e1bea3d36</id>
<content type='text'>
Palmas extcon IRQs are nested threaded and wired to the Palmas
interrupt controller. So, this flag is not required for nested
IRQs anymore, since commit 3c646f2c6aa9 ("genirq: Don't suspend
nested_thread irqs over system suspend") was merged. However, the
fix in commit ae64e42cc2b3 ("extcon: palmas: Drop IRQF_EARLY_RESUME
flag") missed a stray flag causing the following crash on resume on
BeagleBoard-X15 platform:

[   53.670141] Unhandled fault: imprecise external abort (0x1406) at 0x00000000
[..]
[   53.670141] [&lt;c04ae734&gt;] (omap_set_gpio_triggering) from [&lt;c04aeb94&gt;] (omap_gpio_unmask_irq+0xc0/0xc4)
[   53.670141] [&lt;c04aeb94&gt;] (omap_gpio_unmask_irq) from [&lt;c01a0b88&gt;] (irq_enable+0x30/0x44)
[   53.670141] [&lt;c01a0b88&gt;] (irq_enable) from [&lt;c019ebd8&gt;] (__enable_irq+0x54/0x78)
[   53.670141] [&lt;c019ebd8&gt;] (__enable_irq) from [&lt;c01a4e60&gt;] (resume_irqs+0xe8/0x100)
[   53.670141] [&lt;c01a4e60&gt;] (resume_irqs) from [&lt;c0514840&gt;] (syscore_resume+0x94/0x298)
[   53.670141] [&lt;c0514840&gt;] (syscore_resume) from [&lt;c01981cc&gt;] (suspend_devices_and_enter+0x790/0x9e4)
[   53.670141] [&lt;c01981cc&gt;] (suspend_devices_and_enter) from [&lt;c0198a60&gt;] (pm_suspend+0x640/0x75c)
[   53.670141] [&lt;c0198a60&gt;] (pm_suspend) from [&lt;c0196bec&gt;] (state_store+0x64/0xb8)
[   53.670141] [&lt;c0196bec&gt;] (state_store) from [&lt;c0307944&gt;] (kernfs_fop_write+0xc0/0x1bc)
[   53.670141] [&lt;c0307944&gt;] (kernfs_fop_write) from [&lt;c028acb0&gt;] (__vfs_write+0x1c/0xd8)
[   53.670141] [&lt;c028acb0&gt;] (__vfs_write) from [&lt;c028bba0&gt;] (vfs_write+0x90/0x16c)
[   53.670141] [&lt;c028bba0&gt;] (vfs_write) from [&lt;c028c8c0&gt;] (SyS_write+0x44/0x9c)
[   53.670141] [&lt;c028c8c0&gt;] (SyS_write) from [&lt;c0107840&gt;] (ret_fast_syscall+0x0/0x1c)
[..]

Fixes: ae64e42cc2b3 ("extcon: palmas: Drop IRQF_EARLY_RESUME flag")
Cc: Grygorii Strashko &lt;grygorii.strashko@ti.com&gt;
Cc: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Cc: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Cc: Tony Lindgren &lt;tony@atomide.com&gt;
Cc: Lee Jones &lt;lee.jones@linaro.org&gt;
Cc: Roger Quadros &lt;rogerq@ti.com&gt;

Reviewed-by: Grygorii Strashko &lt;grygorii.strashko@ti.com&gt;
Signed-off-by: Nishanth Menon &lt;nm@ti.com&gt;
Acked-by: Roger Quadros &lt;rogerq@ti.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: palmas: Drop IRQF_EARLY_RESUME flag</title>
<updated>2016-02-29T02:07:34Z</updated>
<author>
<name>Grygorii Strashko</name>
<email>grygorii.strashko@ti.com</email>
</author>
<published>2016-02-26T15:42:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ae64e42cc2b3a17ac0c11815f53211093a54cf55'/>
<id>urn:sha1:ae64e42cc2b3a17ac0c11815f53211093a54cf55</id>
<content type='text'>
Palams extcon IRQs are nested threaded and wired to the Palmas
inerrupt controller. So, this flag is not required for nested irqs
anymore, since commit 3c646f2c6aa9 ("genirq: Don't suspend
nested_thread irqs over system suspend") was merged.

Cc: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Cc: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Cc: Tony Lindgren &lt;tony@atomide.com&gt;
Cc: Lee Jones &lt;lee.jones@linaro.org&gt;
Cc: Roger Quadros &lt;rogerq@ti.com&gt;
Cc: Nishanth Menon &lt;nm@ti.com&gt;
Signed-off-by: Grygorii Strashko &lt;grygorii.strashko@ti.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: palmas: Add the support for VBUS detection by using GPIO</title>
<updated>2016-02-05T05:15:31Z</updated>
<author>
<name>Felipe Balbi</name>
<email>balbi@ti.com</email>
</author>
<published>2015-12-30T00:55:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b7aad8e2685b0aa58295bc4250c8476c9c7193eb'/>
<id>urn:sha1:b7aad8e2685b0aa58295bc4250c8476c9c7193eb</id>
<content type='text'>
This patch support for VBUS detection by using GPIO pin.

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Acked-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>extcon: max77843: Use correct size for reading the interrupt register</title>
<updated>2016-02-05T02:37:26Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2016-02-04T11:36:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c4924e92442d7218bd725e47fa3988c73aae84c9'/>
<id>urn:sha1:c4924e92442d7218bd725e47fa3988c73aae84c9</id>
<content type='text'>
The info-&gt;status[] array has 3 elements.  We are using size
MAX77843_MUIC_IRQ_NUM (16) instead of MAX77843_MUIC_STATUS_NUM (3) as
intended.

Fixes: 135d9f7d135a ('extcon: max77843: Clear IRQ bits state before request IRQ')
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: Jaewon Kim &lt;jaewon02.kim@samsung.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
[cw00.choi: Modify the patch title]
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: arizona: Use DAPM mutex helper functions</title>
<updated>2016-01-25T04:16:53Z</updated>
<author>
<name>Charles Keepax</name>
<email>ckeepax@opensource.wolfsonmicro.com</email>
</author>
<published>2015-12-29T16:32:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=03bf1adbd68d349eaccf16d42e0ef7e368c3716a'/>
<id>urn:sha1:03bf1adbd68d349eaccf16d42e0ef7e368c3716a</id>
<content type='text'>
We should be using the helper functions to lock the DAPM mutex not
accessing it directly. There are no ill effects of this as the moment
but it is best practice, and the implementation could be changed in the
future.

Signed-off-by: Charles Keepax &lt;ckeepax@opensource.wolfsonmicro.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: Add the EXTCON_CHG_USB_SDP to support SDP charing port</title>
<updated>2016-01-25T04:16:53Z</updated>
<author>
<name>Chanwoo Choi</name>
<email>cw00.choi@samsung.com</email>
</author>
<published>2015-11-09T01:10:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8b45b6a0741678902810d7be95e635c210fbb198'/>
<id>urn:sha1:8b45b6a0741678902810d7be95e635c210fbb198</id>
<content type='text'>
This patch adds the new EXTCON_CHG_USB_SDP connector to support SDP (Standard
Downstream Port) USB charging port. The commit 11eecf910bd8 ("extcon: Modify
the id and name of external connector") add the new EXTCON_CHG_USB_SDP
connector which support the both data transfer and usb charging at the same
time.

Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: gpio: Fix typo in comment</title>
<updated>2016-01-25T04:16:53Z</updated>
<author>
<name>Moritz Fischer</name>
<email>moritz.fischer@ettus.com</email>
</author>
<published>2015-12-24T05:34:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b51b387020ee1c2bc27bf9121ca9b9d4113e433d'/>
<id>urn:sha1:b51b387020ee1c2bc27bf9121ca9b9d4113e433d</id>
<content type='text'>
This patch fixes the typo in comment of extcon-gpio.c driver.
- 'interrput' -&gt; 'interrupt'

Signed-off-by: Moritz Fischer &lt;moritz.fischer@ettus.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: Use to_i2c_client for both rt8973a and sm5502</title>
<updated>2016-01-25T04:16:53Z</updated>
<author>
<name>Geliang Tang</name>
<email>geliangtang@163.com</email>
</author>
<published>2015-12-28T15:00:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d58593426e5cf41009f2e9d6eec3f47fe0cbedeb'/>
<id>urn:sha1:d58593426e5cf41009f2e9d6eec3f47fe0cbedeb</id>
<content type='text'>
Use to_i2c_client() instead of open-coding it.

Signed-off-by: Geliang Tang &lt;geliangtang@163.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: add Maxim MAX3355 driver</title>
<updated>2015-12-21T02:44:00Z</updated>
<author>
<name>Sergei Shtylyov</name>
<email>sergei.shtylyov@cogentembedded.com</email>
</author>
<published>2015-12-18T23:17:41Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=08a0a4f987a4b5827e4111eccc97a9271d24633e'/>
<id>urn:sha1:08a0a4f987a4b5827e4111eccc97a9271d24633e</id>
<content type='text'>
Maxim Integrated MAX3355E chip integrates a charge pump and comparators to
enable a system with an integrated USB OTG dual-role transceiver to
function as an USB OTG dual-role device. In addition to sensing/controlling
Vbus, the chip also passes thru the ID signal from the USB OTG connector.
On some Renesas boards, this signal is just fed into the SoC thru a GPIO
pin -- there's no real OTG controller, only host and gadget USB controllers
sharing the same USB bus; however, we'd like to allow host or gadget
drivers to be loaded depending on the cable type, hence the need for the
MAX3355 extcon driver. The Vbus status signals are also wired to GPIOs
(however, we aren't currently interested in them), the OFFVBUS# signal is
controlled by the host controllers, there's also the SHDN# signal wired to
a GPIO, it should be driven high for the normal operation.

Signed-off-by: Sergei Shtylyov &lt;sergei.shtylyov@cogentembedded.com&gt;
Acked-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Acked-by: Rob Herring &lt;robh@kernel.org&gt;
[cw00.choi: Add the GPIOLIB dependency]
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
</feed>
