Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3098514pxb; Sun, 26 Sep 2021 05:21:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyma+z4GCEHgM4nZEjfRc+s1k5k2IKjTf8OGltB2B7rVZEDDk0PvRce9ppUPeuyRqFuwpu4 X-Received: by 2002:a17:906:5d1:: with SMTP id t17mr3423198ejt.120.1632658867872; Sun, 26 Sep 2021 05:21:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632658867; cv=none; d=google.com; s=arc-20160816; b=kcvwidcJvnAfyZMQg4AeHrEs2J69ibOblcnKzEgzYMU0U3nbomI9pme8JLAuPSZhEZ j8yb+tkHMgPps/WnVnHIz2FdDxJa2Z55+mhhvqlcFU3Y3BLvRyne8AB0l0rDO06iGUZC yXQaGwhIvt0wr4VfFWq6HK7vihO75bOFGinh/VO1UtOfb7mqMkyQFOqV3NZWl+FjQkuQ 7eAiFf5kqPtJPHzaoY/ApKpWIoGy7tEpv7pAa3Issw8rkaF3E9ChYAMj0InLPtBjxSZh ZVUNtxbnQsvxuM/Fbs41fEhkykKhR00GxRKXfqHl4bIw+wNRo3FrxfPIwLh97BCGQ8g3 osxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=5kpSIzi1H+XjYQL4yh5izI7v9qZNVV/vclzYZH2kZHY=; b=R0AQU0vtVEjET9zrsw/Xp8+7rdtnnzCVb0kv2i4SalQ527b0aXozetcDFkGVkSyziz eZZqMzjy2aRGo2psLluA2kwzTXRDNjOhHs/bixTZNtBUErQGPBkY/b5f+fGX+XLOsABG PlbJmLKxcf2yUDuuriIFWoZXKoy7meTmAjzZBku4nuvUzA4KEuKESvpsmuD//64qLrjH LqV+haZ6sUcFT2xqXON9zwukULDK6HabbYa+HPruz88bFpehtAzcV0NK3Igz/lU3lS4I tRNTq+7chzPOHPF6svXFM+f05xoZbxPl+2JtdFCK+yDe2B2ct7Jp1A/EOSz4jEldmIdj HTHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r14si14491138ejc.394.2021.09.26.05.20.44; Sun, 26 Sep 2021 05:21:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231345AbhIZMVD (ORCPT + 99 others); Sun, 26 Sep 2021 08:21:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:59408 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230160AbhIZMVD (ORCPT ); Sun, 26 Sep 2021 08:21:03 -0400 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 0CB1760F4B; Sun, 26 Sep 2021 12:19:23 +0000 (UTC) Date: Sun, 26 Sep 2021 13:23:13 +0100 From: Jonathan Cameron To: Olivier Moysan Cc: Alexandre Torgue , Fabrice Gasnier , "Lars-Peter Clausen" , Maxime Coquelin , Rob Herring , , , , , Subject: Re: [PATCH v3 0/7] iio: adc: stm32-adc: add internal channels support Message-ID: <20210926132313.16c7a356@jic23-huawei> In-Reply-To: <20210924083410.12332-1-olivier.moysan@foss.st.com> References: <20210924083410.12332-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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 24 Sep 2021 10:34:03 +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. Hi Olivier, I had a read through and am happy with how this looks now. I'll leave it on the list for a while longer because Rob may well want to take a final look at patch 1. Obviously input from other people also welcome! If it looks like I have forgotten it in a few weeks feel free to poke me. 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. > > 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.h | 8 + > drivers/iio/adc/stm32-adc.c | 426 ++++++++++++++++-- > 3 files changed, 487 insertions(+), 55 deletions(-) >