This is take 2 on the MEI bus + NFC Device patches addressing Arnd's comments
This patch set adds implementation of MEI BUS abstraction over MEI device, this allows standard Linux device drivers to access functionality exposed by MEI device that was previously available only to the user space through /dev/mei The first exercises is to export the NFC radio More information can be found under Documentation/misc-devices/mei/mei-bus.txt V2: 1. Rename mei_add_driver to mei_driver_register and mei_del_driver to mei_driver_unregister. 2. Do not inline the exported bus driver data setter and getter functions. 3. Include the bus ops pointers directly into mei_bus_client. 4. Move the mei_bus_init/exit call from probe to module init time. Samuel Ortiz (11): mei: bus: Initial MEI bus type implementation mei: bus: Implement driver registration mei: bus: Initial implementation for I/O routines mei: bus: Add bus related structures to mei_cl mei: bus: Call bus routines from the core code mei: bus: Synchronous API for the data transmission mei: bus: Implement bus driver data setter/getter mei: nfc: Initial nfc implementation mei: nfc: Connect also the regular ME client mei: nfc: Add NFC device to the MEI bus mei: nfc: Implement MEI bus IO ops Documentation/misc-devices/mei/mei-bus.txt | 137 ++++++++ drivers/misc/mei/Kconfig | 7 + drivers/misc/mei/Makefile | 2 + drivers/misc/mei/bus.c | 483 ++++++++++++++++++++++++++++ drivers/misc/mei/bus.h | 32 ++ drivers/misc/mei/client.c | 4 + drivers/misc/mei/init.c | 1 + drivers/misc/mei/interrupt.c | 2 + drivers/misc/mei/mei_dev.h | 79 +++++ drivers/misc/mei/nfc.c | 456 ++++++++++++++++++++++++++ drivers/misc/mei/nfc.h | 141 ++++++++ drivers/misc/mei/pci-me.c | 23 ++- include/linux/mei_bus.h | 108 ++++++ 13 files changed, 1473 insertions(+), 2 deletions(-) create mode 100644 Documentation/misc-devices/mei/mei-bus.txt create mode 100644 drivers/misc/mei/bus.c create mode 100644 drivers/misc/mei/bus.h create mode 100644 drivers/misc/mei/nfc.c create mode 100644 drivers/misc/mei/nfc.h create mode 100644 include/linux/mei_bus.h -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/