Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4340247ybv; Sun, 16 Feb 2020 19:59:34 -0800 (PST) X-Google-Smtp-Source: APXvYqzMIZKhdO1yXdT4LgJtg9faS9Q5IsPLx/pWs53Y7rHk5PT0aFaZkykvd1gD5AIxPYqHgsPP X-Received: by 2002:aca:2806:: with SMTP id 6mr8319023oix.64.1581911974170; Sun, 16 Feb 2020 19:59:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581911974; cv=none; d=google.com; s=arc-20160816; b=HBEqoimiAbnKXy+AUY4MvvS3sC3MvXgFVCybyKLrKbzotLoYNDAQBKIhCzIrM++coR g4GaGks3MUPC+NbpZEkcmowZmd3BFiQqlJL8FuTcXt1YGXIkIdfXSKExWTA52mUfq+y2 A5gGaY2gMJv8sNqcxT3pzyAOPsljHOQdWA3j4gx9Ym855g+LZQ7BJaB+Fk3ixxyxIAYX 6NOoYECY7PmZFX1kqUajojTe+xdJdP3ghWvQTnNFNJBfp3LySM7TpXaHeDEmZaW7cLpF kHGED+uYM7woxB6mldBc3IwMLx09j+QAP+lY1FmlNhvdRjpWtDkjgZVHCYbluQJkvSl3 O48Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=MELhyf4aNT6KWcfymALx5r9C95516PerYWnapG7ZGhw=; b=IlXyoulWUBAP30jpAZZ60XCx5c5ZNGKKz7S/qk78MZj+7DgY5lTNHuvgUIDG/aLj3a DbJs+4rjKuTxmkfX5VZAjB2j0P1oc1q6Kbira1OzTnH1ZyD7sROYrlMmUUdiJ41PDAwE AGuNHodHwNwNPcvUrdLy+r9kfdLj0jsA/fPOzUm58abK78FV57FP5yABi/H+QT1QmMD0 j1XNw8pS2PfNgzJ3KXMzCSGUWkHAZCfpNscVS8EK8GUMqr24ms1gN4uLSx/VsiNvjsUY CSc1Q1zWGdj8hMnCrS79XGYn6gP0Hrll0aahqF27MvaN6U36iloMcss98va6elc7T/TP 9yjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1NQroVDN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w29si7364613oth.313.2020.02.16.19.59.22; Sun, 16 Feb 2020 19:59:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1NQroVDN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727742AbgBQD7O (ORCPT + 99 others); Sun, 16 Feb 2020 22:59:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:36590 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726498AbgBQD7N (ORCPT ); Sun, 16 Feb 2020 22:59:13 -0500 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E62542072C; Mon, 17 Feb 2020 03:59:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581911952; bh=o2FZuDF+s0lgyoH3wJzVZ5K7NvTZWMeJj/DeeTi4Y3M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1NQroVDNjPZS+vQNS1YYNhBkwLMGowdfVeG0E2kk6it4e04DF3BAeL8tcgRLb1yFl jFIxNhHD0f9wM4r34isWAUVl6rI7xqAqtRzbrWu9LVV1vL+o7u72U6AkuRTcujN2qT 6Y+Pf/0YRDCKa6EQ6dKVJKrI7Ujamzmk/KqQU61M= Date: Mon, 17 Feb 2020 11:59:02 +0800 From: Shawn Guo To: Martin Kepplinger Cc: robh@kernel.org, mark.rutland@arm.com, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, Anson.Huang@nxp.com, devicetree@vger.kernel.org, kernel@puri.sm, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Angus Ainslie (Purism)" Subject: Re: [PATCH v1 02/12] arm64: dts: librem5-devkit: add the simcom 7100 modem and audio Message-ID: <20200217035902.GC5395@dragon> References: <20200205143003.28408-1-martin.kepplinger@puri.sm> <20200205143003.28408-3-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200205143003.28408-3-martin.kepplinger@puri.sm> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 05, 2020 at 03:29:53PM +0100, Martin Kepplinger wrote: > From: "Angus Ainslie (Purism)" > > Add the simcomm modem and the sai6 interface that connects it, as well > as the sgtl5000 audio codec. > > Signed-off-by: Angus Ainslie (Purism) When you forward a patch from others, you need to add your SoB. > --- > .../dts/freescale/imx8mq-librem5-devkit.dts | 55 +++++++++++++++++++ > 1 file changed, 55 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts > index 9702db69d3ed..8162576e8f3d 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts > @@ -148,6 +148,51 @@ > regulator-always-on; > }; > > + sim7100_codec: sound-wwan-codec { > + compatible = "option,gtm601"; > + #sound-dai-cells = <0>; > + }; > + > + sound { > + compatible = "simple-audio-card"; > + simple-audio-card,name = "sgtl5000"; > + simple-audio-card,format = "i2s"; > + simple-audio-card,widgets = > + "Microphone", "Microphone Jack", > + "Headphone", "Headphone Jack", > + "Speaker", "Speaker Ext", > + "Line", "Line In Jack"; > + simple-audio-card,routing = > + "MIC_IN", "Microphone Jack", > + "Microphone Jack", "Mic Bias", > + "LINE_IN", "Line In Jack", > + "Headphone Jack", "HP_OUT", > + "Speaker Ext", "LINE_OUT"; Please have a newline between properties and child node. > + simple-audio-card,cpu { > + sound-dai = <&sai2>; > + }; Also have a newline between nodes. Shawn > + simple-audio-card,codec { > + sound-dai = <&sgtl5000>; > + clocks = <&clk IMX8MQ_CLK_SAI2_ROOT>; > + frame-master; > + bitclock-master; > + }; > + }; > + > + sound-wwan { > + compatible = "simple-audio-card"; > + simple-audio-card,name = "SIMCom SIM7100"; > + simple-audio-card,format = "dsp_a"; > + simple-audio-card,cpu { > + sound-dai = <&sai6>; > + }; > + telephony_link_master: simple-audio-card,codec { > + sound-dai = <&sim7100_codec>; > + frame-master; > + bitclock-master; > + }; > + }; > + > vibrator { > compatible = "gpio-vibrator"; > pinctrl-names = "default"; > @@ -749,6 +794,16 @@ > status = "okay"; > }; > > +&sai6 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_sai6>; > + assigned-clocks = <&clk IMX8MQ_CLK_SAI6>; > + assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>; > + assigned-clock-rates = <24576000>; > + fsl,sai-synchronous-rx; > + status = "okay"; > +}; > + > &uart1 { /* console */ > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_uart1>; > -- > 2.20.1 >