aboutsummaryrefslogtreecommitdiff
path: root/include/linux/hsi
AgeCommit message (Collapse)AuthorFilesLines
2023-05-20HSI: fix ssi_waketest() declarationArnd Bergmann1-0/+1
The ssi_waketest() function definition causes a 'make W=1' warning because the declaration is hidden away in ssi_protocol.c: drivers/hsi/controllers/omap_ssi_core.c:147:6: error: no previous prototype for 'ssi_waketest' Move it into a header file instead. Fixes: dc7bf5d71868 ("HSI: Introduce driver for SSI Protocol") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336Thomas Gleixner2-28/+2
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 51 franklin st fifth floor boston ma 02110 1301 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 246 file(s). Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Alexios Zavras <[email protected]> Reviewed-by: Allison Randal <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2016-06-28HSI: core: switch port event notifier from atomic to blockingSebastian Reichel1-1/+1
port events should be sent from process context after irq_safe runtime pm flag is removed in omap-ssi. Signed-off-By: Sebastian Reichel <[email protected]> Tested-by: Pavel Machek <[email protected]>
2015-11-21HSI: Remove struct hsi_client private fields from kernel-docJavier Martinez Canillas1-3/+0
The kernel-doc how to says that structure fields that are inside a "private:" area shouldn't be listed in the generated documentation but the private fields for struct hsi_client private are listed. This also fixes the following make htmldocs warnings: .//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'e_handler' description in 'hsi_client' .//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'pclaimed' description in 'hsi_client' .//include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'nb' description in 'hsi_client' Signed-off-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
2015-02-27Documentation: Add "@" in front of private structure members.Robert P. J. Day1-3/+3
Even "private" structure members need a leading "@" in their kernel-doc; otherwise, they will be treated as new section names in the resulting manual. Signed-off-by: Robert P. J. Day <[email protected]> Acked-by: Randy Dunlap <[email protected]> Acked-By: Sebastian Reichel <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
2014-05-16HSI: Introduce driver for SSI ProtocolSebastian Reichel1-0/+42
This adds a driver for the SSI McSAAB protocol as used in the Nokia N900. Signed-off-by: Carlos Chinea <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]> Tested-By: Ivaylo Dimitrov <[email protected]>
2014-05-16HSI: Add common DT binding for HSI client devicesSebastian Reichel1-0/+11
Implement and document generic DT bindings for HSI clients. Signed-off-by: Sebastian Reichel <[email protected]> Reviewed-by: Pavel Machek <[email protected]> Tested-By: Ivaylo Dimitrov <[email protected]>
2014-05-16HSI: export method to (un)register clientsSebastian Reichel1-0/+3
Expose method for registering and unregistering HSI clients, so that client drivers can register other client drivers. This is useful for HSI drivers, which want to use the functionality of other HSI drivers. For example the N900 modem driver can load HSI drivers for mcsaab protocol and speech protocol. Signed-off-by: Sebastian Reichel <[email protected]> Reviewed-by: Pavel Machek <[email protected]> Tested-By: Ivaylo Dimitrov <[email protected]>
2014-05-16HSI: Add channel resource support to HSI clientsSebastian Reichel1-4/+20
Make HSI channel ids platform data, which can be provided by platform data. Signed-off-by: Sebastian Reichel <[email protected]> Tested-By: Ivaylo Dimitrov <[email protected]>
2014-05-16HSI: method to unregister clients from an hsi portSebastian Reichel1-0/+1
This exports a method to unregister all clients from an hsi port. Signed-off-by: Sebastian Reichel <[email protected]> Reviewed-by: Pavel Machek <[email protected]> Tested-By: Ivaylo Dimitrov <[email protected]>
2014-02-19treewide: Fix typo in Documentation/DocBookMasanari Iida1-1/+1
This patch fix spelling typo in Documentation/DocBook. It is because .html and .xml files are generated by make htmldocs, I have to fix a typo within the source files. Signed-off-by: Masanari Iida <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
2013-03-01hsi: fix kernel-doc warningsRandy Dunlap1-3/+3
Fix kernel-doc warnings in hsi files: Warning(include/linux/hsi/hsi.h:136): Excess struct/union/enum/typedef member 'e_handler' description in 'hsi_client' Warning(include/linux/hsi/hsi.h:136): Excess struct/union/enum/typedef member 'pclaimed' description in 'hsi_client' Warning(include/linux/hsi/hsi.h:136): Excess struct/union/enum/typedef member 'nb' description in 'hsi_client' Warning(drivers/hsi/hsi.c:434): No description found for parameter 'handler' Warning(drivers/hsi/hsi.c:434): Excess function parameter 'cb' description in 'hsi_register_port_event' Don't document "private:" fields with kernel-doc notation. If you want to leave them fully documented, that's OK, but then don't mark them as "private:". Signed-off-by: Randy Dunlap <[email protected]> Cc: Carlos Chinea <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: [email protected] Cc: [email protected] Acked-by: Nishanth Menon <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2013-01-02UAPI: Remove empty Kbuild filesDavid Howells1-0/+0
Empty files can get deleted by the patch program, so remove empty Kbuild files and their links from the parent Kbuilds. Signed-off-by: David Howells <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2012-10-09UAPI: (Scripted) Disintegrate include/linux/hsiDavid Howells2-64/+0
Signed-off-by: David Howells <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Acked-by: Michael Kerrisk <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Acked-by: Dave Jones <[email protected]>
2012-04-23HSI: hsi: Rework hsi_event interfaceCarlos Chinea1-11/+14
Remove custom hack and make use of the notifier chain interfaces for delivering events from the ports to their associated clients. Clients that want to receive port events need to register their callbacks using hsi_register_port_event(). The callbacks can be called in interrupt context. Use hsi_unregestier_port_event() to undo the registration. Signed-off-by: Carlos Chinea <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Acked-by: Linus Walleij <[email protected]>
2012-04-23HSI: hsi: Rework hsi_controller releaseCarlos Chinea1-3/+3
Use the proper release mechanism for hsi_controller and hsi_ports structures. Free the structures through their associated device release callbacks. Signed-off-by: Carlos Chinea <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Acked-by: Linus Walleij <[email protected]>
2012-01-05HSI: hsi_char: Add HSI char device kernel configurationAndras Domokos1-0/+1
Add HSI character device kernel configuration Signed-off-by: Andras Domokos <[email protected]> Signed-off-by: Carlos Chinea <[email protected]>
2012-01-05HSI: hsi_char: Add HSI char device driverAndras Domokos1-0/+63
Add HSI char device driver to the kernel. Signed-off-by: Andras Domokos <[email protected]> Signed-off-by: Carlos Chinea <[email protected]>
2012-01-05HSI: hsi: Introducing HSI frameworkCarlos Chinea1-0/+410
Adds HSI framework in to the linux kernel. High Speed Synchronous Serial Interface (HSI) is a serial interface mainly used for connecting application engines (APE) with cellular modem engines (CMT) in cellular handsets. HSI provides multiplexing for up to 16 logical channels, low-latency and full duplex communication. Signed-off-by: Carlos Chinea <[email protected]> Acked-by: Linus Walleij <[email protected]>