Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp820799rdb; Fri, 23 Feb 2024 00:25:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVMh0qO7a5ORSD+FGBZW+OMwwe/leohY0WH5G9j4ubKulEP1rRA0rN2ELJYQYgh2HXHS/CLAwq5bHPFGEGa68GM9RdKeJeHdRRVNi/d9g== X-Google-Smtp-Source: AGHT+IFtx8WOP9/sZUle8IiajdY8TIu6Ib1DSMMdbrxgKnBTnLef6SuHXQQXqBgDamdlP3E3gES2 X-Received: by 2002:a05:620a:2046:b0:787:3676:675e with SMTP id d6-20020a05620a204600b007873676675emr1535781qka.36.1708676749774; Fri, 23 Feb 2024 00:25:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708676749; cv=pass; d=google.com; s=arc-20160816; b=rh525zvEwP2e1UKi63InxL2S6Hf8pFES2vtcyy17M6dMqQTV0wHwJ6wVdrVC4Ui9gq kkmKOumq6AjKmN0nc3ccdTsQoIf/7RE0Fu+8AgMhNaNG0MfkUFYVHLWU+2ifQolXtsQf vucLfGbjHNPx+kk72zLJq0cuJsyIqIQWxy8MW77+5u+P/1e0b8n5fMelTwcBf+iEaliw eK86/SxOEVHnJ7U/QRkasXoeCUyiV4qcgmol39NnU6WUBD8letiT93VKf3jszpP3NjpJ 4i12zzWu3k7Gi3es+RfWrThza/dWdcJHK8x8rjeIz1F6rEV1nykhIrVbCws6hqCNFY4k 1cRA== 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:to:from; bh=BEoOJjLV0pYKgIjoYQOVAbhz4DK7HwfIHbjFZBhY/vk=; fh=d5f3EXzsmthvcpx3zpkwgZAhaM0ZXQ4GdqhIv+XDcVo=; b=INBkRBOhVciONBedjyj2m9QVn/FQLbHTU1olLL9bj4YdnGo6RrlUlMvs+bldFPHmN3 PhLsU4+0s2SBOUPzELADhSlQLopcT8qbwhaNVMk94xQTkMgOTebcNlHZtNmvDMrpl8Pv 51cbK87xmhE5HhG0Uq34ee503S27yRZXa6baQU3fKrTIoNllCRToM+PiRcSY3SBAvMTB aF3zeoikUTtafiuLn+uGX79s6y3veXl+mnmV5um8p/yctNC0FmdxVZruMT2upGDC+eMQ R0PwgKJpkTzTISrM2cPEyMcXfUFKp/P65Xr6aagFImdqyHzCuk35qfpeAxmJ/sXfCWVk e3/Q==; 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-77924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77924-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id qr6-20020a05620a390600b007878ae78a8dsi5284146qkn.359.2024.02.23.00.25.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 00:25:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-77924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77924-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6BD441C21F61 for ; Fri, 23 Feb 2024 08:25:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6ADDD182C3; Fri, 23 Feb 2024 08:25:36 +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 549D6171C8; Fri, 23 Feb 2024 08:25:34 +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=1708676735; cv=none; b=V1YM32w96uYXGd1JL4V0naBtBa2iUxXQka6jWNV+S9y+cCuKm2sJLQm4oQKVTiU/YPZbsgC1HH20002MxpSW/fNh+UYuD/bxshPWuJmP0LqsLVrW/sirBgWSl/ga46rL91/U+D6+8lyfyuBeszeyaRz2HXLju41Uo+c0cFF4/v8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708676735; c=relaxed/simple; bh=qB8IC0HQ792BgYcZ4+9CfgE1Ygvie81C6Gp2+oiS/0A=; h=From:To:Subject:Date:Message-Id; b=p8TFmOFInQVIJuJgk+GlngM1zReVZrhBTLPO4Q1+/bIv7mjXtBo0cbDIawU84O7kgM6siD0kQVHOgbSUDASbvEtahJsYqoogWpWcdeIRtVBSBBCXML79PKw++RJfetR+IBO/OkGPsvDh3/5o64aSg6obxcIMBi3/c22gmoE7t6I= 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 5D8AC1A09CB; Fri, 23 Feb 2024 09:17:40 +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 2208F1A0997; Fri, 23 Feb 2024 09:17:40 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 75654183AC0A; Fri, 23 Feb 2024 16:17:38 +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, shengjiu.wang@gmail.com Subject: [PATCH 1/2] arm64: dts: imx8mp-evk: Add HDMI audio sound card support Date: Fri, 23 Feb 2024 16:02:18 +0800 Message-Id: <1708675339-8180-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 --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 12 ++++++++++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 10 ++++++++++ 2 files changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index f87fa5a948cc..63f6e72fa18a 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -138,6 +138,14 @@ simple-audio-card,codec { }; + sound-hdmi { + compatible = "fsl,imx-audio-hdmi"; + model = "audio-hdmi"; + audio-cpu = <&aud2htx>; + hdmi-out; + status = "okay"; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; @@ -191,6 +199,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