From patchwork Fri Nov 18 14:20:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier MOYSAN X-Patchwork-Id: 22350 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp221603wrr; Fri, 18 Nov 2022 06:21:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf54zjrGJetr3cQ0+GLX8GJyKMiKHYF9FaYZZu+Ltx4P3IP3DibCKV6PIENXNreP1ZFKSaGj X-Received: by 2002:a17:902:8c98:b0:186:6d69:6e01 with SMTP id t24-20020a1709028c9800b001866d696e01mr7632997plo.160.1668781306262; Fri, 18 Nov 2022 06:21:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668781306; cv=none; d=google.com; s=arc-20160816; b=pB3ndVmoj/KYgnCEmmKwLzqvoy5eGMiZNn4Ktx/0aua4K+eS7sk65N9TV2Py8zr8bd Oe05Lnl1CL/DJG0GvaGFS/Fu5xOMg+nN091/UPwHcsPJw8YMF0V9s6buVCN6sHNhFBKE cbbZkrcP2Ob+yRXxZRbkPPjBreU0SXbkDvch5zl9hULJcMfciCEUi3jFmOpE95oBeHHA O2lyDkPdof7grn04Eot0ZwpBXHwGzuJRTu79S3JChMJJdIo+GhEy3xnq2IsLP+h0heqL 4ggGh0XcuXLOr/0B5YHs8HqtjqXI6qjQpQTy56zhY9EogGIl9OLBt14d6E9eLA3rKVj8 MRhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MFi7qoFpTMmgz6uTFsnSKlFNFcJdrq6xgnr14C7fihg=; b=ac82G/2DYUYYK4ywttx86ve/AN3IB/Ye/0dWh0qRdsD4xi/wqlYweDl3JfJ05E50hN pDbYbPdul/U5CtD17l4S/dmMEvRGB1no5uJRCM+gmIouk8agJBWTjhQwsKSVzdW7WhPz FN1a2CbrSEEbBb2V4cc8iYzO9ofdIJQvkmLEXdqJMtHtwnYsARbUy/8urxTi4Md7e2bt a/tQH7HbKWSJhgtBFg+wCMlkGWgI7xDpJpc/B9OH5Ci5bY7h8P+OwvCfJlYjIz6x1IGp 2Kd4ropzoIPd9FGiIpbwwwjdEB6cDLbrc/NBJLyLtTktGhaxDvcaQTjLjufOHw8CJrU2 ZgLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=BuHFqRyI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a11-20020a056a000c8b00b0056301324a24si4093968pfv.133.2022.11.18.06.21.33; Fri, 18 Nov 2022 06:21:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=BuHFqRyI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242326AbiKROV0 (ORCPT + 99 others); Fri, 18 Nov 2022 09:21:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242247AbiKROVZ (ORCPT ); Fri, 18 Nov 2022 09:21:25 -0500 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5374013CF2; Fri, 18 Nov 2022 06:21:24 -0800 (PST) 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 2AICUZq1014725; Fri, 18 Nov 2022 15:21:04 +0100 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=MFi7qoFpTMmgz6uTFsnSKlFNFcJdrq6xgnr14C7fihg=; b=BuHFqRyImbi5gaV4r21xUtAk/doJlQA/U+VlMvIi0S8DKLNlYGiymTKu5UMF16kHAOlz i5X1Ehj8J3IuQhWp1Ns/NRznJiC0FzNmE71EbfJ8odZHpJVovGVChzH8RXFmDLq9laSh TOtwyY3Yrfn26f5TagEwFuFgjKdbjoqluvaaC26RUzLbXCUyEXvpoBPJQSnPXDomhujY SfmkCSbTAWSoa2D6DT1ltDUl3k9gWQtTZ4Rp4hlskSbLF2IPJDqOrywFjkBXQm/EGaCd RvCxkQQEvysFxAbul5Y6lrEfijtE0ZnoiNVLJH1Pyko+0OtFXsmYk88Q/3XELD4lFy+w wA== 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 3kx0ph48b5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Nov 2022 15:21:04 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C2F6D100039; Fri, 18 Nov 2022 15:20:59 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id BDA9C231DE0; Fri, 18 Nov 2022 15:20:59 +0100 (CET) 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.2375.32; Fri, 18 Nov 2022 15:20:59 +0100 From: Olivier Moysan To: Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue CC: Olivier Moysan , , , , Subject: [PATCH 3/4] ARM: dts: stm32: add spdifrx node on stm32mp131 Date: Fri, 18 Nov 2022 15:20:05 +0100 Message-ID: <20221118142006.479138-4-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221118142006.479138-1-olivier.moysan@foss.st.com> References: <20221118142006.479138-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.20.178] 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.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-18_02,2022-11-18_01,2022-06-22_01 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749844026740630700?= X-GMAIL-MSGID: =?utf-8?q?1749844026740630700?= Add S/PDIFRX peripheral support for the STM32MP13 SoC family. Signed-off-by: Olivier Moysan --- arch/arm/boot/dts/stm32mp131.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi index 13cf4ee12016..5dd5bf47c92b 100644 --- a/arch/arm/boot/dts/stm32mp131.dtsi +++ b/arch/arm/boot/dts/stm32mp131.dtsi @@ -171,6 +171,19 @@ spi3: spi@4000c000 { status = "disabled"; }; + spdifrx: audio-controller@4000d000 { + compatible = "st,stm32h7-spdifrx"; + reg = <0x4000d000 0x400>; + #sound-dai-cells = <0>; + clocks = <&rcc SPDIF_K>; + clock-names = "kclk"; + interrupts = ; + dmas = <&dmamux1 93 0x400 0x01>, + <&dmamux1 94 0x400 0x01>; + dma-names = "rx", "rx-ctrl"; + status = "disabled"; + }; + uart4: serial@40010000 { compatible = "st,stm32h7-uart"; reg = <0x40010000 0x400>;