From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753665AbbCBEja (ORCPT ); Sun, 1 Mar 2015 23:39:30 -0500 Received: from ring0.de ([5.45.105.125]:39661 "EHLO ring0.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753264AbbCBEj2 (ORCPT ); Sun, 1 Mar 2015 23:39:28 -0500 X-Spam-Report: * 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. * See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block * for more information. * [URIs: lkml.org] * -0.0 NO_RELAYS Informational: message was not relayed via SMTP * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 NO_RECEIVED Informational: message has no Received headers From: Sebastian Reichel To: Sebastian Reichel Cc: Peter Ujfalusi , Kai Vehmanen , Pavel Machek , Pali Rohar , Aaro Koskinen , Ivaylo Dimitrov , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org Subject: [PATCH 0/9] N900 Modem Speech Support Date: Mon, 2 Mar 2015 05:38:50 +0100 Message-Id: <1425271139-24715-1-git-send-email-sre@kernel.org> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patchset contains the missing speech data support for the Nokia N900 modem. Userland access goes via /dev/cmt_speech. The API is implemented in libcmtspeechdata, which is used by ofono and the freesmartphone.org project. Apart from that the device is also used by the phone binaries distributed with Maemo. So while this is a new userland ABI for the mainline kernel it has been tested in the wild for some years. Simple Testing of the API can be done by checking out libcmtspeechdata [0], building the test tool and executing it. The tool will loop back audio data received from the caller. I have prepared a kernel branch, which includes these changes at [1]. [0] https://lkml.org/lkml/2015/2/11/526 [1] git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi.git branch/cmt-speech -- Sebastian Kai Vehmanen (3): HSI: cmt_speech: Add cmt-speech driver HSI: cmt_speech: Avoid GFP_ATOMIC in cs_char_open HSI: cmt_speech: Return error if HSI port not configured Sebastian Reichel (6): HSI: cmt_speech: Fix build for 4.0 kernel HSI: cmt_speech: Cleanup initialisation HSI: cmt_speech: Rename driver to cmt-speech HSI: cmt_speech: Move cs-protocol.h to include/uapi/linux/hsi HSI: cmt_speech: Remove hardcoded channel numbers HSI: nokia-modem: Add cmt_speech support drivers/hsi/clients/Kconfig | 11 +- drivers/hsi/clients/Makefile | 1 + drivers/hsi/clients/cmt_speech.c | 1451 ++++++++++++++++++++++++++++++++++ drivers/hsi/clients/nokia-modem.c | 31 +- include/uapi/linux/hsi/Kbuild | 2 +- include/uapi/linux/hsi/cs-protocol.h | 113 +++ 6 files changed, 1606 insertions(+), 3 deletions(-) create mode 100644 drivers/hsi/clients/cmt_speech.c create mode 100644 include/uapi/linux/hsi/cs-protocol.h -- 2.1.4