From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0214BC433E0 for ; Mon, 6 Jul 2020 05:31:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D4F0220715 for ; Mon, 6 Jul 2020 05:31:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="GyDU8QU/"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="pDpLaGQG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728842AbgGFFb1 (ORCPT ); Mon, 6 Jul 2020 01:31:27 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:45577 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728710AbgGFFb1 (ORCPT ); Mon, 6 Jul 2020 01:31:27 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 5124458051B; Mon, 6 Jul 2020 01:31:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 06 Jul 2020 01:31:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=WKyQCL1ic+iC6Uc1+65VueAxHLF Mh0dPBP5e4GWcnGs=; b=GyDU8QU/z7cxgfHZiIPPvULXoGTAqGZkqWusgkAa15E cTErUycNQExN4pf/rfnRAErLlcMPWLv6SK9gaousOBpCDIBPdD56ATDg9Ka1ET38 o+s+LlCAqZYMo6nXsJZU9YBKwA2X4B48D9iPU2B8aaSFOotpYHxW2bakjmOm8ZF+ Pyc8OMj5mBmencafRx8WSmdmmhgyTFGB/E8cGSApPVNV0d8ue3ZgKNNmDVDS9j0P r0cuSK1mnubxxagDSPNvA+464P8IUVhHTWi4u4P32EYdJCpOUKI+m5qtmQJtssP5 9kE7ZsFHhC2D2xUWGdg5QU2FOapRH+X8iubQwFfdRIQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=WKyQCL 1ic+iC6Uc1+65VueAxHLFMh0dPBP5e4GWcnGs=; b=pDpLaGQGpdL9nUt2M4RZCo HMKGeLzoDqp++2dKS55uTuRNSO7YvWTjj/MomaEsDSpHDAa3Dcdq5wfqJcQcPY+s D3QbIoBDKY7oi4wGLv6giD00zP/Cnajh3oWb/V0u9nJXIm2lrMLPyoQ4um/7PcHD ZXkL4+bgReq2ZivDqxQnZsdeUk0bYe4i4HqQzK3paWzGLmIju44BINH82kH5DyTb kMo+LLwq+QVkDq1W9RyvYAgwpEenSej8wHH74L/s7GCF2Nfk/pAKT6MDynvA5XU3 uIqLe0DFF4EXVPyYFsUsmtjJLr66bn02FyJdUkaAvrzk80taZ75N1mCIlOHJItjg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddvgdelgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtudenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeduvdduhfekkeehgffftefflefgffdtheffudffgeevteffheeuiedvvdejvdfg veenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 6A35F30653ED; Mon, 6 Jul 2020 01:31:24 -0400 (EDT) Date: Mon, 6 Jul 2020 07:31:23 +0200 From: Maxime Ripard To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Chen-Yu Tsai , Rob Herring , Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Marcus Cooper , Jernej Skrabec , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH 13/16] arm64: dts: allwinner: a64: Add HDMI audio Message-ID: <20200706053123.uenb3nrdrckdvao7@gilmour.lan> References: <20200704113902.336911-1-peron.clem@gmail.com> <20200704113902.336911-14-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uyy6f6byomhmdood" Content-Disposition: inline In-Reply-To: <20200704113902.336911-14-peron.clem@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --uyy6f6byomhmdood Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 04, 2020 at 01:38:59PM +0200, Cl=E9ment P=E9ron wrote: > From: Marcus Cooper >=20 > Add a simple-soundcard to link audio between HDMI and I2S. >=20 > Signed-off-by: Jernej Skrabec > Signed-off-by: Marcus Cooper > Signed-off-by: Cl=E9ment P=E9ron > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 21 +++++++++++++++++++ > 1 file changed, 21 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/b= oot/dts/allwinner/sun50i-a64.dtsi > index c662f6a170ce..6a321fdc8e90 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > @@ -102,6 +102,25 @@ de: display-engine { > status =3D "disabled"; > }; > =20 > + hdmi_sound: hdmi-sound { > + compatible =3D "simple-audio-card"; > + simple-audio-card,format =3D "i2s"; > + simple-audio-card,name =3D "sun50i-a64-hdmi"; > + simple-audio-card,mclk-fs =3D <128>; > + simple-audio-card,frame-inversion; > + status =3D "disabled"; > + > + simple-audio-card,codec { > + sound-dai =3D <&hdmi>; > + }; > + > + simple-audio-card,cpu { > + sound-dai =3D <&i2s2>; > + dai-tdm-slot-num =3D <2>; > + dai-tdm-slot-width =3D <32>; > + }; > + }; > + > osc24M: osc24M_clk { > #clock-cells =3D <0>; > compatible =3D "fixed-clock"; > @@ -856,6 +875,7 @@ i2s2: i2s@1c22800 { > resets =3D <&ccu RST_BUS_I2S2>; > dma-names =3D "tx"; > dmas =3D <&dma 27>; > + allwinner,playback-channels =3D <8>; This isn't documented anywhere Maxime --uyy6f6byomhmdood Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXwK3KwAKCRDj7w1vZxhR xerOAQDJKnS9jqfb9I6HEIiwk9owTLZ5YOI48O1UfvR91KSL5wD/eqv9UZ1V230I 0ozBROi+ZprQ2l9brT8puh88zJF1RAA= =3Ow7 -----END PGP SIGNATURE----- --uyy6f6byomhmdood-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA24EC433E0 for ; Mon, 6 Jul 2020 05:32:27 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 31BBE20786 for ; Mon, 6 Jul 2020 05:32:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="r900kv6t"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="GyDU8QU/"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="pDpLaGQG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 31BBE20786 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AFD381660; Mon, 6 Jul 2020 07:31:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AFD381660 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1594013545; bh=dxQJ2I7Li8aHfOzifKIbpqQPsp9RebeP4uA/l1UJS/o=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=r900kv6tE7YEis4DJdvrI1brfILvW+gsfYgNT/GnPJlwQmOnJx0uCQ6UDu6aFr+9T luX90BqgUNmwcovZ0X2Sx4t57q1WLDXmqEPB6U9tqiOM4GBEH0aXLu/SfqZD66hRcB BErz7KLIaw7H3Zj6KoXZhuYPRFSklPCrKZAzVPsk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 08FD8F80125; Mon, 6 Jul 2020 07:31:35 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BC23FF8015C; Mon, 6 Jul 2020 07:31:33 +0200 (CEST) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 74E35F80150 for ; Mon, 6 Jul 2020 07:31:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 74E35F80150 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="GyDU8QU/"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="pDpLaGQG" Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 5124458051B; Mon, 6 Jul 2020 01:31:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 06 Jul 2020 01:31:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=WKyQCL1ic+iC6Uc1+65VueAxHLF Mh0dPBP5e4GWcnGs=; b=GyDU8QU/z7cxgfHZiIPPvULXoGTAqGZkqWusgkAa15E cTErUycNQExN4pf/rfnRAErLlcMPWLv6SK9gaousOBpCDIBPdD56ATDg9Ka1ET38 o+s+LlCAqZYMo6nXsJZU9YBKwA2X4B48D9iPU2B8aaSFOotpYHxW2bakjmOm8ZF+ Pyc8OMj5mBmencafRx8WSmdmmhgyTFGB/E8cGSApPVNV0d8ue3ZgKNNmDVDS9j0P r0cuSK1mnubxxagDSPNvA+464P8IUVhHTWi4u4P32EYdJCpOUKI+m5qtmQJtssP5 9kE7ZsFHhC2D2xUWGdg5QU2FOapRH+X8iubQwFfdRIQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=WKyQCL 1ic+iC6Uc1+65VueAxHLFMh0dPBP5e4GWcnGs=; b=pDpLaGQGpdL9nUt2M4RZCo HMKGeLzoDqp++2dKS55uTuRNSO7YvWTjj/MomaEsDSpHDAa3Dcdq5wfqJcQcPY+s D3QbIoBDKY7oi4wGLv6giD00zP/Cnajh3oWb/V0u9nJXIm2lrMLPyoQ4um/7PcHD ZXkL4+bgReq2ZivDqxQnZsdeUk0bYe4i4HqQzK3paWzGLmIju44BINH82kH5DyTb kMo+LLwq+QVkDq1W9RyvYAgwpEenSej8wHH74L/s7GCF2Nfk/pAKT6MDynvA5XU3 uIqLe0DFF4EXVPyYFsUsmtjJLr66bn02FyJdUkaAvrzk80taZ75N1mCIlOHJItjg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddvgdelgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtudenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeduvdduhfekkeehgffftefflefgffdtheffudffgeevteffheeuiedvvdejvdfg veenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 6A35F30653ED; Mon, 6 Jul 2020 01:31:24 -0400 (EDT) Date: Mon, 6 Jul 2020 07:31:23 +0200 From: Maxime Ripard To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Subject: Re: [PATCH 13/16] arm64: dts: allwinner: a64: Add HDMI audio Message-ID: <20200706053123.uenb3nrdrckdvao7@gilmour.lan> References: <20200704113902.336911-1-peron.clem@gmail.com> <20200704113902.336911-14-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uyy6f6byomhmdood" Content-Disposition: inline In-Reply-To: <20200704113902.336911-14-peron.clem@gmail.com> Cc: devicetree@vger.kernel.org, Jernej Skrabec , alsa-devel@alsa-project.org, Liam Girdwood , linux-kernel@vger.kernel.org, Mark Brown , linux-sunxi@googlegroups.com, Takashi Iwai , Marcus Cooper , Chen-Yu Tsai , Rob Herring , linux-arm-kernel@lists.infradead.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" --uyy6f6byomhmdood Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 04, 2020 at 01:38:59PM +0200, Cl=E9ment P=E9ron wrote: > From: Marcus Cooper >=20 > Add a simple-soundcard to link audio between HDMI and I2S. >=20 > Signed-off-by: Jernej Skrabec > Signed-off-by: Marcus Cooper > Signed-off-by: Cl=E9ment P=E9ron > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 21 +++++++++++++++++++ > 1 file changed, 21 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/b= oot/dts/allwinner/sun50i-a64.dtsi > index c662f6a170ce..6a321fdc8e90 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > @@ -102,6 +102,25 @@ de: display-engine { > status =3D "disabled"; > }; > =20 > + hdmi_sound: hdmi-sound { > + compatible =3D "simple-audio-card"; > + simple-audio-card,format =3D "i2s"; > + simple-audio-card,name =3D "sun50i-a64-hdmi"; > + simple-audio-card,mclk-fs =3D <128>; > + simple-audio-card,frame-inversion; > + status =3D "disabled"; > + > + simple-audio-card,codec { > + sound-dai =3D <&hdmi>; > + }; > + > + simple-audio-card,cpu { > + sound-dai =3D <&i2s2>; > + dai-tdm-slot-num =3D <2>; > + dai-tdm-slot-width =3D <32>; > + }; > + }; > + > osc24M: osc24M_clk { > #clock-cells =3D <0>; > compatible =3D "fixed-clock"; > @@ -856,6 +875,7 @@ i2s2: i2s@1c22800 { > resets =3D <&ccu RST_BUS_I2S2>; > dma-names =3D "tx"; > dmas =3D <&dma 27>; > + allwinner,playback-channels =3D <8>; This isn't documented anywhere Maxime --uyy6f6byomhmdood Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXwK3KwAKCRDj7w1vZxhR xerOAQDJKnS9jqfb9I6HEIiwk9owTLZ5YOI48O1UfvR91KSL5wD/eqv9UZ1V230I 0ozBROi+ZprQ2l9brT8puh88zJF1RAA= =3Ow7 -----END PGP SIGNATURE----- --uyy6f6byomhmdood-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2F26C433DF for ; Mon, 6 Jul 2020 05:32:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6FCE920715 for ; Mon, 6 Jul 2020 05:32:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BjNYxBPS"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=cerno.tech header.i=@cerno.tech header.b="GyDU8QU/"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="pDpLaGQG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6FCE920715 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0oC1/X0VUTUw2b0a3zYict1UttoV3TiqMdAtyagzOi0=; b=BjNYxBPSwuxVg7FWNph4rdrRI NEmAUknus/cx5RjL+6G3UYAY98Q+hVHiXri53HRpSNXMwWA12OfKHJWOktbjO9Die7rWbdpvYcJ52 cAUYeUom4lmRHamfl6J/YItU9AYwlDaIjZdQztELkFoej88r0Q1s3fqmSy260iartWL1sCQieg9qi 1R6gp6EgnTPsr/dJmhqS8ChBxnRlUJkGvBp85TZ0gdb8Pj591NVob1t0+YUt6iwdKrr5FlFx8l94p mN8YG/irINsFEm4pZRUOLYjwvySHXM7qvQ/He/aXT6kvcZS9kTUyDEd1kgpyj/j/xBK6gel8JoaSq cjfWOhahw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsJiz-0002F0-JR; Mon, 06 Jul 2020 05:31:29 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsJiw-0002EJ-QK for linux-arm-kernel@lists.infradead.org; Mon, 06 Jul 2020 05:31:27 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 5124458051B; Mon, 6 Jul 2020 01:31:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 06 Jul 2020 01:31:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=WKyQCL1ic+iC6Uc1+65VueAxHLF Mh0dPBP5e4GWcnGs=; b=GyDU8QU/z7cxgfHZiIPPvULXoGTAqGZkqWusgkAa15E cTErUycNQExN4pf/rfnRAErLlcMPWLv6SK9gaousOBpCDIBPdD56ATDg9Ka1ET38 o+s+LlCAqZYMo6nXsJZU9YBKwA2X4B48D9iPU2B8aaSFOotpYHxW2bakjmOm8ZF+ Pyc8OMj5mBmencafRx8WSmdmmhgyTFGB/E8cGSApPVNV0d8ue3ZgKNNmDVDS9j0P r0cuSK1mnubxxagDSPNvA+464P8IUVhHTWi4u4P32EYdJCpOUKI+m5qtmQJtssP5 9kE7ZsFHhC2D2xUWGdg5QU2FOapRH+X8iubQwFfdRIQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=WKyQCL 1ic+iC6Uc1+65VueAxHLFMh0dPBP5e4GWcnGs=; b=pDpLaGQGpdL9nUt2M4RZCo HMKGeLzoDqp++2dKS55uTuRNSO7YvWTjj/MomaEsDSpHDAa3Dcdq5wfqJcQcPY+s D3QbIoBDKY7oi4wGLv6giD00zP/Cnajh3oWb/V0u9nJXIm2lrMLPyoQ4um/7PcHD ZXkL4+bgReq2ZivDqxQnZsdeUk0bYe4i4HqQzK3paWzGLmIju44BINH82kH5DyTb kMo+LLwq+QVkDq1W9RyvYAgwpEenSej8wHH74L/s7GCF2Nfk/pAKT6MDynvA5XU3 uIqLe0DFF4EXVPyYFsUsmtjJLr66bn02FyJdUkaAvrzk80taZ75N1mCIlOHJItjg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddvgdelgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtudenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeduvdduhfekkeehgffftefflefgffdtheffudffgeevteffheeuiedvvdejvdfg veenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 6A35F30653ED; Mon, 6 Jul 2020 01:31:24 -0400 (EDT) Date: Mon, 6 Jul 2020 07:31:23 +0200 From: Maxime Ripard To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Subject: Re: [PATCH 13/16] arm64: dts: allwinner: a64: Add HDMI audio Message-ID: <20200706053123.uenb3nrdrckdvao7@gilmour.lan> References: <20200704113902.336911-1-peron.clem@gmail.com> <20200704113902.336911-14-peron.clem@gmail.com> MIME-Version: 1.0 In-Reply-To: <20200704113902.336911-14-peron.clem@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200706_013126_894909_80985668 X-CRM114-Status: GOOD ( 12.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Jernej Skrabec , alsa-devel@alsa-project.org, Liam Girdwood , linux-kernel@vger.kernel.org, Mark Brown , linux-sunxi@googlegroups.com, Takashi Iwai , Jaroslav Kysela , Marcus Cooper , Chen-Yu Tsai , Rob Herring , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============0809293619781043852==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0809293619781043852== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uyy6f6byomhmdood" Content-Disposition: inline --uyy6f6byomhmdood Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 04, 2020 at 01:38:59PM +0200, Cl=E9ment P=E9ron wrote: > From: Marcus Cooper >=20 > Add a simple-soundcard to link audio between HDMI and I2S. >=20 > Signed-off-by: Jernej Skrabec > Signed-off-by: Marcus Cooper > Signed-off-by: Cl=E9ment P=E9ron > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 21 +++++++++++++++++++ > 1 file changed, 21 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/b= oot/dts/allwinner/sun50i-a64.dtsi > index c662f6a170ce..6a321fdc8e90 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > @@ -102,6 +102,25 @@ de: display-engine { > status =3D "disabled"; > }; > =20 > + hdmi_sound: hdmi-sound { > + compatible =3D "simple-audio-card"; > + simple-audio-card,format =3D "i2s"; > + simple-audio-card,name =3D "sun50i-a64-hdmi"; > + simple-audio-card,mclk-fs =3D <128>; > + simple-audio-card,frame-inversion; > + status =3D "disabled"; > + > + simple-audio-card,codec { > + sound-dai =3D <&hdmi>; > + }; > + > + simple-audio-card,cpu { > + sound-dai =3D <&i2s2>; > + dai-tdm-slot-num =3D <2>; > + dai-tdm-slot-width =3D <32>; > + }; > + }; > + > osc24M: osc24M_clk { > #clock-cells =3D <0>; > compatible =3D "fixed-clock"; > @@ -856,6 +875,7 @@ i2s2: i2s@1c22800 { > resets =3D <&ccu RST_BUS_I2S2>; > dma-names =3D "tx"; > dmas =3D <&dma 27>; > + allwinner,playback-channels =3D <8>; This isn't documented anywhere Maxime --uyy6f6byomhmdood Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXwK3KwAKCRDj7w1vZxhR xerOAQDJKnS9jqfb9I6HEIiwk9owTLZ5YOI48O1UfvR91KSL5wD/eqv9UZ1V230I 0ozBROi+ZprQ2l9brT8puh88zJF1RAA= =3Ow7 -----END PGP SIGNATURE----- --uyy6f6byomhmdood-- --===============0809293619781043852== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0809293619781043852==--