Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp691522ybi; Wed, 3 Jul 2019 03:09:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUetb2MqoxJks2/qXVxzbNIht3qH8o2FwI8aUM+hAmRgarJQfjHpfnK/bM4iR4XnsYGm4L X-Received: by 2002:a17:90a:db44:: with SMTP id u4mr11764733pjx.52.1562148588051; Wed, 03 Jul 2019 03:09:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562148588; cv=none; d=google.com; s=arc-20160816; b=BpAKsUzRJekjWlS/EnKE6WYnKzxXScSyWOBZM2hTnTtVM+z+zYOWFsN2prmIbj8aWL ySjKy2+XOHu01VTTTVg8nDG5io/TNqmsxhRWg5tzTmOGl4zExYZK+kV23lEQSMncG5qm ftdib7Qb2xYiNWUhLfK4PHOrfgK+zuSNxhJLUFVg7bx80dXvONhSh48ugoCh4IW+niH9 5VKniV/LaD+XaaV1Ltykx3jr8CIIy4OEvI4ftHHgQl8CsntWHGeb0BLWmFUz9eYi+bF+ i+MTWgn9TB9R4KwsNkxvubvnhtRylcdGTtbH8FzXRTSO9d/GLUUwyMwbDM7OrMjPqXr4 q3uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=p8aelPu0ml7yIy5BgbpgQ7yP/tD7IVrIHl6DxHuKiZ4=; b=YKXKFcr/pPyTpaBRbmXXxo1Yh1XjYwFTxdtaTy2i5LpiO1OqFOiaSULv5c2jyrEDaX ON/DMdthHCVupTMad4BOSEqlaUkHyNbK3tL/Lt1lHykp2N4kDT0idK8JVsVMQgFZslmX YHbXB4tTx3mNrQUS9vgD4mFaPRNWe68ZIUw5O/uq6ee9Fy+Ixw5WsWTZIsoxLfRlNFZg JCR2MJmTmvjlaRkOpk4/wepdUbeFWduTP1A2f12GcDY+kjsF9/iKQiJJZ+1dGoPyjGMu rVI6f1YNZhqcvQquilpEffDqgHoi2avWiBotiC4d+/MoVjXWGRnh1cd2Fg35mfG2rD/q NgmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=tlFQE1OF; 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 f1si1912654plf.87.2019.07.03.03.09.32; Wed, 03 Jul 2019 03:09:48 -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=@st.com header.s=STMicroelectronics header.b=tlFQE1OF; 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 S1727158AbfGCKJD (ORCPT + 99 others); Wed, 3 Jul 2019 06:09:03 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:43442 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726598AbfGCKJA (ORCPT ); Wed, 3 Jul 2019 06:09:00 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x63A73hP017468; Wed, 3 Jul 2019 12:08:25 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=p8aelPu0ml7yIy5BgbpgQ7yP/tD7IVrIHl6DxHuKiZ4=; b=tlFQE1OF+dfIEYXfZ8AHDmZT0ZWLF9GojP0qwXzAKpq07NOzrXRSDQ/+eS+Oo61fBGf8 EBTYg2KaLjv+kJK/EPKoIBsnVTb+Eekdlt70/zCJqzh0FrY4Rsuch92bpRTa5Qi5a58P 5Rrp+ur3ujiTgHaRd74VsuhsQv4U3oIHVyHQmPRbefWYRTKP0bvQz+f7XLOgB5mDK8zl B/1PDeype/7U7AEvSu2PZ+wMQgR9L6kq+hmVFDtcioNcJxsoRA8tlsVNibzZoi1A+T/F PF1FScSjNdq7yXgBeMK2upMQnX+JvjiSgr7PgtEiBVLNalCiWEHIBg8fMpvt51HnQGmO Ow== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2tdwf12pxx-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 03 Jul 2019 12:08:25 +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 EDD1A34; Wed, 3 Jul 2019 10:08:24 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas22.st.com [10.75.90.92]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C0314267F; Wed, 3 Jul 2019 10:08:24 +0000 (GMT) Received: from SAFEX1HUBCAS23.st.com (10.75.90.47) by Safex1hubcas22.st.com (10.75.90.92) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 3 Jul 2019 12:08:24 +0200 Received: from localhost (10.48.0.167) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 3 Jul 2019 12:08:24 +0200 From: Fabrice Gasnier To: , , CC: , , , , , , , , , , Subject: [PATCH v2 1/3] dt-bindings: iio: adc: stm32: add analog switches supply control Date: Wed, 3 Jul 2019 12:08:14 +0200 Message-ID: <1562148496-26789-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1562148496-26789-1-git-send-email-fabrice.gasnier@st.com> References: <1562148496-26789-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.48.0.167] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-03_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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). Booster or vdd can be used, to get full ADC performances. Add documentation for: - optional booster-supply that can be used on stm32h7 and stm32mp1. - optional vdd-supply that can be used on stm32mp1 to supply analog circuitry, selected by syscfg. Mark these as optional, since this is a trade-off between analog performance and power consumption. Signed-off-by: Fabrice Gasnier --- Changes in v2: - Rework since: "Add missing vdda-supply to STM32 ADC" series. - Add booster-supply regulator description - typo: input switches --- 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 93a0bd2..4c0da8c 100644 --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt @@ -47,6 +47,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. +- booster-supply: Phandle to the embedded booster regulator that can be used + to supply ADC analog input switches on stm32h7 and stm32mp1. +- vdd-supply: Phandle to the vdd input voltage. It can be used to supply ADC + analog input switches on stm32mp1. +- st,syscfg: Phandle to system configuration controller. It can be used to + control the analog circuitry on stm32mp1. Contents of a stm32 adc child node: ----------------------------------- -- 2.7.4