Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp609416imm; Wed, 23 May 2018 02:33:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpACeTPT+wierrHAMZQ1orp3Mf3kFCQlQYtBMTfOcN0+THWnu9vVIjJrVa6RMEHdmWChqmN X-Received: by 2002:a17:902:2805:: with SMTP id e5-v6mr2231780plb.55.1527067995888; Wed, 23 May 2018 02:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527067995; cv=none; d=google.com; s=arc-20160816; b=EI9hZHpkDXQZFQqlfGs+YiQSpmVsyffkqfGtpDTnO6ycUiKcIuFxrk+gWtN+/Gk65L jVrnuIYuInJFOyVeR/RwsfqpCd7QDj/6mNG/4XeWZ2QzqDNsM+/imZKQ/l2bZTQptfUS h4l33OhvdIsAwr5DvT2xfNU8prFwUvD0hptxZLoU8jPUoZ4/RRQG5C/CJwWERPEG4YO5 fcMS33rI1T0uU9pnJQlTMKK/oVYfuC6NF36vKFhHtAP5PBy4FrPru9MKTcYQf+Ku2aIo 0kLpziKhdAlG+7ZJPFbqWqsUDPrEBMzhAUb7uSvroOFD2jFPwHlrCkaBSZAj1Lc5ulWE BeHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=QzYQSGB4281DZgK+fEQy0fEKoLsxDiMzQIod7YT1bOQ=; b=sR4Bh3PLHtUJx7TjtL3pcRuakRG73lfRzIWaloEha4cqfh8BNaOOBv/0xrLVSRsZP3 RDnYbRGD5p2dNj14sIJJ2PqqZwkqyAwV7Ds9VnUUfgs/R8MQepfI5KCmOi4O11Y+a/41 5+hX5BwoFmsPdhL5tRj/hbifR3GSxHCkOjdPM/e3e+v19uHRMdocdqy8E4j1dqUw5EtQ 0kthHLDqTQsHXKuHX4GG16F58nGkf7H6SD09vIYvy04LwicCVdqL3a2qydYH55dTL4Rd cq+3F9cVV37dRAoDGWGWXhlSCOcJFnjNF5Hz5RLNMpVIaWqvlXuGcOsrI+Uw13x8FdY9 74Jg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2-v6si2380800pgt.310.2018.05.23.02.33.01; Wed, 23 May 2018 02:33:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932259AbeEWJbO (ORCPT + 99 others); Wed, 23 May 2018 05:31:14 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:56542 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932118AbeEWJbL (ORCPT ); Wed, 23 May 2018 05:31:11 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w4N9NqBG019734; Wed, 23 May 2018 11:30:46 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2j51twsa80-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 23 May 2018 11:30:46 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3721D34; Wed, 23 May 2018 09:30:46 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 12FCD2582; Wed, 23 May 2018 09:30:46 +0000 (GMT) Received: from localhost (10.75.127.45) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 23 May 2018 11:30:45 +0200 From: Fabrice Gasnier To: CC: , , , , , , , Subject: [PATCH] ARM: dts: stm32: Add DFSDM support to stm32mp157c Date: Wed, 23 May 2018 11:30:35 +0200 Message-ID: <1527067835-22303-1-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-23_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org stm32mp157c has DFSDM (Digital Filter For Sigma Delta Modulators) hardware with 6 filter instances. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157c.dtsi | 70 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index 66d7496..3d2f4e7 100644 --- a/arch/arm/boot/dts/stm32mp157c.dtsi +++ b/arch/arm/boot/dts/stm32mp157c.dtsi @@ -556,6 +556,76 @@ }; }; + dfsdm: dfsdm@4400d000 { + compatible = "st,stm32mp1-dfsdm"; + reg = <0x4400d000 0x800>; + clocks = <&rcc DFSDM_K>; + clock-names = "dfsdm"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + dfsdm0: filter@0 { + compatible = "st,stm32-dfsdm-adc"; + #io-channel-cells = <1>; + reg = <0>; + interrupts = ; + dmas = <&dmamux1 101 0x400 0x01>; + dma-names = "rx"; + status = "disabled"; + }; + + dfsdm1: filter@1 { + compatible = "st,stm32-dfsdm-adc"; + #io-channel-cells = <1>; + reg = <1>; + interrupts = ; + dmas = <&dmamux1 102 0x400 0x01>; + dma-names = "rx"; + status = "disabled"; + }; + + dfsdm2: filter@2 { + compatible = "st,stm32-dfsdm-adc"; + #io-channel-cells = <1>; + reg = <2>; + interrupts = ; + dmas = <&dmamux1 103 0x400 0x01>; + dma-names = "rx"; + status = "disabled"; + }; + + dfsdm3: filter@3 { + compatible = "st,stm32-dfsdm-adc"; + #io-channel-cells = <1>; + reg = <3>; + interrupts = ; + dmas = <&dmamux1 104 0x400 0x01>; + dma-names = "rx"; + status = "disabled"; + }; + + dfsdm4: filter@4 { + compatible = "st,stm32-dfsdm-adc"; + #io-channel-cells = <1>; + reg = <4>; + interrupts = ; + dmas = <&dmamux1 91 0x400 0x01>; + dma-names = "rx"; + status = "disabled"; + }; + + dfsdm5: filter@5 { + compatible = "st,stm32-dfsdm-adc"; + #io-channel-cells = <1>; + reg = <5>; + interrupts = ; + dmas = <&dmamux1 92 0x400 0x01>; + dma-names = "rx"; + status = "disabled"; + }; + }; + dma1: dma@48000000 { compatible = "st,stm32-dma"; reg = <0x48000000 0x400>; -- 1.9.1