From patchwork Wed Jun 19 12:29:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Gasnier X-Patchwork-Id: 11004077 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E5691112C for ; Wed, 19 Jun 2019 12:32:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D42E922BF1 for ; Wed, 19 Jun 2019 12:32:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C8813283C3; Wed, 19 Jun 2019 12:32:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6D44322BF1 for ; Wed, 19 Jun 2019 12:32:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Yt7aZklusXwOtgT+91dQFKz6pO1t6lVeA2N+ISkUPhQ=; b=eC5FP/dxTXKzvk gZuawsmCe0gbhUGkpkENkE0tkNnKDf4qckqTnDpd2IH6fyMaOq0p6+3gqMYkq7VEhFGbMHrJh1Y0e mp7XAxYw3g2ggNRd0Sw4bgHazA66zlioSEiVCvPCDuuDN8PeMZn7Sdv0/XpJJSXW4DbYclaZKS+Pv /hB6LUkZ7xrlYMEpfoLxDZAb3YH6wdl4S5uD7jOALwUXROuttGx2qv+Un1tRkd5HxdHeWlwnTkKSJ 0zFgh+EdT9Q6yXAGZ6UzzkLFwcXw/3RalAxDV2vaWAkq3Z09dzyENLeEGHERxkaunX1KS1qrewlQX 252BLNdQ9viDynyn3Y7A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hdZlM-00054M-Vo; Wed, 19 Jun 2019 12:32:28 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hdZjx-0003iQ-B8 for linux-arm-kernel@lists.infradead.org; Wed, 19 Jun 2019 12:31:05 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5JCQNaU013623; Wed, 19 Jun 2019 14:30:52 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=VBdmw2B8JzIwHBf2DCzNhNhp/wewpseJ6FglA41KzDA=; b=HBwMhu88MDRfMzdTNuZfO7msKon03r30NvVEq2joa3SpqyF6u1Ahr7V9dClcMxhDJM+B A7qZQcbSgM6+aTpoCbJYmW3jWzqRmVRQjhk0pb8H/tcGYHulHlQtUarS0QZ/PO7F+CkC 2E0oJwOUFujNxMUDTHXAKZD5O9758tLWN/GM4QhvojMXNyJp8qdBN1cECDIU/Lc2/hwq pFUSHe1weWajs/n7EHdyK18bIggS0X7ZXyoBTNQ8wqMKJDtDkT37Yo4IYo8ITP3T/LIy 6RrDh29JksY8qR0EbBK1lvR6Jr1igmQSkGjGq/2lQGCnNbZ/CEjtkKi662oRKpshO82i ig== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2t781uux8d-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 19 Jun 2019 14:30:52 +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 C468938; Wed, 19 Jun 2019 12:30:51 +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 91CE227A7; Wed, 19 Jun 2019 12:30:51 +0000 (GMT) Received: from localhost (10.75.127.47) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 19 Jun 2019 14:30:51 +0200 From: Fabrice Gasnier To: , , Subject: [PATCH 0/5] Add missing vdda-supply to STM32 ADC Date: Wed, 19 Jun 2019 14:29:53 +0200 Message-ID: <1560947398-11592-1-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG3NODE3.st.com (10.75.127.9) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-19_07:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190619_053101_741877_6AA09952 X-CRM114-Status: GOOD ( 11.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, lars@metafoo.de, mcoquelin.stm32@gmail.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, pmeerw@pmeerw.net, knaack.h@gmx.de, fabrice.gasnier@st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add missing vdda-supply, analog power supply, to STM32 ADC. When vdda is an independent supply, it needs to be properly turned on or off to supply the ADC. This series proposes fixes for the dt-bindings, IIO driver and relevant device tree files. Fabrice Gasnier (5): dt-bindings: iio: adc: stm32: add missing vdda supply iio: adc: stm32-adc: add missing vdda-supply ARM: dts: stm32: remove fixed regulator unit address on stm32429i-eval ARM: dts: stm32: add missing vdda-supply to adc on stm32429i-eval ARM: dts: stm32: add missing vdda-supply to adc on stm32h743i-eval .../devicetree/bindings/iio/adc/st,stm32-adc.txt | 1 + arch/arm/boot/dts/stm32429i-eval.dts | 25 +++++++++++----------- arch/arm/boot/dts/stm32h743i-eval.dts | 1 + drivers/iio/adc/stm32-adc-core.c | 21 +++++++++++++++++- 4 files changed, 35 insertions(+), 13 deletions(-)