diff options
| author | Sebastian Reichel <sre@kernel.org> | 2013-11-15 05:50:32 -0500 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2014-05-15 18:55:30 -0400 |
| commit | dc7bf5d7186849aa36b9f0e42e250a813a7b0bdb (patch) | |
| tree | 24aec89222a89850c98c187b826360c69df128ac /include/linux | |
| parent | dc9df3154c082873591acf95036632e97215212e (diff) | |
HSI: Introduce driver for SSI Protocol
This adds a driver for the SSI McSAAB protocol as used in
the Nokia N900.
Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Tested-By: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hsi/ssi_protocol.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/include/linux/hsi/ssi_protocol.h b/include/linux/hsi/ssi_protocol.h new file mode 100644 index 000000000000..1433651be0dc --- /dev/null +++ b/include/linux/hsi/ssi_protocol.h | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | /* | ||
| 2 | * ssip_slave.h | ||
| 3 | * | ||
| 4 | * SSIP slave support header file | ||
| 5 | * | ||
| 6 | * Copyright (C) 2010 Nokia Corporation. All rights reserved. | ||
| 7 | * | ||
| 8 | * Contact: Carlos Chinea <carlos.chinea@nokia.com> | ||
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or | ||
| 11 | * modify it under the terms of the GNU General Public License | ||
| 12 | * version 2 as published by the Free Software Foundation. | ||
| 13 | * | ||
| 14 | * This program is distributed in the hope that it will be useful, but | ||
| 15 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 17 | * General Public License for more details. | ||
| 18 | * | ||
| 19 | * You should have received a copy of the GNU General Public License | ||
| 20 | * along with this program; if not, write to the Free Software | ||
| 21 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
| 22 | * 02110-1301 USA | ||
| 23 | */ | ||
| 24 | |||
| 25 | #ifndef __LINUX_SSIP_SLAVE_H__ | ||
| 26 | #define __LINUX_SSIP_SLAVE_H__ | ||
| 27 | |||
| 28 | #include <linux/hsi/hsi.h> | ||
| 29 | |||
| 30 | static inline void ssip_slave_put_master(struct hsi_client *master) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | struct hsi_client *ssip_slave_get_master(struct hsi_client *slave); | ||
| 35 | int ssip_slave_start_tx(struct hsi_client *master); | ||
| 36 | int ssip_slave_stop_tx(struct hsi_client *master); | ||
| 37 | void ssip_reset_event(struct hsi_client *master); | ||
| 38 | |||
| 39 | int ssip_slave_running(struct hsi_client *master); | ||
| 40 | |||
| 41 | #endif /* __LINUX_SSIP_SLAVE_H__ */ | ||
| 42 | |||
