<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/extcon, branch linux-4.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.16.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2018-04-24T07:42:57Z</updated>
<entry>
<title>extcon: intel-cht-wc: Set direction and drv flags for V5 boost GPIO</title>
<updated>2018-04-24T07:42:57Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2018-02-19T13:20:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f6b3a6ce0e6cd38afb61a5f55a138eb9b46d34e7'/>
<id>urn:sha1:f6b3a6ce0e6cd38afb61a5f55a138eb9b46d34e7</id>
<content type='text'>
commit ad49aee401dd1997ec71360df6e51a91ad3cf516 upstream.

Sometimes (firmware bug?) the V5 boost GPIO is not configured as output
by the BIOS, leading to the 5V boost convertor being permanently on,

Explicitly set the direction and drv flags rather then inheriting them
from the firmware to fix this.

Fixes: 585cb239f4de ("extcon: intel-cht-wc: Disable external 5v boost ...")
Cc: stable@vger.kernel.org
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>extcon: int3496: process id-pin first so that we start with the right status</title>
<updated>2018-02-13T21:37:33Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2018-02-13T19:25:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0434352d3d2e950cf5e743f6062abd87de22f960'/>
<id>urn:sha1:0434352d3d2e950cf5e743f6062abd87de22f960</id>
<content type='text'>
Some other drivers may be waiting for our extcon to show-up, exiting their
probe methods with -EPROBE_DEFER until we show up.

These drivers will typically get the cable state directly after getting
the extcon, this commit changes the int3496 code to wait for the initial
processing of the id-pin to complete before exiting probe() with 0, which
will cause devices waiting on the defered probe to get reprobed.

This fixes a race where the initial work might still be running while other
drivers were already calling extcon_get_state().

Fixes: 2f556bdb9f2e ("extcon: int3496: Add Intel INT3496 ACPI ... driver")
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>Revert "extcon: axp288: Redo charger type detection a couple of seconds after probe()"</title>
<updated>2018-02-12T21:49:44Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2018-02-12T19:46:29Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d82e233cee26ceacb9feb937a21bfb61b1826860'/>
<id>urn:sha1:d82e233cee26ceacb9feb937a21bfb61b1826860</id>
<content type='text'>
Redoing the charger type detection to give the usb-role-switch code time
to properly set the role-switch is no good for mainline, since the
usb-role-switch code is not yet in mainline (my bad, sorry).

Also once we've that code there are better ways to fix this which are
not prone to racing as doing a retry after 2 seconds is.

This reverts commit 50082c17bb1455acacd376ae30dff92f2e1addbd.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: axp288: Constify the axp288_pwr_up_down_info array</title>
<updated>2018-02-12T21:49:44Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2018-02-12T19:46:28Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5b4e64beb6ab40f5d8b44500fe0fc201c25a0f16'/>
<id>urn:sha1:5b4e64beb6ab40f5d8b44500fe0fc201c25a0f16</id>
<content type='text'>
Make the axp288_pwr_up_down_info array const char * const, this leads
to the following section size changes:

.text     0x674 -&gt; 0x664
.data     0x148 -&gt; 0x0f0
.rodata   0x0b4 -&gt; 0x114

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: axp288: Handle reserved charger-type values better</title>
<updated>2018-01-03T01:12:59Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2017-12-22T12:36:16Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ca90a64dc671f4a18958078a4bf2e31e2ef57db9'/>
<id>urn:sha1:ca90a64dc671f4a18958078a4bf2e31e2ef57db9</id>
<content type='text'>
According to the data sheets all the values not handled in the
switch-case are "reserved". Update the dev_warn message to reflect
this and set the cable-type to EXTCON_CHG_USB_SDP (so max 500mA
current draw) as safe default.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: axp288: Redo charger type detection a couple of seconds after probe()</title>
<updated>2018-01-03T01:12:57Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2017-12-22T12:36:15Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=60ed99961469a3683b52d09bc0771053fb484ae0'/>
<id>urn:sha1:60ed99961469a3683b52d09bc0771053fb484ae0</id>
<content type='text'>
The axp288 extcon code depends on other drivers to do things like mux the
data lines, enable/disable vbus based on the id-pin, etc.

Sometimes the BIOS has not set these things up correctly resulting in the
initial charger cable type detection giving a wrong result and we end up
not charging or charging at only 0.5A.

This commit starts a second charger-detection cycle a couple of seconds
after the first one finishes, giving the other drivers time to load and
do their thing.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ib-extcon-mfd-4.16' into extcon-next</title>
<updated>2018-01-03T01:12:07Z</updated>
<author>
<name>Chanwoo Choi</name>
<email>cw00.choi@samsung.com</email>
</author>
<published>2018-01-03T01:12:07Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d61b814ab958cdd119eac76e9aa3455b908c51cd'/>
<id>urn:sha1:d61b814ab958cdd119eac76e9aa3455b908c51cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extcon: axp288: Remove unused platform data</title>
<updated>2018-01-03T01:11:02Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2017-12-30T16:04:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9bf317e900a19a857eb9921c9441a92e89f40415'/>
<id>urn:sha1:9bf317e900a19a857eb9921c9441a92e89f40415</id>
<content type='text'>
This is not used / set anywhere in the tree.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Acked-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: axp288: Remove unused extcon_nb struct member</title>
<updated>2018-01-03T01:11:00Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2017-12-22T12:36:13Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=10887fb0dbba483dd588f20e2929372093d49a69'/>
<id>urn:sha1:10887fb0dbba483dd588f20e2929372093d49a69</id>
<content type='text'>
Remove the unused extcon_nb struct member.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
<entry>
<title>extcon: axp288:: Handle return value of platform_get_irq</title>
<updated>2018-01-03T01:10:51Z</updated>
<author>
<name>Arvind Yadav</name>
<email>arvind.yadav.cs@gmail.com</email>
</author>
<published>2017-11-23T15:55:30Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=01e1429b877ece6576eb59b74f613b630f859478'/>
<id>urn:sha1:01e1429b877ece6576eb59b74f613b630f859478</id>
<content type='text'>
platform_get_irq() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav &lt;arvind.yadav.cs@gmail.com&gt;
Signed-off-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
</content>
</entry>
</feed>
