From patchwork Tue Oct 17 13:15:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Gasnier X-Patchwork-Id: 826978 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yGbNh2P0cz9sBZ for ; Wed, 18 Oct 2017 00:18:28 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755164AbdJQNRO (ORCPT ); Tue, 17 Oct 2017 09:17:14 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:55839 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750954AbdJQNRL (ORCPT ); Tue, 17 Oct 2017 09:17:11 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v9HDEHrH024000; Tue, 17 Oct 2017 15:16:03 +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 2dmvtrx9tw-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 17 Oct 2017 15:16:03 +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 4036531; Tue, 17 Oct 2017 13:16:02 +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 E48892725; Tue, 17 Oct 2017 13:16:01 +0000 (GMT) Received: from localhost (10.75.127.49) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 17 Oct 2017 15:16:01 +0200 From: Fabrice Gasnier To: , CC: , , , , , , , , , , , , , Subject: [PATCH 0/3] iio: adc: stm32: Add support for differential channels Date: Tue, 17 Oct 2017 15:15:42 +0200 Message-ID: <1508246145-19417-1-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG6NODE1.st.com (10.75.127.16) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-10-17_10:, , signatures=0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add support for differential channels that can be found on STM32H7 ADC: - Introduce new DT property 'st,adc-diff-channels'. - Slightly rework single-ended channels definition in stm32-adc driver. - Add support for differential channels to stm32-adc driver. Fabrice Gasnier (3): dt-bindings: iio: adc: stm32: add support for diff channels iio: adc: stm32: remove const channel names definition iio: adc: stm32: add support for differential channels .../devicetree/bindings/iio/adc/st,stm32-adc.txt | 6 + drivers/iio/adc/stm32-adc.c | 181 +++++++++++++-------- 2 files changed, 119 insertions(+), 68 deletions(-)