Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp779385ybv; Thu, 20 Feb 2020 07:10:24 -0800 (PST) X-Google-Smtp-Source: APXvYqzmrKQ3neTi2WslDiGPKO6aJfwk1fPYfc3qhT6XoF0rs1Cz/6jAAL2byDfOy8PPYznsYWtA X-Received: by 2002:a9d:3b84:: with SMTP id k4mr11084294otc.18.1582211424180; Thu, 20 Feb 2020 07:10:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582211424; cv=none; d=google.com; s=arc-20160816; b=jsub6i8ocxQu6xLcMWGAmBbZMkOaNxTDI2c3g6B1jgYtGq0FLMdHVvuXBpbhGQTfpL 1oJSh4yQbbYZNU1ydnqjbbMTBBPgdF/GmyOzua1h1vyDLvzq9cHbh3mcKxzLA9SMcxw+ QPYySzfKedG0/CZHGp1nJKFTZCnxTpWm8526pPqLVAT8dEjDG69ZblYWl4l+EN5TXcAl 5z8XNLHenfe9qdoNDn2IteIMetXF8A2s5jY4UiJZyBBHE/42Bqe2fiy09rmwhCbSC44M Hr4j+8M1I0cicMFmx/RHU5iM7gjv5TFiEfZesBlMCSdBFmAN9SaJ393yDerbnHv3TlbC e1Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=1fxGENVsrBJEQvVJW5203qUrMQ2k8GsjvtaSYcWTupg=; b=CD2kCYXf4HICz1KxScuDIIwG7Zcmw5RK2z7XGFMsE1w5Xm2sijeMb3/p0IpAj6uBgP 9rlc82zOFD9VZBdFEYBJlr75hfpZDb4s5/rxsr5f9V/9jEoQqz3QG3zRH1yVROhNIuP7 bS2rDh3pGETF6vtDQN4JaXV8xK3dkN29Y+Ud2Xc/9FBzSd299rFsehV4xq5N5kE8V58g yUd8ui8bHpxOGfwv1B1JYiHYN3LG8PRCZEYTo3EGpZQIRnWlJ+RQLBWSgjtlOQeHU1HP smVQuVbdAl7yDWhQgz3/fnfuSHU9rRYHbuioPw3/Z1lw/SeaXW307CosuehIavQAy7F1 4I0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=WdHPV5jT; 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si1806427otn.216.2020.02.20.07.09.59; Thu, 20 Feb 2020 07:10:24 -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=@nvidia.com header.s=n1 header.b=WdHPV5jT; 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728364AbgBTPIK (ORCPT + 99 others); Thu, 20 Feb 2020 10:08:10 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:5360 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728248AbgBTPIK (ORCPT ); Thu, 20 Feb 2020 10:08:10 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 20 Feb 2020 07:06:56 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 20 Feb 2020 07:08:08 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 20 Feb 2020 07:08:08 -0800 Received: from [10.21.133.51] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 20 Feb 2020 15:08:05 +0000 Subject: Re: [PATCH v3 05/10] ASoC: tegra: add Tegra210 based AHUB driver To: Sameer Pujar , , , CC: , , , , , , , , , , , , , References: <1582180492-25297-1-git-send-email-spujar@nvidia.com> <1582180492-25297-6-git-send-email-spujar@nvidia.com> From: Jon Hunter Message-ID: Date: Thu, 20 Feb 2020 15:08:03 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <1582180492-25297-6-git-send-email-spujar@nvidia.com> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1582211216; bh=1fxGENVsrBJEQvVJW5203qUrMQ2k8GsjvtaSYcWTupg=; h=X-PGP-Universal:Subject:To:CC:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=WdHPV5jTvllydXKqWZyKo6EBlgdMZLp/IxTT1Aw7dvi/Fg/i9tcpwbLRgqoFEOiDP Ot29wZkYEN0vaVQ//R+yG/uYnD8pOVwRnKpTf17zUsjqVxG/0y7/6WSbfQ1Duca6un sLTZS5OdHNpEkncE29OMirsLCGIRJmkGrVQCP76FGGVTHaLXrOupWqivrgoREHb8jw R80vLvNjtFaphj5Una7wahQJSgPioMKQ5MZl+hb2LSYQ+w8MKgZj14OBQSovO+3Sya dZhjFY/rlY4VugyU/hoFWgXEdNO9u6m3smwK8QwP0BvBdvDEXcahbITGg+Wvn5yLVK dYMm4GbS/9g+w== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/02/2020 06:34, Sameer Pujar wrote: > The Audio Hub (AHUB) comprises a collection of hardware accelerators for > audio pre/post-processing and a programmable full crossbar (XBAR) for > routing audio data across these accelerators in time and in parallel. > AHUB supports multiple interfaces to I2S, DSPK, DMIC etc., XBAR is a > switch used to configure or modify audio routing between HW accelerators > present inside AHUB. > > This patch registers AHUB component with ASoC framework. The component > driver exposes DAPM widgets, routes and kcontrols for the device. The DAI > driver exposes AHUB interfaces, which can be used to connect different > components in the ASoC layer. Currently the driver takes care of XBAR > programming to allow audio data flow through various clients of the AHUB. > Makefile and Kconfig support is added to allow to build the driver. The > AHUB component can be enabled in the DT via below compatible bindings. > - "nvidia,tegra210-ahub" for Tegra210 > - "nvidia,tegra186-ahub" for Tegra186 and Tegra194 > > Signed-off-by: Sameer Pujar > --- > sound/soc/tegra/Kconfig | 10 + > sound/soc/tegra/Makefile | 2 + > sound/soc/tegra/tegra210_ahub.c | 651 ++++++++++++++++++++++++++++++++++++++++ > sound/soc/tegra/tegra210_ahub.h | 125 ++++++++ > 4 files changed, 788 insertions(+) > create mode 100644 sound/soc/tegra/tegra210_ahub.c > create mode 100644 sound/soc/tegra/tegra210_ahub.h Aside from Randy's comment ... Reviewed-by: Jon Hunter Cheers Jon -- nvpublic