From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4571C433EF for ; Sun, 17 Oct 2021 16:08:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A5E606023B for ; Sun, 17 Oct 2021 16:08:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A5E606023B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rCkK21CY9MAQ0VSyvBTCEkyPP4+s1QIMubrg3UjEa6c=; b=THsxJP8uM9o6FJ wbqXp9WSK28U3Q51OuE0NaJeLR8yTQPozatzuzyX0kmnk/NgNmsLKYb6EEwAKOwxqLy8WNta7J52d Mp43EeD3PLPLlbeP5Ft8s53Uq+dmBiU9gD3g7sC/BfeA+QJynwA4W3/VBhjCq3JKIAk7YKKXWZX2M fiJ0M6RI51nu3SruUQXr4mGDSjPmNG47GhIinfejId/AafwNye/cQrkwf9mOW1fohl9xWZNuSQhQi IMe3VDnkHL7bZgl75pXmymOXiQkkZ+RCM0CZbvfkSpEJPCwZxmAwsSCKA3h7EKFIT/GrZEQKUCo4q wkBnSHOwnEyfPFE/3Auw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mc8gr-00CxA5-4G; Sun, 17 Oct 2021 16:07:13 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mc8gn-00Cx9F-Jy for linux-arm-kernel@lists.infradead.org; Sun, 17 Oct 2021 16:07:10 +0000 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4FCC460E96; Sun, 17 Oct 2021 16:07:06 +0000 (UTC) Date: Sun, 17 Oct 2021 17:11:21 +0100 From: Jonathan Cameron To: Olivier Moysan Cc: Alexandre Torgue , Fabrice Gasnier , Lars-Peter Clausen , Maxime Coquelin , Rob Herring , , , , , Subject: Re: [PATCH v5 0/7] iio: adc: stm32-adc: add internal channels support Message-ID: <20211017171121.6f0bdabd@jic23-huawei> In-Reply-To: <20211014131228.4692-1-olivier.moysan@foss.st.com> References: <20211014131228.4692-1-olivier.moysan@foss.st.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211017_090709_716249_3DB7B703 X-CRM114-Status: GOOD ( 19.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 14 Oct 2021 15:12:21 +0200 Olivier Moysan wrote: > This patchset adds support of ADC2 internal channels VDDCORE, VREFINT and VBAT > on STM32MP15x SoCs. The generic IIO channel bindings is also introduced here > to provide this feature. The legacy channel binding is kept for backward compatibility. I'm fine with this series, so just waiting for Rob to have a chance for a final look at patch 1. Thanks, Jonathan > > Changes in v2: > - Add 'deprecated' to channels legacy properties in ADC bindings > - Add set/clr service for common registers, to make code more generic in > internal channels enable/disable services. > - Expose vrefint channel as a processed channel to return > the actual value of vrefp. > - Minor code improvements > > Changes in v3: > - fix vrefint sampling time check. > > Changes in v4: > - fix binding > - add dedicated spin lock for common register > - manage probe_defer on nvmem read > > Changes in v5: > - fix binding example > > v5 resent as serie index was wrong on previous post. sorry ! > > Olivier Moysan (7): > dt-bindings: iio: stm32-adc: add generic channel binding > dt-bindings: iio: stm32-adc: add nvmem support for vrefint internal > channel > iio: adc: stm32-adc: split channel init into several routines > iio: adc: stm32-adc: add support of generic channels binding > iio: adc: stm32-adc: add support of internal channels > iio: adc: stm32-adc: add vrefint calibration support > iio: adc: stm32-adc: use generic binding for sample-time > > .../bindings/iio/adc/st,stm32-adc.yaml | 108 ++++- > drivers/iio/adc/stm32-adc-core.c | 1 + > drivers/iio/adc/stm32-adc-core.h | 10 + > drivers/iio/adc/stm32-adc.c | 422 ++++++++++++++++-- > 4 files changed, 486 insertions(+), 55 deletions(-) > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel