From patchwork Sun Jan 17 15:49:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 8050771 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F1D8C9F6FA for ; Sun, 17 Jan 2016 15:49:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 19ECB20266 for ; Sun, 17 Jan 2016 15:49:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 28E0420260 for ; Sun, 17 Jan 2016 15:49:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750950AbcAQPt2 (ORCPT ); Sun, 17 Jan 2016 10:49:28 -0500 Received: from ring0.de ([5.45.101.7]:58870 "EHLO ring0.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750834AbcAQPt0 (ORCPT ); Sun, 17 Jan 2016 10:49:26 -0500 Received: by ring0.de (Postfix, from userid 110) id BD8D0A4A5D1; Sun, 17 Jan 2016 16:49:22 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Relay-Country: Received: from sre.ring0.de (dyndsl-031-150-140-084.ewe-ip-backbone.de [31.150.140.84]) by ring0.de (Postfix) with ESMTPSA id 2FA20A4A5C6; Sun, 17 Jan 2016 16:49:17 +0100 (CET) From: Sebastian Reichel To: Sebastian Reichel , Tony Lindgren , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Paul Walmsley , Aaro Koskinen Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] Nokia N950 modem support Date: Sun, 17 Jan 2016 16:49:04 +0100 Message-Id: <1453045749-22642-1-git-send-email-sre@kernel.org> X-Mailer: git-send-email 2.7.0.rc3 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, This patchset adds support for the N950 modem. Afterwards it can be used with ofono in the same way, that the N900's modem can be used [0]. In addition to the kernel patchset, ofono must be modified slightly, though. The cbs interface from the N950 modem seems to be broken resulting in modem reset. The below ofono patch is enough to get it running for the N950. [0] https://lkml.org/lkml/2014/5/10/167 -- Sebastian --- Sebastian Reichel (5): ARM: OMAP2+: hwmod data: Add SSI data for omap36xx ARM: dts: OMAP3-N950-N9: Enable SSI module HSI: nokia-modem: add n950 and n9 support HSI: ssi-protocol: Use handshake logic from n950 ARM: dts: OMAP3-N950-N9: Enable modem .../devicetree/bindings/hsi/nokia-modem.txt | 12 ++-- arch/arm/boot/dts/omap3-n9.dts | 4 ++ arch/arm/boot/dts/omap3-n950-n9.dtsi | 64 ++++++++++++++++++++++ arch/arm/boot/dts/omap3-n950.dts | 4 ++ arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 13 +++-- drivers/hsi/clients/nokia-modem.c | 2 + drivers/hsi/clients/ssi_protocol.c | 16 ++---- 7 files changed, 93 insertions(+), 22 deletions(-) diff --git a/plugins/n900.c b/plugins/n900.c index 44e2e75df3d9..1454d010cb2c 100644 --- a/plugins/n900.c +++ b/plugins/n900.c @@ -507,7 +507,7 @@ static void n900_post_online(struct ofono_modem *modem) ofono_netreg_create(modem, 0, "isimodem", isi->modem); ofono_sms_create(modem, 0, "isimodem", isi->modem); - ofono_cbs_create(modem, 0, "isimodem", isi->modem); + //ofono_cbs_create(modem, 0, "isimodem", isi->modem); ofono_ussd_create(modem, 0, "isimodem", isi->modem); ofono_call_settings_create(modem, 0, "isimodem", isi->modem); ofono_call_barring_create(modem, 0, "isimodem", isi->modem);