Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3013530ybd; Fri, 28 Jun 2019 01:09:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtu/citFhug3rn8DOBKjBO+KeYRHPg/9/6vBD+FDdrIPLRCj8yVKI0ZWLrEPNJ9UN6HjsS X-Received: by 2002:a17:90a:3724:: with SMTP id u33mr11382326pjb.19.1561709399080; Fri, 28 Jun 2019 01:09:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561709399; cv=none; d=google.com; s=arc-20160816; b=Lx0i6Ixz+5rvMkKJ8+uOf+7VuEryUwGUHL8Tn71OZb2W+WqxAXYLOLmfmOKYfi12bD 4KTjlIe+1Hfz6F90Ve31L9RCoXMn7hKe9VdfJpxiZSgSQdFJHGep4WHlR4mRk94arKc+ kgVBeLEdfvfMZtfB+nwyLH6A7tAOC0m7ovznZkCphsB3QnKkcZiJdwIxVE8FHPtu40I6 aJsgMeIbt96p+scoSLifyWjn4fYPF9NcK/BWXfqiyYV4tstxUnQyXZBM0PCCZWL4WiFx IS/q90xESrbQ4BXqianbBUXgSFPuuDaZxRXJ5ThcoOurGUvL0r4ZfblmarM0bcxqbmqg mzZg== 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=gFZXnm/IaqS/lZZLWx/8MO4ceDiguvcxpYNkcDkG8Ug=; b=gQQWrZCxIXvkLsWsfzq0HCd4jPijagfK/Rs+lbPLnlUVOZqamEYsjDC3RS641P5yk2 5XvFQB90df1cgk1i9Bj8Ow6Kc8aWcyi6I8DStTAobFcPciI6tvb2VN76ETobsIawAVBX VLiLXfUpn6RoqnxSD8EOQ6YgUQgsm18aaqztptqsaJ4A6VOSD5xbzhg2Bbl4EiIsGMWf gk9nxaXlwxJY15kQwjYZAMzIamDzji0+DRHimsjTpZT7SB/QZpOmK8/fFBfNQkDPQlkP HmrdYnc/s3y65vQbuMcE4AtAvKeIHmaXPUHF+WhHWF1izFlBFG0mtL9XZAnFt3lrbo2j H5Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=qp4Sgh3y; 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 i23si1448352pgh.26.2019.06.28.01.09.43; Fri, 28 Jun 2019 01:09:59 -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=qp4Sgh3y; 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 S1726796AbfF1II5 (ORCPT + 99 others); Fri, 28 Jun 2019 04:08:57 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:61396 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726549AbfF1II5 (ORCPT ); Fri, 28 Jun 2019 04:08:57 -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 x5S86alf020374; Fri, 28 Jun 2019 10:08:15 +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=gFZXnm/IaqS/lZZLWx/8MO4ceDiguvcxpYNkcDkG8Ug=; b=qp4Sgh3yYx+734uYa/tXMJkd2VHu5EwyXbUwYK6jE0bxGk8yC2Jg8RPGpvyzbz6yY9Nm cFnc8mY/tREV9GegKQs/NCTnpN8/UTBbMGjRCCBfwzvJqs0/nkvLJNFbSwPX3vnQ3o2b /4idjguob/2pM3tqrPR9GlRCRgUjx7kSWeG0FCratSR5bQedwC+5fo29+vdssxCW/u/i Mhxxsk8MTzKXshN9dCReKg6PlExiZaEMulEi6GpWNs03I9bjsBrvrFIrHiwcS9K6is+g WW4oWmdSZXfSexmlfg0SLvgys1D6J94vCqpw7Ifu+DhEXT34n1dBT8lXW0ibmbbUZmq6 PA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2t9d2gvcwt-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 28 Jun 2019 10:08:15 +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 3211834; Fri, 28 Jun 2019 08:08:15 +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 057B416AF; Fri, 28 Jun 2019 08:08:15 +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; Fri, 28 Jun 2019 10:08:14 +0200 From: Fabrice Gasnier To: , , , CC: , , , , , Subject: [PATCH 1/4] dt-bindings: regulator: add support for the stm32-booster Date: Fri, 28 Jun 2019 10:08:06 +0200 Message-ID: <1561709289-11174-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1561709289-11174-1-git-send-email-fabrice.gasnier@st.com> References: <1561709289-11174-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG5NODE1.st.com (10.75.127.13) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-28_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the 3.3V booster regulator embedded in stm32h7 and stm32mp1 devices, that can be used to supply ADC analog input switches. It's controlled by using system configuration registers (SYSCFG). Introduce two compatibles as the booster regulator is controlled by: - a unique register/bit in STM32H7 - a set/clear register pair in STM32MP1 Signed-off-by: Fabrice Gasnier --- .../devicetree/bindings/regulator/st,stm32-booster.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/st,stm32-booster.txt diff --git a/Documentation/devicetree/bindings/regulator/st,stm32-booster.txt b/Documentation/devicetree/bindings/regulator/st,stm32-booster.txt new file mode 100644 index 0000000..479ad4c --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/st,stm32-booster.txt @@ -0,0 +1,18 @@ +STM32 BOOSTER - Booster for ADC analog input switches + +Some STM32 devices embed a 3.3V booster supplied by Vdda, that can be used +to supply ADC analog input switches. + +Required properties: +- compatible: Should be one of: + "st,stm32h7-booster" + "st,stm32mp1-booster" +- st,syscfg: Phandle to system configuration controller. +- vdda-supply: Phandle to the vdda input analog voltage. + +Example: + booster: regulator-booster { + compatible = "st,stm32mp1-booster"; + st,syscfg = <&syscfg>; + vdda-supply = <&vdda>; + }; -- 2.7.4