iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Device links documentation
@ 2016-12-04 12:10 Lukas Wunner
       [not found] ` <cover.1480849144.git.lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Lukas Wunner @ 2016-12-04 12:10 UTC (permalink / raw)
  To: Rafael J. Wysocki, Greg Kroah-Hartman, Jonathan Corbet,
	Silvio Fricke
  Cc: Ulf Hansson, Tomasz Figa, Grant Likely, Andrzej Hajda,
	Laurent Pinchart, Hanjun Guo, Lars-Peter Clausen, Kevin Hilman,
	Mauro Carvalho Chehab,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	Krzysztof Kozlowski, Christoph Hellwig,
	linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA, Kukjin Kim,
	Geert Uytterhoeven, Alan Stern, Arnd Bergmann,
	Bartlomiej Zolnierkiewicz, Inki Dae, Mark Brown, g, Tomeu Vizoso,
	Dmitry Torokhov <dmitry.toro>

Here's my suggestion for initial documentation on the device links
feature that's queued for 4.10 on Greg KH's driver-core-next branch.
Please let me know if you have any additions or corrections.

To read this in rendered form:
http://wunner.de/kernel-doc/core-api/device_link.html

Patch [2/2] could go in via driver-core-next, but patch [1/2] would
need to go in via docs-next (because the core-api directory doesn't
exist yet in driver-core-next).

@Jonathan Corbet:  Is core-api the right place to put this? An
alternative would be Documentation/driver-api, but unlike core-api
it contains less prose text but mostly just bare API docs gleaned
from kernel-doc.


To render the documentation oneself, the device links patches need
to be merged from driver-core-next into docs-next.  Here's a branch
which contains all the necessary bits:
https://github.com/l1k/linux/commits/device_links_docs_v1

(The build is currently broken for docs-next, one needs to remove
80211.xml from Documentation/DocBook/Makefile and for some reason
$BUILDDIR/cec.h.rst is not found on the first build, but only on
the second build.)


About half of the documentation was distilled from the mailing list
discussion initiated by Luis Rodriguez after KS/LPC:
https://lkml.org/lkml/2016/11/7/790
https://lkml.org/lkml/2016/11/7/795
https://lkml.org/lkml/2016/11/8/899

The other half is based on the first draft I posted in September:
https://lkml.org/lkml/2016/9/27/215

Thanks,

Lukas


Lukas Wunner (2):
  Documentation/core-api/device_link: Add initial documentation
  driver core: Silence device links sphinx warning

 Documentation/core-api/device_link.rst | 279 +++++++++++++++++++++++++++++++++
 Documentation/core-api/index.rst       |   8 +
 drivers/base/core.c                    |   4 +-
 include/linux/device.h                 |   1 +
 4 files changed, 290 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/core-api/device_link.rst

-- 
2.10.2

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-12-06  1:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-04 12:10 [PATCH 0/2] Device links documentation Lukas Wunner
     [not found] ` <cover.1480849144.git.lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
2016-12-04 12:10   ` [PATCH 1/2] Documentation/core-api/device_link: Add initial documentation Lukas Wunner
2016-12-05 12:07     ` Mauro Carvalho Chehab
2016-12-05 13:05       ` Jonathan Corbet
     [not found]         ` <20161205060507.6bd6e944-T1hC0tSOHrs@public.gmane.org>
2016-12-05 13:36           ` Mauro Carvalho Chehab
2016-12-05 21:15     ` Jonathan Corbet
     [not found]     ` <f5b568e349aaeb31039a0c4d01fdb05d8b3bdd2a.1480849144.git.lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
2016-12-06  1:41       ` Luis R. Rodriguez
2016-12-04 12:10   ` [PATCH 2/2] driver core: Silence device links sphinx warning Lukas Wunner
2016-12-05 12:20     ` Mauro Carvalho Chehab
     [not found]       ` <20161205102030.2abae2b5-ch4gOOMV7nf/PtFMR13I2A@public.gmane.org>
2016-12-05 12:44         ` Lukas Wunner
     [not found]           ` <20161205124449.GA7539-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
2016-12-05 12:57             ` Mauro Carvalho Chehab
     [not found]     ` <a1c7a93ee8ef057fb70aa3abeed38daf989444fc.1480849144.git.lukas-JFq808J9C/izQB+pC5nmwQ@public.gmane.org>
2016-12-05 13:59       ` Greg Kroah-Hartman
2016-12-05 22:21     ` Rafael J. Wysocki
2016-12-05 12:03 ` [PATCH 0/2] Device links documentation Mauro Carvalho Chehab
2016-12-05 13:09 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).