<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/w1/masters/w1-gpio.c, branch v4.8-rc3</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v4.8-rc3</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v4.8-rc3'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2015-10-18T04:45:05+00:00</updated>
<entry>
<title>W1: w1-gpio - switch to using dev_pm_ops</title>
<updated>2015-10-18T04:45:05+00:00</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2015-10-17T18:39:40+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=36fccce0e82a5ccd1c7f3861398f3303bff4669a'/>
<id>urn:sha1:36fccce0e82a5ccd1c7f3861398f3303bff4669a</id>
<content type='text'>
Let's stop using legacy platform driver hooks for power management and
switch to using the standard dev_pm_ops-based hooks.

Also, instead of guarding PM methods with #ifdef CONFIG_PM annotate them
as __maybe_unused as it provides better compile coverage.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: constify of_device_id array</title>
<updated>2015-03-25T11:25:29+00:00</updated>
<author>
<name>Fabian Frederick</name>
<email>fabf@skynet.be</email>
</author>
<published>2015-03-16T19:20:29+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=0a56c0e1e7ad4dc3721e96c499f3074cb6867cfe'/>
<id>urn:sha1:0a56c0e1e7ad4dc3721e96c499f3074cb6867cfe</id>
<content type='text'>
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)

Signed-off-by: Fabian Frederick &lt;fabf@skynet.be&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1: masters: drop owner assignment from platform_drivers</title>
<updated>2014-10-20T14:21:56+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2014-10-20T14:21:56+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=ce882ad3c93fc076457ce9b97c19735b52b88c45'/>
<id>urn:sha1:ce882ad3c93fc076457ce9b97c19735b52b88c45</id>
<content type='text'>
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>w1-gpio: handle of_get_gpio() returning -EPROBE_DEFER better</title>
<updated>2014-02-15T20:08:38+00:00</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2014-02-13T22:05:28+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=0b336cea56ccd9949dc9bd6f24bd3bb9d212ffad'/>
<id>urn:sha1:0b336cea56ccd9949dc9bd6f24bd3bb9d212ffad</id>
<content type='text'>
of_get_gpio() might return -EPROBE_DEFER meaning that the driver
providing the gpio isn't ready yet. If that happens for the first gpio
the resulting kernel output without this patch is:

	w1-gpio somename: Failed to parse DT
	platform somename: Driver w1-gpio requests probe deferral

The first message is misleading and so is suppressed with this patch.

Further if determining the gpio to switch the external pullup yields
-EPROBE_DEFER this error should be passed back to the caller instead of
just continuing without pullup.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/w1/masters/w1-gpio.c: add strong pullup emulation</title>
<updated>2014-01-24T00:37:04+00:00</updated>
<author>
<name>Evgeny Boger</name>
<email>boger@contactless.ru</email>
</author>
<published>2014-01-23T23:56:18+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=3089a4c8d3abc7e2ab105d1d39d415110d1566d6'/>
<id>urn:sha1:3089a4c8d3abc7e2ab105d1d39d415110d1566d6</id>
<content type='text'>
Strong pullup is emulated by driving pin logic high after write command
when using tri-state push-pull GPIO.

Signed-off-by: Evgeny Boger &lt;boger@contactless.ru&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Acked-by: David Fries &lt;david@fries.net&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/w1/masters/w1-gpio.c: use dev_get_platdata()</title>
<updated>2013-11-15T00:32:21+00:00</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-11-14T22:32:04+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c853b167e6ec1f25023cfc58ba2f43f9f6f5b49b'/>
<id>urn:sha1:c853b167e6ec1f25023cfc58ba2f43f9f6f5b49b</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;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>w1-gpio: Use devm_* functions</title>
<updated>2013-10-29T23:58:18+00:00</updated>
<author>
<name>Markus Pargmann</name>
<email>mpa@pengutronix.de</email>
</author>
<published>2013-10-29T08:19:24+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d27f25c9c216dc9f9a320fe78f729aebdebcae50'/>
<id>urn:sha1:d27f25c9c216dc9f9a320fe78f729aebdebcae50</id>
<content type='text'>
Signed-off-by: Markus Pargmann &lt;mpa@pengutronix.de&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1-gpio: Detect of_gpio_error for first gpio</title>
<updated>2013-10-29T23:58:18+00:00</updated>
<author>
<name>Markus Pargmann</name>
<email>mpa@pengutronix.de</email>
</author>
<published>2013-10-29T08:19:23+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7cf1a122b2f3bda5af837a2dbd7564f695301af0'/>
<id>urn:sha1:7cf1a122b2f3bda5af837a2dbd7564f695301af0</id>
<content type='text'>
The first DT gpio is necessary for this driver, but errors returned for
of_get_gpio are ignored.

This patch adds a return value check for the first of_get_gpio.

Signed-off-by: Markus Pargmann &lt;mpa@pengutronix.de&gt;
Acked-by: Evgeniy Polyakov &lt;zbr@ioremap.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1-gpio: Let device core handle pinctrl</title>
<updated>2013-05-21T17:07:54+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2013-05-20T13:16:39+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5e6e78e27a27179bb80545a2a55b8c3ae667aed8'/>
<id>urn:sha1:5e6e78e27a27179bb80545a2a55b8c3ae667aed8</id>
<content type='text'>
Since commit ab78029 (drivers/pinctrl: grab default handles from device core)
we can rely on device core for handling pinctrl, so remove
devm_pinctrl_get_select_default() from the driver.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>w1-gpio: fix unused variable warning</title>
<updated>2013-03-12T23:20:46+00:00</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2013-03-08T10:08:00+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=34ccd8738e34180af34544d2bdd053e60e44a224'/>
<id>urn:sha1:34ccd8738e34180af34544d2bdd053e60e44a224</id>
<content type='text'>
Commit 8a1861d997 ("w1-gpio: Simplify &amp; get rid of defines") removed the
compile guards from the device-tree id table, thereby generating a
warning when building without device-tree support.

Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
