From patchwork Tue Apr 21 23:27:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 211504 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B75B9C5518A for ; Tue, 21 Apr 2020 23:28:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8F652206D5 for ; Tue, 21 Apr 2020 23:28:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726436AbgDUX2I (ORCPT ); Tue, 21 Apr 2020 19:28:08 -0400 Received: from muru.com ([72.249.23.125]:50860 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725850AbgDUX2H (ORCPT ); Tue, 21 Apr 2020 19:28:07 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 3900A8081; Tue, 21 Apr 2020 23:28:54 +0000 (UTC) From: Tony Lindgren To: Greg Kroah-Hartman , Rob Herring Cc: Alan Cox , Lee Jones , Jiri Slaby , Johan Hovold , Merlijn Wajer , Pavel Machek , Peter Hurley , Sebastian Reichel , linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH 3/4] dt-bindings: serdev: motmdm: Add binding for motorola-mdm Date: Tue, 21 Apr 2020 16:27:51 -0700 Message-Id: <20200421232752.3070-4-tony@atomide.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200421232752.3070-1-tony@atomide.com> References: <20200421232752.3070-1-tony@atomide.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Add a binding document for Motorola modems controllable by TS 27.010 UART line discipline using serdev drivers. Reviewed-by: Rob Herring Reviewed-by: Pavel Machek [tony@atomide.com: moved to live under bindings/serdev] Signed-off-by: Tony Lindgren --- .../serdev/motorola,mapphone-mdm6600.yaml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/serdev/motorola,mapphone-mdm6600.yaml diff --git a/Documentation/devicetree/bindings/serdev/motorola,mapphone-mdm6600.yaml b/Documentation/devicetree/bindings/serdev/motorola,mapphone-mdm6600.yaml new file mode 100644 --- /dev/null +++ b/Documentation/devicetree/bindings/serdev/motorola,mapphone-mdm6600.yaml @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serdev/motorola,mapphone-mdm6600.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Motorola Mapphone MDM6600 Modem + +maintainers: + - Tony Lindgren + +properties: + compatible: + items: + - const: motorola,mapphone-mdm6600-serial + + phys: + maxItems: 1 + + phy-names: + const: usb + +required: + - compatible + - phys + - phy-names + +examples: + - | + modem { + compatible = "motorola,mapphone-mdm6600-serial"; + phys = <&fsusb1_phy>; + phy-names = "usb"; + }; From patchwork Tue Apr 21 23:27:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 211503 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27699C5518B for ; Tue, 21 Apr 2020 23:28:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0EDAC2072D for ; Tue, 21 Apr 2020 23:28:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726465AbgDUX2P (ORCPT ); Tue, 21 Apr 2020 19:28:15 -0400 Received: from muru.com ([72.249.23.125]:50880 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725850AbgDUX2K (ORCPT ); Tue, 21 Apr 2020 19:28:10 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 9543081BA; Tue, 21 Apr 2020 23:28:56 +0000 (UTC) From: Tony Lindgren To: Greg Kroah-Hartman , Rob Herring Cc: Alan Cox , Lee Jones , Jiri Slaby , Johan Hovold , Merlijn Wajer , Pavel Machek , Peter Hurley , Sebastian Reichel , linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH 4/4] ARM: dts: omap4-droid4: Enable basic modem support Date: Tue, 21 Apr 2020 16:27:52 -0700 Message-Id: <20200421232752.3070-5-tony@atomide.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200421232752.3070-1-tony@atomide.com> References: <20200421232752.3070-1-tony@atomide.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org This allows apps to use /dev/motmdm1 for voice call AT commands, /dev/motmdm3 for sending SMS, and /dev/motmdm9 for reading SMS. Voice call audio mixer and GNSS are not yet supported. Reviewed-by: Pavel Machek Tested-by: Pavel Machek Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/motorola-mapphone-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/motorola-mapphone-common.dtsi b/arch/arm/boot/dts/motorola-mapphone-common.dtsi --- a/arch/arm/boot/dts/motorola-mapphone-common.dtsi +++ b/arch/arm/boot/dts/motorola-mapphone-common.dtsi @@ -698,6 +698,12 @@ &uart1 { pinctrl-0 = <&uart1_pins>; interrupts-extended = <&wakeupgen GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH &omap4_pmx_core 0xfc>; + + modem { + compatible = "motorola,mapphone-mdm6600-serial"; + phys = <&fsusb1_phy>; + phy-names = "usb"; + }; }; &uart3 {