Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751472AbdGRMhT (ORCPT ); Tue, 18 Jul 2017 08:37:19 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:64026 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751336AbdGRMhR (ORCPT ); Tue, 18 Jul 2017 08:37:17 -0400 From: Fabrice Gasnier To: , CC: , , , , , , , , , , , , , Subject: [PATCH 0/3] Allow to tune sampling time on STM32 ADC Date: Tue, 18 Jul 2017 14:35:29 +0200 Message-ID: <1500381332-17086-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.51] X-ClientProxiedBy: SFHDAG4NODE3.st.com (10.75.127.12) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-07-18_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 712 Lines: 17 STM32 ADC allows each channel to be sampled with a different sampling time. This series fixes common clock rate and adds optional device tree property, so minimum sampling time can be tuned. This is done via device tree as it's tightly coupled with hardware (analog source). Fabrice Gasnier (3): iio: adc: stm32: fix common clock rate dt-bindings: iio: adc: stm32: add optional min-sample-time iio: adc: stm32: add optional min-sample-time .../devicetree/bindings/iio/adc/st,stm32-adc.txt | 5 + drivers/iio/adc/stm32-adc-core.c | 10 +- drivers/iio/adc/stm32-adc.c | 134 ++++++++++++++++++++- 3 files changed, 140 insertions(+), 9 deletions(-) -- 1.9.1