Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp575738pxb; Wed, 11 Nov 2020 10:39:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQ02IDy7dI3EmWzJ+HqVDw2Vrc+xMieUuyMXVDd4ePc10o11Dn/Lk0PQlS49jTDmNpJdPT X-Received: by 2002:a17:906:284b:: with SMTP id s11mr27689071ejc.326.1605119976343; Wed, 11 Nov 2020 10:39:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605119976; cv=none; d=google.com; s=arc-20160816; b=syV8oSrwSvrlHCcmuRpS0Ce3KTIICz5M49/6CI+uPtloJhRUapAlkUwq999XuRQQY+ VLnK1QabzFUUBoBl1tDJd5x8mYGAHNrNwrEZR19R862xYCJ5j/gdoC0/+d4RsThW8EI1 oV1NfkxO0l/a3Sm7gQZwi/Rwr1vXRYd5L7Lf7CDW2RrzXSw8hPKR+sCNur+pRG3wREQE NAe7jd6V5H0dWPB+DALaLWJtEZyhZoDMfq3m31MmIIqi30IGS7oxp9UUaHfh9fWMNNI+ wI99uvY5R/5MrXLyUqOnvlJS30IUALD1MNB99gpEa/vEtcsb7jzjrksRVWW4F5QxBUOy DKMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=+akRhcYxstV6eqTT5e7r3Ipk74HJd1UDP40xMxmuTx4=; b=SVuRga6/xjuNdsqG0sC7F7mCPX4cIQLmJ6k+YbgRUdkIREgu28kmAKqK4FWSuNdISk fjpeaQBofGP7HT2R338QOC32kNz4YzP6dfClBKa6qvTv93WDU6hPK6bB3nDnwoh2pUvP ix8zFmpitjvF49wpyf5jA8myx52C7w7+NIg8PuH9qWhyH03aNs8r/iwIG4ZneIKd2k1d wCWIgg0NeVinuwWzVI8gdf3deJWjI4kMStmVHDAVjjjzI1cVhzkh+qkA3MJG43p120yj svoLb92tjEzTMGr/B/2nU5R2kUdPQ4DSq9FNfTojqTLCsLBDnOQ6knCf6c2gVBH6fJG5 7GgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=OQoB0lga; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id u19si1953750ejc.310.2020.11.11.10.39.13; Wed, 11 Nov 2020 10:39:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=OQoB0lga; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727646AbgKKSf3 (ORCPT + 99 others); Wed, 11 Nov 2020 13:35:29 -0500 Received: from hqnvemgate25.nvidia.com ([216.228.121.64]:5432 "EHLO hqnvemgate25.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727621AbgKKSfV (ORCPT ); Wed, 11 Nov 2020 13:35:21 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 11 Nov 2020 10:35:15 -0800 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 11 Nov 2020 18:35:20 +0000 Received: from audio.nvidia.com (10.124.1.5) by mail.nvidia.com (172.20.187.10) with Microsoft SMTP Server id 15.0.1473.3 via Frontend Transport; Wed, 11 Nov 2020 18:35:18 +0000 From: Sameer Pujar To: , , CC: , , , , , , , Sameer Pujar Subject: [PATCH v5 5/6] arm64: tegra: Audio graph header for Tegra210 Date: Thu, 12 Nov 2020 00:04:35 +0530 Message-ID: <1605119676-32273-6-git-send-email-spujar@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1605119676-32273-1-git-send-email-spujar@nvidia.com> References: <1605119676-32273-1-git-send-email-spujar@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1605119715; bh=+akRhcYxstV6eqTT5e7r3Ipk74HJd1UDP40xMxmuTx4=; h=From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:MIME-Version:Content-Type; b=OQoB0lga7worcHB96q397gq7j1FDbyb6E+70IwLM4wZTAYbTay0Wz1+DXXFcWMD6f k+6IzPcFbrcGDIX3KCdcuvFTNh+mNnfxdadv8ImBy9wesxi4aI8eeIgAvnKtj7rwGy +a6msP7vdArNvF1/BZKtT9hFjuady/6jt6uHvH0os1IlBwCM8VjgCGI5RZT+dAje+O YrnY2fRh3mqMvl+jqvjAVUkX3c3TbAFxP3QFG8645R0/tI1NqUn7GmfAf2XObceANK 3dsr6BpSzcoApmWT6pdv/EDcSuRJbb/DwmmZ8twkcz0fzvmI9ynpgwUtF+BZb1FsSf x46xXR0RR6G5g== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Expose a header which describes DT bindings required to use audio-graph based sound card. All Tegra210 based platforms can include this header and add platform specific information. Currently, from SoC point of view, all links are exposed for ADMAIF, AHUB, I2S and DMIC components. Signed-off-by: Sameer Pujar --- .../boot/dts/nvidia/tegra210-audio-graph.dtsi | 153 +++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 arch/arm64/boot/dts/nvidia/tegra210-audio-graph.dtsi diff --git a/arch/arm64/boot/dts/nvidia/tegra210-audio-graph.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-audio-graph.dtsi new file mode 100644 index 0000000..5c54358 --- /dev/null +++ b/arch/arm64/boot/dts/nvidia/tegra210-audio-graph.dtsi @@ -0,0 +1,153 @@ +// SPDX-License-Identifier: GPL-2.0 + +/ { + tegra_sound { + status = "disabled"; + + clocks = <&tegra_car TEGRA210_CLK_PLL_A>, + <&tegra_car TEGRA210_CLK_PLL_A_OUT0>; + clock-names = "pll_a", "plla_out0"; + + assigned-clocks = <&tegra_car TEGRA210_CLK_PLL_A>, + <&tegra_car TEGRA210_CLK_PLL_A_OUT0>, + <&tegra_car TEGRA210_CLK_EXTERN1>; + assigned-clock-parents = <0>, <0>, <&tegra_car TEGRA210_CLK_PLL_A_OUT0>; + assigned-clock-rates = <368640000>, <49152000>, <12288000>; + }; +}; + +&tegra_admaif { + ports { + #address-cells = <1>; + #size-cells = <0>; + + admaif1_port: port@0 { + reg = <0>; + admaif1_ep: endpoint { + remote-endpoint = <&xbar_admaif1_ep>; + }; + }; + admaif2_port: port@1 { + reg = <1>; + admaif2_ep: endpoint { + remote-endpoint = <&xbar_admaif2_ep>; + }; + }; + admaif3_port: port@2 { + reg = <2>; + admaif3_ep: endpoint { + remote-endpoint = <&xbar_admaif3_ep>; + }; + }; + admaif4_port: port@3 { + reg = <3>; + admaif4_ep: endpoint { + remote-endpoint = <&xbar_admaif4_ep>; + }; + }; + admaif5_port: port@4 { + reg = <4>; + admaif5_ep: endpoint { + remote-endpoint = <&xbar_admaif5_ep>; + }; + }; + admaif6_port: port@5 { + reg = <5>; + admaif6_ep: endpoint { + remote-endpoint = <&xbar_admaif6_ep>; + }; + }; + admaif7_port: port@6 { + reg = <6>; + admaif7_ep: endpoint { + remote-endpoint = <&xbar_admaif7_ep>; + }; + }; + admaif8_port: port@7 { + reg = <7>; + admaif8_ep: endpoint { + remote-endpoint = <&xbar_admaif8_ep>; + }; + }; + admaif9_port: port@8 { + reg = <8>; + admaif9_ep: endpoint { + remote-endpoint = <&xbar_admaif9_ep>; + }; + }; + admaif10_port: port@9 { + reg = <9>; + admaif10_ep: endpoint { + remote-endpoint = <&xbar_admaif10_ep>; + }; + }; + }; +}; + +&tegra_ahub { + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0x0>; + xbar_admaif1_ep: endpoint { + remote-endpoint = <&admaif1_ep>; + }; + }; + port@1 { + reg = <0x1>; + xbar_admaif2_ep: endpoint { + remote-endpoint = <&admaif2_ep>; + }; + }; + port@2 { + reg = <0x2>; + xbar_admaif3_ep: endpoint { + remote-endpoint = <&admaif3_ep>; + }; + }; + port@3 { + reg = <0x3>; + xbar_admaif4_ep: endpoint { + remote-endpoint = <&admaif4_ep>; + }; + }; + port@4 { + reg = <0x4>; + xbar_admaif5_ep: endpoint { + remote-endpoint = <&admaif5_ep>; + }; + }; + port@5 { + reg = <0x5>; + xbar_admaif6_ep: endpoint { + remote-endpoint = <&admaif6_ep>; + }; + }; + port@6 { + reg = <0x6>; + xbar_admaif7_ep: endpoint { + remote-endpoint = <&admaif7_ep>; + }; + }; + port@7 { + reg = <0x7>; + xbar_admaif8_ep: endpoint { + remote-endpoint = <&admaif8_ep>; + }; + }; + port@8 { + reg = <0x8>; + xbar_admaif9_ep: endpoint { + remote-endpoint = <&admaif9_ep>; + }; + }; + port@9 { + reg = <0x9>; + xbar_admaif10_ep: endpoint { + remote-endpoint = <&admaif10_ep>; + }; + }; + }; +}; -- 2.7.4