Received: by 10.192.165.148 with SMTP id m20csp335880imm; Wed, 2 May 2018 00:47:31 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrWIBxKyn0jtslsJ2wmg+gxKQomiHer3iNVzYPrIy5HQ4yqTLKgMbJJIjJaBxFELUy49u6u X-Received: by 2002:a17:902:584:: with SMTP id f4-v6mr18839851plf.290.1525247251687; Wed, 02 May 2018 00:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525247251; cv=none; d=google.com; s=arc-20160816; b=ayqpSi/9IsrkTCsCX+QaKmYaez2iSoARPc81r2A42wJ1WNdesFNFxMVbR5ALVvou5j mdjLBIf4jWdkoacUFfdfqajvZIYrEu9MEYzFm1K026T6fpRlxoUq8MhtPASdyIBUhAfL kDALnLskkSmp9ucgpSurN3QGLLHhCXBAWAmLAzCGsWhZRBcsqmuxGl63spzG9r1hFtuY wU5dU4ij5neOaRKpe2zcQUHOJ+43FtvANmJHMiEAUZ+pJzg3+bhSAdzisfvorchjUYL3 Dhc1MzBv7tCYZ5mcZwEwnSiUFzcAqg6BdMVlt7Zmaq4/CxZYs/l49HpCyesmoNXCbvky y0hA== 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=ozcgabSf4XI7BpiFODzyUWWX5VI3Exo8ZfZt8TeItuY=; b=rh9uFctqG0bAXkR7Y1Ib1bJnKdBeHjkWLy6hFsjQSEHtQNnY3Cac3Y/+uIEj0cSa5g 6TFmC2VnB7Sr09fDCAocZA+h0ES21QkW9wake4xnwQP1IvU7R5f5dtHjISDh3nxdJLzv 7rWYjJiqLwaqE56AsXCRXKjRGpB2I516Hux+mo4vBIGOq52eqXvS/nNNXJBX4oqt/ZNW f/npRxmBEnsMND8Vp9kmByn/ZEE8qa///WYcuJGCeNYDN7d6Io9C1k3WIJSYYfoXNUSf wN8EcRhDjWDrlOc8Ls5NqTUZ0DaOf/cb6FSf4fmX1MuKnHG1ySjkFdKO6plNzFdtQd57 7eMA== 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 k7-v6si4368380pgp.624.2018.05.02.00.47.17; Wed, 02 May 2018 00:47:31 -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 S1751411AbeEBHpz (ORCPT + 99 others); Wed, 2 May 2018 03:45:55 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:35491 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750895AbeEBHpx (ORCPT ); Wed, 2 May 2018 03:45:53 -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 w427J8Hi001082; Wed, 2 May 2018 09:45:01 +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 2hp3n7fuxm-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 02 May 2018 09:45:01 +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 270E931; Wed, 2 May 2018 07:45:00 +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 B0A5E153A; Wed, 2 May 2018 07:44:59 +0000 (GMT) Received: from localhost (10.75.127.51) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 2 May 2018 09:44:59 +0200 From: Fabrice Gasnier To: , , CC: , , , , , , , , , , Subject: [PATCH v2 0/3] Add support for STM32MP1 ADC Date: Wed, 2 May 2018 09:44:48 +0200 Message-ID: <1525247091-18143-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: SFHDAG5NODE2.st.com (10.75.127.14) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-02_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for STM32MP1 Analog to Digital Converter variant. It's quite similar to STM32H7 ADC and re-use most of existing driver. --- Changes in v2: - Update dt-bindings following Rob's remark: STM32MP1 ADC has two interrupt lines Fabrice Gasnier (3): dt-bindings: iio: stm32-adc: add support for STM32MP1 iio: adc: stm32-adc: add support for STM32MP1 ARM: dts: stm32: Add ADC support to stm32mp157c .../devicetree/bindings/iio/adc/st,stm32-adc.txt | 6 +- arch/arm/boot/dts/stm32mp157c.dtsi | 32 +++++++++++ drivers/iio/adc/stm32-adc-core.c | 66 ++++++++++++++++------ drivers/iio/adc/stm32-adc.c | 47 +++++++++++++-- 4 files changed, 128 insertions(+), 23 deletions(-) -- 1.9.1