From patchwork Wed May 31 14:09:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Moysan X-Patchwork-Id: 687496 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 52828C77B73 for ; Wed, 31 May 2023 14:32:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236404AbjEaOc0 (ORCPT ); Wed, 31 May 2023 10:32:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231215AbjEaOcZ (ORCPT ); Wed, 31 May 2023 10:32:25 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A904B8F; Wed, 31 May 2023 07:32:24 -0700 (PDT) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34VCbU7h012987; Wed, 31 May 2023 16:09:51 +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=KybtY00M8BVeJLge9ZFOp3o7PKon2iInWCZuTEzDlrQ=; b=Xr/oci/95QXVIf/FZjiMeXWocNxF1rilBsMMtSgHSkXHbx6RcWtmKhfPSdAI/MYypwBM 3LUVsJa5E5bwwba5ylM3JPJ43QsIOdZq3yPv7sYgtfeH3vYu0yOsrPANNoXIe5kl74O8 Zb1TeIqG1ZP97zSlF4UZzzm2EGPus0LCKEbgpI1A5EvAWufxZwcHPvaQ3F4FRFPAOZFA AFYccOrjeiTWoDJqG0FpobwKTPjqJh25BUnbCWz9ECgUFPfhfkQeRw5Ujgy+nHjYTI/x +/MZ+M2vLeGmJKMcLKdJRQOszibnUzzd2Z6+AJ7jqp0IJCxFarFySjAiL/kX5OyS+gg1 uQ== 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 3qx36724jx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 May 2023 16:09:51 +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 8D0C7100038; Wed, 31 May 2023 16:09:50 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 80A6724B8AE; Wed, 31 May 2023 16:09:50 +0200 (CEST) Received: from localhost (10.252.16.99) 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; Wed, 31 May 2023 16:09:50 +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 2/3] ASoC: dt-bindings: document audio of graph port for cs42l51 Date: Wed, 31 May 2023 16:09:11 +0200 Message-ID: <20230531140912.819373-3-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230531140912.819373-1-olivier.moysan@foss.st.com> References: <20230531140912.819373-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.252.16.99] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) 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-05-31_08,2023-05-31_03,2023-05-22_02 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml index 670b67ec0b61..668898a8bdda 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 + port: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + required: - compatible - reg From patchwork Wed May 31 14:09:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Moysan X-Patchwork-Id: 687498 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 0F12DC77B73 for ; Wed, 31 May 2023 14:14:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230409AbjEaOOt (ORCPT ); Wed, 31 May 2023 10:14:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237612AbjEaOOc (ORCPT ); Wed, 31 May 2023 10:14:32 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB5031FC7; Wed, 31 May 2023 07:12:08 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34VA9nBN011751; Wed, 31 May 2023 16:10:52 +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=eaZXo2Ir4ywHQK0UST31328ufRxgqsWM5FuBZ6aUZdM=; b=gCj6QzJsktMfK+REjRxhcW5Z5s9eTH17trgiKpEAkkxoWr2z2/cX6Qxpzqe2pfjf3WcL 0Eo9YBe2MxlAOUg0v4HMzVA62exxI4uTCbyu9WecRnHWNaml7VeHj7hMn1hrjRsDdcgn v0wzrCw22NuhIQPs7KmEy/cJ4DSr/6L/UUjO1eQptmR/Q7ppVp0N9U6SFC1FQ5+ebIAc 6jGH8vY3skVpgk5L6DNneBjAxIy0EULhDfAa8d81ftSOdXb2B/O28PQL6PFHGnQhoTmW d8K7kT0gUjL8LmxWhbxnhFF1jDfFHcekySmEMeVpBqpH4TCqVl8Ts4hO9F1zgGJ8pOjy tA== 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 3qvsnp00g5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 May 2023 16:10:52 +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 4FFBD10002A; Wed, 31 May 2023 16:10:51 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 486C724B8BC; Wed, 31 May 2023 16:10:51 +0200 (CEST) Received: from localhost (10.252.16.99) 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; Wed, 31 May 2023 16:10:51 +0200 From: Olivier Moysan To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue CC: Olivier Moysan , Alexandre Torgue , , , , Subject: [PATCH 3/3] ARM: dts: stm32: fix i2s endpoint format property for stm32mp15xx-dkx Date: Wed, 31 May 2023 16:09:12 +0200 Message-ID: <20230531140912.819373-4-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230531140912.819373-1-olivier.moysan@foss.st.com> References: <20230531140912.819373-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.252.16.99] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) 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-05-31_08,2023-05-31_03,2023-05-22_02 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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/stm32mp15xx-dkx.dtsi index a6e2e20f12fa..d9ea9d7ac256 100644 --- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi @@ -435,7 +435,7 @@ &i2s2 { i2s2_port: port { i2s2_endpoint: endpoint { remote-endpoint = <&sii9022_tx_endpoint>; - format = "i2s"; + dai-format = "i2s"; mclk-fs = <256>; }; };