Message ID | 1709017406-12624-1-git-send-email-shengjiu.wang@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-82790-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2537455dyb; Mon, 26 Feb 2024 23:19:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWz05xnsdoz3GX/s7YW5ymnLhGm6KvUAaNoR7xI1uOmgOxzBUKRsx1oCrR9r/tsTWT+9HJRcv3k/YiMt66aQZPdNA+pfg== X-Google-Smtp-Source: AGHT+IET1ATsaBlI1DwhN4jAQZtVGe44OScLAG0BnHi07y5Zmgz5nY2unwnnsXXg/33nu10q7lN5 X-Received: by 2002:aa7:c1d1:0:b0:565:ff84:73a1 with SMTP id d17-20020aa7c1d1000000b00565ff8473a1mr2911916edp.13.1709018369624; Mon, 26 Feb 2024 23:19:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709018369; cv=pass; d=google.com; s=arc-20160816; b=SF24z4zR7egJzuAbgE3+uoxnGZb5vDGdZW2PkQWX22FK49ZaNqwkc3K3fj1EOSRpj7 9W//Mzwg8WscLPp9aCiu/XVEdNE3owu22Ak0hXlbX7EeUa9Yq1j+y3uSSW9RWc5xjSxu OaDVRq5wxrY8ZBIB/TcgK1u36W5mOx3vgBVzrGtYgLTjt53Po6DVQx0FezJ7bep3A2Mb Nw0WLksLwByeNKEiAraJYOSHcVmpM+NX1go46LKXDdo1Hj9McKdkPLGocc+zGUd8nBXR b+pkHvNBP/49y0DNyd9JeNqYyfzKukA/u9tZwW7pJ2OZ+OdWcFcA0NBsLDjTtuhriCqg Kh+g== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82790-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cx2-20020a05640222a200b00564511b6b51si457741edb.589.2024.02.26.23.19.29 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 23:19:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82790-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82790-ouuuleilei=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 3EA2C1F2188A for <ouuuleilei@gmail.com>; Tue, 27 Feb 2024 07:19:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 583AA54F91; Tue, 27 Feb 2024 07:19:04 +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 <shengjiu.wang@nxp.com> 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792035645918203764 X-GMAIL-MSGID: 1792035645918203764 |
Series |
[v2,1/2] arm64: dts: imx8mp-evk: Add HDMI audio sound card support
|
|
Commit Message
Shengjiu Wang
Feb. 27, 2024, 7:03 a.m. UTC
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 <shengjiu.wang@nxp.com>
---
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(+)
Comments
Hi, Am Dienstag, 27. Februar 2024, 08:03:25 CET schrieb Shengjiu Wang: > 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 <shengjiu.wang@nxp.com> > --- > > 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 ++++++++++ Maybe split this patch into two: * adding aud2htx node * enabling board support > 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>; This part looks good: Acked-by: Alexander Stein <alexander.stein@ew.tq-group.com> > 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 = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_AUD2HTX_IPG>; > + clock-names = "bus"; > + dmas = <&sdma2 26 2 0>; > + dma-names = "tx"; > + status = "disabled"; > + }; My WIP has the same node: Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com> > }; > > sdma3: dma-controller@30e00000 { >
On Tue, Feb 27, 2024 at 3:49 PM Alexander Stein <alexander.stein@ew.tq-group.com> wrote: > > Hi, > > Am Dienstag, 27. Februar 2024, 08:03:25 CET schrieb Shengjiu Wang: > > 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 <shengjiu.wang@nxp.com> > > --- > > > > 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 ++++++++++ > > Maybe split this patch into two: > * adding aud2htx node > * enabling board support ok, will update. Best regards Shengjiu Wang > > > 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>; > > This part looks good: > Acked-by: Alexander Stein <alexander.stein@ew.tq-group.com> > > > 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 = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>; > > + clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_AUD2HTX_IPG>; > > + clock-names = "bus"; > > + dmas = <&sdma2 26 2 0>; > > + dma-names = "tx"; > > + status = "disabled"; > > + }; > > My WIP has the same node: > Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com> > > > }; > > > > sdma3: dma-controller@30e00000 { > > > > > -- > TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany > Amtsgericht München, HRB 105018 > Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider > http://www.tq-group.com/ > >
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 = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>; + 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 {