Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5468223ybh; Wed, 7 Aug 2019 06:31:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwKhB3/f5tHb3ZaPCzguUlCgmELiofPn3vyawGzQDpchvuI+2p8WR4inbvANfP4dOHvxwp6 X-Received: by 2002:a17:90a:25c8:: with SMTP id k66mr8455802pje.129.1565184712575; Wed, 07 Aug 2019 06:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565184712; cv=none; d=google.com; s=arc-20160816; b=TQzC41SklOyIhvmxFTpe5IvH75+i8xIMC07GNVcTWa3S+Gyg4GcvKkJ5U/ReOG1Kil g5jg5CIFpKvLTKEC9lmRPsckokPINf1ne6gEp99a69RGUrPgWZmNNEN6p35CPBX3OyLM z2g+s/OYZTmFplcsDwSGirfZ02ZFjYFdqOKCtAqLaHZy2yu7gyKJe/b3+Cr3EIM21mR2 N/93c9dfBjEyKDEgrIvyO18s9Fu9aRZK5/f26ngUL+XYh69jUAafxod5pPb7dCo4VkH0 lk7AQlocj2adt4u30AYw1hoEUzz4x9bqzln0LMkramZYChyW8SE0Sucy53mawLfVsgk3 cHkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=He/eybvHtH7EREDmS2gRlNbZs/2VuGXdKsYyhsRo5CI=; b=GU0UCKFUlOCzjoC04oYrLcGmORTDZiH1rwEjnhe/Aa501uDAtxNUSrlj9wNf6a9kRt OpWz7I1EqQG5pHt+w8TMr1XAoZBfcvhc2N5SHIaiL3rc+ORAEjUotISV+wfRi2Mjan4r Az3HNkqvGtYNU8GhjY2HroiFzn9GeVHtCgqU9vl/uiM4do/0IqiIlM42EIwdx6+FFghR MtALnf9HEtcTndGWeqZe1F7csQeUqwffQeHRQfvJdWh5OiQFF7DpqBaZpC6BukRChM8r 2r2JD3ZzsjUpoKfs1iKaW5KtOuze3GvxJLNoNUrr7MQE4/iALIw0ZGwYcxGt12k7mgCg jkQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ulvMPfRk; 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=fail (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 o19si50319884pgj.120.2019.08.07.06.31.36; Wed, 07 Aug 2019 06:31:52 -0700 (PDT) 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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ulvMPfRk; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388348AbfHGNa7 (ORCPT + 99 others); Wed, 7 Aug 2019 09:30:59 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:35268 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388280AbfHGNa4 (ORCPT ); Wed, 7 Aug 2019 09:30:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=He/eybvHtH7EREDmS2gRlNbZs/2VuGXdKsYyhsRo5CI=; b=ulvMPfRkp/vl nC0jVgfLmy8RX5gHqdNvqPW6v1038lwYUw9qmmzpKC8sui4ioYix40HLP1UO6er/Mgn6sLQcoed0J MK14UGQPfCLAomVhvrcuFdQycEpvloPMCUUm/5vZx3xzU0oiWRWRKTmPWIddrD9UwKxg5LWQjX8yT K4SpQ=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=ypsilon.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hvM1e-0007f6-TM; Wed, 07 Aug 2019 13:30:46 +0000 Received: by ypsilon.sirena.org.uk (Postfix, from userid 1000) id 605AB2742B9E; Wed, 7 Aug 2019 14:30:46 +0100 (BST) From: Mark Brown To: Daniel Baluta Cc: alsa-devel@alsa-project.org, angus@akkea.ca, broonie@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, kernel@pengutronix.de, linux-imx@nxp.com, linux-kernel@vger.kernel.org, l.stach@pengutronix.de, Mark Brown , mihai.serban@gmail.com, nicoleotsuka@gmail.com, Nicolin Chen , robh@kernel.org, shengjiu.wang@nxp.com, timur@kernel.org, tiwai@suse.com Subject: Applied "ASoC: fsl_sai: Add support for imx7ulp/imx8mq" to the asoc tree In-Reply-To: <20190806151214.6783-5-daniel.baluta@nxp.com> X-Patchwork-Hint: ignore Message-Id: <20190807133046.605AB2742B9E@ypsilon.sirena.org.uk> Date: Wed, 7 Aug 2019 14:30:46 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: fsl_sai: Add support for imx7ulp/imx8mq has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From a860fac420971c5a90d4f78959b44ead793aee4f Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Tue, 6 Aug 2019 18:12:13 +0300 Subject: [PATCH] ASoC: fsl_sai: Add support for imx7ulp/imx8mq SAI module on imx7ulp/imx8m features 2 new registers (VERID and PARAM) at the beginning of register address space. On imx7ulp FIFOs can held up to 16 x 32 bit samples. On imx8mq FIFOs can held up to 128 x 32 bit samples. Signed-off-by: Daniel Baluta Acked-by: Nicolin Chen Link: https://lore.kernel.org/r/20190806151214.6783-5-daniel.baluta@nxp.com Signed-off-by: Mark Brown --- sound/soc/fsl/fsl_sai.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 0c5452927c04..4a346fcb5630 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -1019,10 +1019,24 @@ static const struct fsl_sai_soc_data fsl_sai_imx6sx_data = { .reg_offset = 0, }; +static const struct fsl_sai_soc_data fsl_sai_imx7ulp_data = { + .use_imx_pcm = true, + .fifo_depth = 16, + .reg_offset = 8, +}; + +static const struct fsl_sai_soc_data fsl_sai_imx8mq_data = { + .use_imx_pcm = true, + .fifo_depth = 128, + .reg_offset = 8, +}; + static const struct of_device_id fsl_sai_ids[] = { { .compatible = "fsl,vf610-sai", .data = &fsl_sai_vf610_data }, { .compatible = "fsl,imx6sx-sai", .data = &fsl_sai_imx6sx_data }, { .compatible = "fsl,imx6ul-sai", .data = &fsl_sai_imx6sx_data }, + { .compatible = "fsl,imx7ulp-sai", .data = &fsl_sai_imx7ulp_data }, + { .compatible = "fsl,imx8mq-sai", .data = &fsl_sai_imx8mq_data }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, fsl_sai_ids); -- 2.20.1