Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1758999rbb; Mon, 26 Feb 2024 23:19:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWH1S7RUDamZggCf1vovvAZdd3HnIAl1DGvdYg6ZuO3VYZpck+J+1Om5TmbNfNkjvFex3B2V/jV4Cm57ZCwiyhvy5BChO/RRfU6wNy8wQ== X-Google-Smtp-Source: AGHT+IGLf+9ddRmfnEYqr6IXsno6wiGBoWbMzDVwliClhZ9qX5xUw2oeQds9cD30SBGi7gas7PsS X-Received: by 2002:a05:6512:3e06:b0:512:f739:faf9 with SMTP id i6-20020a0565123e0600b00512f739faf9mr4956500lfv.22.1709018361573; Mon, 26 Feb 2024 23:19:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709018361; cv=pass; d=google.com; s=arc-20160816; b=ygJgHGPeS3WP6nh1tNJqHVv/Ld95yRZyeCU03WN4zbxmUjYs4lvgSP9P2mE2xDuPc2 Po+QXY20WaJu6LrLsMlCxlTRxA3+4l7/HSiIX9Q7pfHYNca9g2eHhwAIU54ImTwHmS0G 6H9mlMUj86AQMMpS5L1lZ9kulKuJCJaYJS+pVnUd88IrKTKz44ls+5mNyVlpdQxYUn6N HIQ3nQH/ortynQs8oEYh/9uUONBO6NVhHxOuTBEs9f3bQSyONsnZbtRayhMbmLxqYAo/ 27Uj8joJ/uQHzOAwzvKNVTholzgEYVfwCfwlmKIvOdQRsl1w/NM3jMt5TMjSv7rdrpVn 1fcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from; bh=hHunYXPD9vvF9YQGKcmlqdLor653S+bCaHIFdmTGvJw=; fh=pf4qtJTvfIRtNpE/QmTfrrIz5IpTx44zATGDU2cOK0g=; b=AidviSsi3ZlAf49tZKSKzy5Sr+GgLt52wvvlDNYmrwuyL22AlPCPTnQwtxbFXlCPPq NkxgIh/Li57Nbjrk4IcepXuhsrAak1Paw1Yo40QuxOlqXnDNs9KT4I6bogmzx2kv4G1D Fact1BBlGm4SxMayiDYGZQbRXyZwIrjHWJw2TWoEfAoNy0neQBpeW4X9RouXgYMZQynS uT8iAQFpC5/JVKp0054DgkoFQ3FzSgyI/0ifmBuZkek8BYxFDT9xURP2AkZTcA0F3o9V kvUR3UJU7zLBbu3yGuS2j5DPJlib5Scl8K69pZz8bhoh2jsaJltlZ692nS7pXdYqsg1k nIjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-82790-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82790-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id n14-20020a056402514e00b005647dac6af5si479465edd.312.2024.02.26.23.19.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 23:19:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82790-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-82790-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82790-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5209A1F2301A for ; Tue, 27 Feb 2024 07:19:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5214054BE7; Tue, 27 Feb 2024 07:19:03 +0000 (UTC) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 48A494CDE5; Tue, 27 Feb 2024 07:19:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709018342; cv=none; b=XN/15JFyqlzWzVymsqJV1vl8fNogmhXdfbo5eIWFrIhs6bkHwpSzFJ3hfU4Siu0eJZ9fxcpmc6pBDTjN2C1n0XApTW2LkrEUSaloKtJHYoGfQCvxDZOrE2cxLNTkjMbm73d6Y56N1vxqYRHwjdL5wYUsgEYdr1vRNF2OWpktvZA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709018342; c=relaxed/simple; bh=hGBYEwQUV76ZW4NI6b9TL3tBrFeIGLun9c9J2eAbMbs=; h=From:To:Cc:Subject:Date:Message-Id; b=MSL4oexxOksnFCDsSVO91B2q3+CEJAGJRHlIUj2DLcdF5olaNWaEekOHzZF1/k6DdeSUh1w+MnJsmppHkH8L3bk7IIKs3NPUiK/7OK+Piwb8zXi8raVCxoWoOcPrualwfKHfbWZihti3EhvZE7A1hmToAS/TwqWRWrCMrE4r18k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; arc=none smtp.client-ip=92.121.34.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 06F291A05DA; Tue, 27 Feb 2024 08:18:54 +0100 (CET) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id C48B21A022F; Tue, 27 Feb 2024 08:18:53 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 25DF5180C2DA; Tue, 27 Feb 2024 15:18:52 +0800 (+08) From: Shengjiu Wang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: shengjiu.wang@gmail.com Subject: [PATCH v2 1/2] arm64: dts: imx8mp-evk: Add HDMI audio sound card support Date: Tue, 27 Feb 2024 15:03:25 +0800 Message-Id: <1709017406-12624-1-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The AUD2HTX is a digital module that provides a bridge between the Audio Subsystem and the HDMI RTX Subsystem. This module includes intermediate storage to queue SDMA transactions prior to being synchronized and passed to the HDMI RTX Subsystem over the Audio Link. AUD2HTX works as the cpu dai in HDMI audio sound card. Signed-off-by: Shengjiu Wang --- changes in v2: - remove 'status' in sound-hdmi arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 11 +++++++++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index f87fa5a948cc..0fc6c0d21cd6 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -138,6 +138,13 @@ simple-audio-card,codec { }; + sound-hdmi { + compatible = "fsl,imx-audio-hdmi"; + model = "audio-hdmi"; + audio-cpu = <&aud2htx>; + hdmi-out; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; @@ -191,6 +198,10 @@ &A53_3 { cpu-supply = <®_arm>; }; +&aud2htx { + status = "okay"; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 9ab9c057f41e..721ab630d895 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1513,6 +1513,16 @@ micfil: audio-controller@30ca0000 { status = "disabled"; }; + aud2htx: aud2htx@30cb0000 { + compatible = "fsl,imx8mp-aud2htx"; + reg = <0x30cb0000 0x10000>; + interrupts = ; + clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_AUD2HTX_IPG>; + clock-names = "bus"; + dmas = <&sdma2 26 2 0>; + dma-names = "tx"; + status = "disabled"; + }; }; sdma3: dma-controller@30e00000 { -- 2.34.1