From nobody Sat Feb 7 06:54:48 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75484C77B7A for ; Tue, 6 Jun 2023 11:58:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237291AbjFFL6Q (ORCPT ); Tue, 6 Jun 2023 07:58:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237276AbjFFL6K (ORCPT ); Tue, 6 Jun 2023 07:58:10 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02F31E6B; Tue, 6 Jun 2023 04:58:08 -0700 (PDT) Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3569qXq2018383; Tue, 6 Jun 2023 13:57:45 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=rBpJCWbpPhct1VdjPG5ZyNaQxPKpgg62x6NbS5SPTUk=; b=0+DkH1J52yLp/iEd8xwNveK4OTDN94QIndvkef9TfmVjtNnccI6AoastqeQqqZECB2Hn mQCC7rq8G3a+iCRu4m6WXIxiWZ18DW7aS42dadwjBkc1eq9xX1CetsJ9wrcu3GKu/XUx 3vedC1RynAmZ5XI3YC8Hl9XDSf/wAJ90+xjC26X0/Ts4RephC/s4hdhsXJLKUm7MF2J5 fZaV+qWGOdbWvwCuJU8W3ymQT4PwjAzEBh5A7ipgk8gWz/4o7lIvODhoYerdOBdxD14q XmEeBFl5ju+sv7N7Od8BcgP3KMlElYULqETnT4dzu9r7155BzABEUzlSXpY6yjziwBdt 8w== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3r1yvnj5mx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Jun 2023 13:57:45 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B159D100038; Tue, 6 Jun 2023 13:57:44 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A8D8621D3B3; Tue, 6 Jun 2023 13:57:44 +0200 (CEST) Received: from localhost (10.201.20.178) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 6 Jun 2023 13:57:44 +0200 From: Olivier Moysan To: Olivier Moysan , Arnaud Pouliquen , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue CC: , , , , Subject: [PATCH v2 1/3] ASoC: dt-bindings: stm32: document audio of graph port for i2s Date: Tue, 6 Jun 2023 13:56:02 +0200 Message-ID: <20230606115605.1633595-2-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230606115605.1633595-1-olivier.moysan@foss.st.com> References: <20230606115605.1633595-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.201.20.178] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-06_08,2023-06-06_02,2023-05-22_02 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" When linking the STM32 I2S to another DAI component, according to audio graph cards bindings, an OF graph port property is expected in the node. Document the port property. Signed-off-by: Olivier Moysan Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/sound/st,stm32-i2s.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml b/Do= cumentation/devicetree/bindings/sound/st,stm32-i2s.yaml index a040d4d31412..b9111d375b93 100644 --- a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml +++ b/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml @@ -61,6 +61,10 @@ properties: description: Configure the I2S device as MCLK clock provider. const: 0 =20 + port: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + required: - compatible - "#sound-dai-cells" @@ -89,6 +93,13 @@ examples: dma-names =3D "rx", "tx"; pinctrl-names =3D "default"; pinctrl-0 =3D <&i2s2_pins_a>; + + /* assume audio-graph */ + port { + codec_endpoint: endpoint { + remote-endpoint =3D <&codec_endpoint>; + }; + }; }; =20 ... --=20 2.25.1 From nobody Sat Feb 7 06:54:48 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 376BBC77B7A for ; Tue, 6 Jun 2023 11:58:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235164AbjFFL6L (ORCPT ); Tue, 6 Jun 2023 07:58:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236898AbjFFL6H (ORCPT ); Tue, 6 Jun 2023 07:58:07 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01080E6B; Tue, 6 Jun 2023 04:58:05 -0700 (PDT) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 356AaOmZ029810; Tue, 6 Jun 2023 13:57:46 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=NMvffGLP/L495gVeFgiRl7BuyTmCMHMDH0I+QTyHogI=; b=I8ZaIPsCZoo8Sx/Tub8rE44RHTcuIij2KR8rUzROdlbUd0jE2oNKX/sAc8eIdAOJe0VR +d5kiDUz+3/eTsi/NekILxEuwMc997ZyHaXJxd8ww9kjKDuiOZzITM54xXsfaSR1gRd4 LXQkF1JGmHUtdoycXbAvlKi4S2P+bdgUHqY84gBn+qSp3YyLFylHNI3HzwHf57WJ18wb KM9R4sJH4v+v+PO6s75vGdY9JRJxn7FfWlaA4HbMqChOH8dfJng7atFOkSjnDs82XVdY Dux+Sn/EefKJ4eo/RgRRU3MiR36O54ijHBYe8dXVddQimnnzzg1qKwpMtmL/EMfgmpOF 0w== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3r236qrffc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Jun 2023 13:57:46 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C88C510002A; Tue, 6 Jun 2023 13:57:45 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id C0ACA21D3B3; Tue, 6 Jun 2023 13:57:45 +0200 (CEST) Received: from localhost (10.201.20.178) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 6 Jun 2023 13:57:45 +0200 From: Olivier Moysan To: James Schulman , David Rhodes , Lucas Tanure , Richard Fitzgerald , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Olivier Moysan CC: , , , Subject: [PATCH v2 2/3] ASoC: dt-bindings: document audio of graph port for cs42l51 Date: Tue, 6 Jun 2023 13:56:03 +0200 Message-ID: <20230606115605.1633595-3-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230606115605.1633595-1-olivier.moysan@foss.st.com> References: <20230606115605.1633595-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.201.20.178] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-06_08,2023-06-06_02,2023-05-22_02 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" When linking the CS42L51 to another DAI component, according to audio graph cards bindings, an OF graph port property is expected in the node. Document the port property. Signed-off-by: Olivier Moysan Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/sound/cirrus,cs42l51.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml b/= Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml index 670b67ec0b61..f7bafbd4f1c2 100644 --- a/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml +++ b/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml @@ -44,6 +44,10 @@ properties: VAHP-supply: description: phandle to voltage regulator of headphone =20 + port: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + required: - compatible - reg @@ -69,6 +73,13 @@ examples: VA-supply =3D <®_audio>; VAHP-supply =3D <®_audio>; reset-gpios =3D <&gpiog 9 GPIO_ACTIVE_LOW>; + + /* assume audio-graph */ + port { + cpu_endpoint: endpoint { + remote-endpoint =3D <&cpu_endpoint>; + }; + }; }; }; ... --=20 2.25.1 From nobody Sat Feb 7 06:54:48 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 089FAC77B73 for ; Tue, 6 Jun 2023 11:59:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237485AbjFFL7b (ORCPT ); Tue, 6 Jun 2023 07:59:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237463AbjFFL7N (ORCPT ); Tue, 6 Jun 2023 07:59:13 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D20B310CA; Tue, 6 Jun 2023 04:58:56 -0700 (PDT) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 356AaQoO029854; Tue, 6 Jun 2023 13:58:47 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=selector1; bh=etScZROVZivSDtjba/HeKk4V8ZOYP8P+whT8Ekuy10E=; b=7fWa4PGq7YSpphz7+iScpPRV42fgEXON4jYhnEXDMEzqgGbQXXNmD/sh9mC2lQ5yL6oS ylh60gGzcsL2ES8eq46pnw0KPbHTeyGjhBygkndqOBCsYydtWV9MdZHydmhTCzxpVMo+ nCzTUJHMxhYKKnCs7bB+aN0iIIklKCU3I75lUoEM7dhiwyQMQei7VHr1TzWtoak5wVh/ GpNZJVfQfC1xrYQgSoY0sjgHUsC47OI4MF+rEYawotFyy6sh625CrwZlFanKbMY5c5Sf zZA0FL9NbODrc0WeDdVs41yJXxSfxN3eJvYBtXOQYexNzloSU4ZOKhrn4K6rSK5efg3v oA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3r236qrfm9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Jun 2023 13:58:47 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 30C4810002A; Tue, 6 Jun 2023 13:58:47 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 253072248DC; Tue, 6 Jun 2023 13:58:47 +0200 (CEST) Received: from localhost (10.201.20.178) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 6 Jun 2023 13:58:46 +0200 From: Olivier Moysan To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue CC: Olivier Moysan , Alexandre Torgue , , , , Subject: [PATCH v2 3/3] ARM: dts: stm32: fix i2s endpoint format property for stm32mp15xx-dkx Date: Tue, 6 Jun 2023 13:56:04 +0200 Message-ID: <20230606115605.1633595-4-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230606115605.1633595-1-olivier.moysan@foss.st.com> References: <20230606115605.1633595-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.201.20.178] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-06_08,2023-06-06_02,2023-05-22_02 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Use "dai-format" to configure DAI audio format as specified in audio-graph-port.yaml bindings. Fixes: 144d1ba70548 ("ARM: dts: stm32: Adapt STM32MP157 DK boards to stm32 = DT diversity") Signed-off-by: Olivier Moysan --- arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm= 32mp15xx-dkx.dtsi index e78ba956b9d0..511113f2e399 100644 --- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi @@ -446,7 +446,7 @@ &i2s2 { i2s2_port: port { i2s2_endpoint: endpoint { remote-endpoint =3D <&sii9022_tx_endpoint>; - format =3D "i2s"; + dai-format =3D "i2s"; mclk-fs =3D <256>; }; }; --=20 2.25.1