Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1581781ybi; Sun, 16 Jun 2019 08:13:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxe7sFDZETVDF9Ss466O9TZ7eF2elfrw/gwvUOzqWnRfcbJCGacNCV/9RLNOWaW8N9uBtHd X-Received: by 2002:a17:902:2926:: with SMTP id g35mr57823110plb.269.1560697991396; Sun, 16 Jun 2019 08:13:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560697991; cv=none; d=google.com; s=arc-20160816; b=SZ90qxeZ9TkZGCKB6/IIVVl2zgnjrjCS11q1AEh19s4x6AIh7blrAQSkO0DY6lBSSr jHfdc4iuQv0uTjNI6CyZgaW/AtrS/Fw/wcAD/VI57KnoMrxHivoruPZM2hGjuAa584JD 8E1shGZ3C+7mAd7wr1NjfPWymv8hgUbtDkjkm75Tml1CviIAWQz4r2avmA6UBPLfwf2E mvPR9lZEDOduPbuPEqoI4fvh7Jaac30+rKZ/Dn2SOjvqbwDOa2NPqjWqcDe26sWbOTvO rCiVkgOohBcRiAGS7esaIEa5aEt24YRYoqKyX79+fc+vPwN8NvWUV6ubULmeaz44V2kG EZsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=2/i8Mw+Raq8L/eHfK7cdOAkvvmtCkVF8QVc5LchDASM=; b=EhcT6kftYWtwu3Np7vQmJK1E2OuRB5we2bEH01YaJI+X6H9jzBZktgDOvmyii6tRrg sG7zaLf8DCz2u4efOQKb2Rk/q4OzAsWnCoDqHs0gQ3KhZzxYltEKjUMtV+C3dJ7TKKWP TBKlcHB5E0emXy+XP5e6rEL3QmXuLqLNxmrep7k+qRl6vaLLqgfVGIqQyXHTsLlsHOZu rzkjZUnXNmdpoA2HCUK45ZWAsIlvmxMYXl2gRFrULsGLSUgvXd0GCnm/712dKCwJ2inN 4UUvR/spRZn17Ur55NjoxHM7++wW1IBUoM4Bw/DyrK0kljLfXZZDEckuuuPDuFA14dba P0oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aerEuJ3r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l191si2638811pge.109.2019.06.16.08.12.56; Sun, 16 Jun 2019 08:13:11 -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; dkim=pass header.i=@kernel.org header.s=default header.b=aerEuJ3r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727283AbfFPPMw (ORCPT + 99 others); Sun, 16 Jun 2019 11:12:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:36972 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727140AbfFPPMw (ORCPT ); Sun, 16 Jun 2019 11:12:52 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (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 AB5532084B; Sun, 16 Jun 2019 15:12:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560697971; bh=XYxeE6m6iVjdndgF4Gpsy/J7kmBHdL5js7nG2GNIyZ0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=aerEuJ3rVFrEPfO49k463mid3L5f8cFSHgrCjjsakURRDaaAI0y1DwgI+mFwbsyPf WfF8K4nRyeLJz6Ra1+OSmTm/wXzqeuFozHaVudTxyy2eoUTrLn3TlTl/i9VyYbwUtT pfFctaleQ0BF0vMjakzUyq/Zyz/Tli9jMAsgbEP0= Date: Sun, 16 Jun 2019 16:12:45 +0100 From: Jonathan Cameron To: Fabrice Gasnier Cc: , , , , , , , , , , , Subject: Re: [PATCH 1/3] dt-bindings: iio: adc: stm32: add analog switches supply control Message-ID: <20190616161245.38168d94@archlinux> In-Reply-To: <1560324276-681-2-git-send-email-fabrice.gasnier@st.com> References: <1560324276-681-1-git-send-email-fabrice.gasnier@st.com> <1560324276-681-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Jun 2019 09:24:34 +0200 Fabrice Gasnier wrote: > On stm32h7 and stm32mp1, the ADC inputs are multiplexed with analog > switches which have reduced performances when their supply is below 2.7V > (vdda by default). > > Add documentation for optional vdda-supply & vdd-supply that can be used > to supply analog circuitry (controlled by syscfg bits). > > Signed-off-by: Fabrice Gasnier > --- > Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt > index 8346bcb..3af48b9 100644 > --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt > +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt > @@ -46,6 +46,12 @@ Required properties: > Optional properties: > - A pinctrl state named "default" for each ADC channel may be defined to set > inX ADC pins in mode of operation for analog input on external pin. > +- vdda-supply: Phandle to the vdda input voltage. It can be used to supply ADC > + analog inputs switches on stm32h7 and stm32mp1. input switches > +- vdd-supply: Phandle to the vdd input voltage. It can be used to supply ADC > + analog inputs switches on stm32mp1. > +- st,syscfg: Phandle to system configuration controller. It can be used to > + control the analog circuitry on stm32h7 and stm32mp1. > > Contents of a stm32 adc child node: > -----------------------------------