]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Add support for XDomain properties
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 2 Oct 2017 10:38:30 +0000 (13:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Oct 2017 18:24:40 +0000 (11:24 -0700)
commit424e8b143fdc878da4166e07cdbcef9a1fc2250c
treee310d4cee7dd27f5fe7e56deb8cd8ad3e4903e00
parent3d4b5eed4cedd1847ec5d3c42fa80e739533d1f6
thunderbolt: Add support for XDomain properties

Thunderbolt XDomain discovery protocol uses directories which contain
properties and other directories to exchange information about what
capabilities the remote host supports. This also includes identification
information like device ID and name.

This adds support for parsing and formatting these properties and
establishes an API drivers can use in addition to the core Thunderbolt
driver. This API is exposed in a new header: include/linux/thunderbolt.h.

This code is based on the work done by Amir Levy and Michael Jamet.

Signed-off-by: Michael Jamet <michael.jamet@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/thunderbolt/Makefile
drivers/thunderbolt/property.c [new file with mode: 0644]
include/linux/thunderbolt.h [new file with mode: 0644]