Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3936427imb; Wed, 6 Mar 2019 00:58:46 -0800 (PST) X-Google-Smtp-Source: APXvYqy60QOyxpzq0DAbeAl9Rn3XhAJWTIbtamx9JR4Jtgi8S7brOgwfV7mZdFrafnLkEcUrBDdr X-Received: by 2002:a17:902:4a0c:: with SMTP id w12mr5682070pld.174.1551862725949; Wed, 06 Mar 2019 00:58:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551862725; cv=none; d=google.com; s=arc-20160816; b=Lw/DolXEdifYQaY3whDP5NyqwMCDAEi/nEtykSeaGUZJ3xJ0Qq1SiLMR9rmz3R8/Wb A87rELb0aOGf+oIpD1508doRvlDzuehaj3k2Tr+OMvzurRUrfH4Gh+nIvw4Vl4yvckEJ WLO9zWNmDW1pF1c+m1NfTVSXO7SFLlnRt79pgpMYVEgQIfrmutPd42h/TqAmHTRAWnDr YaCrd3axK4wY7wCY9zCyqq6UKeESTYLnP0bK1SvwKfHX9WMPtSZWH2arHXYqlXlSorO1 k1HtYtx1Ic9XBxDI5EtmtGO7DWcgiO02pFVUyjMmGrTh5tS/b4BStexlYkWejQypVxvS sJ3A== 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; bh=mv0S6JoPJVypM7vxDWpELxb3ES4yB30Ghte3s69+ebc=; b=agZmv55cnk+ecp+em6Wc/oJlwNZ9sPviwxmdLHb5YTKKb4Au8DIuJVqCdCx8nnC50O f0qfKGZiFvytXiWY6lbTo1JlPvmH0LxCqcv7uMXefHOysZxPii0Cu9eEXQDMJlcAuPca s4161OIT55FizONumkcmIEXYkNAj65+JKba41BPevIwzfwAckKnGKZEY5PI94WOJpBAE C4iHheB4wpDiwDvMre/5/CLYfHdMpMDPh8pKo+VTfrcRxhvb2tWXX0U4Jz16/sTxhigV RSdAU72ylgFRFlk/pIO4oYjg/rmQmI8Inb+uVwWksa4ukcbqH2bjBxlTEStv4tXPG+kN ajeQ== 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 k63si943660pge.464.2019.03.06.00.58.30; Wed, 06 Mar 2019 00:58:45 -0800 (PST) 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 S1729620AbfCFI4Z (ORCPT + 99 others); Wed, 6 Mar 2019 03:56:25 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:56130 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729352AbfCFI4V (ORCPT ); Wed, 6 Mar 2019 03:56:21 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x268q6XK022884; Wed, 6 Mar 2019 09:55:49 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2qyhkn6rck-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 06 Mar 2019 09:55:49 +0100 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 A7EFC31; Wed, 6 Mar 2019 08:55:47 +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 4000C240E; Wed, 6 Mar 2019 08:55:47 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 6 Mar 2019 09:55:46 +0100 From: Fabrice Gasnier To: CC: , , , , , , , , , , , Subject: [PATCH 0/8] iio: adc: stm32-dfsdm: add buffer modes Date: Wed, 6 Mar 2019 09:55:16 +0100 Message-ID: <1551862524-25098-1-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG5NODE1.st.com (10.75.127.13) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-06_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds support for buffer modes, scan mode and triggers in STM32 DFSDM ADC driver: - 1st patch is an improvement - Patch 2 to 5 are basically precursor patchs that reworks the way to configure the dfsdm for the audio part, so it can be common with the iio part. - Last patchs add support for triggered buffer mode (with scan mode and hardware triggers) Fabrice Gasnier (8): iio: adc: stm32-dfsdm: make spi_master_freq more accurate iio: adc: stm32-dfsdm: continuous mode depends on current mode iio: adc: stm32-dfsdm: move dma enable from start_conv() to start_dma() iio: adc: stm32-dfsdm: move dma slave config to start routine iio: adc: stm32-dfsdm: enable hw consumer iio: adc: stm32-dfsdm: add support for scan mode iio: adc: stm32-dfsdm: add support for buffer modes iio: adc: stm32-dfsdm: claim direct mode for raw read and settings drivers/iio/adc/stm32-dfsdm-adc.c | 513 +++++++++++++++++++++++++++++-------- drivers/iio/adc/stm32-dfsdm-core.c | 9 +- 2 files changed, 408 insertions(+), 114 deletions(-) -- 2.7.4