Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1855126ybi; Mon, 1 Jul 2019 01:29:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzu1nzNhpPT9wIlY+KgtUcMC8XLRWG66+chiYNHomVyRQj7IeZymnPJtrnBZBS55mKs+3bh X-Received: by 2002:a17:90a:cd04:: with SMTP id d4mr30499663pju.128.1561969779346; Mon, 01 Jul 2019 01:29:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561969779; cv=none; d=google.com; s=arc-20160816; b=fpYcGE8VJ2pZzzaktzhFTnC/l7joBnNwvlbCnAgs4uRM56Lgx+ZeDCua+YQUpxFYCY U8B0KeLCyuCYz/UrKKxlJ+1vRjtvaa23zYG92piRODaNWPsMZFWq5sBhzGT6niPbe0pI uE7jt2oGz6m/ejwdq7bSwGWUaYD3wA6wfpfX6i3rwP6Poa6wZhVsfN5gGkGtZeafRbkF B+KhpD8UixHFd9/BzCNk90q4vlHw0dgg5grf9RGIgsEKGk7zZiWph+hzzPNEqPqcWqbj nQ/iUa+ju6HrIxMh7xO2Zp1t7Dl1KK1LbIuPdGiuKfraVsueFb1PzFaSHefumYC57Ics JFCw== 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=wGB6a204KBFknqSHHkRoaLNwureZyASLOMcsz8xMeo4LcTwF6cyPWytyxL/LmJKDe7 gkRdHQU43LQk4cfRmGDAdsbI2RjxWFG1aOAPn9ki24oGWrBP3Q6fz8bTvHkovqWjPPP4 R7QfyhoC6IIS7+iP7iYnCgSoHhVp0k8fMarTpZ4wz2hiJzz4BCMHNsWNUA8mS9dXZVYh DOy7baupqY4180Vs7Y6K7M39mP4uuaz6RYPG+iSMEzwh3uKVsZ9H0WUTdKuqjYTBDDdp BQupkltnCMt3tFAXq5AG5fyXbwvmOqqWoOYmKd05mrz1jyeBfHj7Aifofr9XvAke0/rU GYdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=b729Gy3D; 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 l186si2329578pgd.455.2019.07.01.01.29.23; Mon, 01 Jul 2019 01:29:39 -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=b729Gy3D; 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 S1727994AbfGAIPS (ORCPT + 99 others); Mon, 1 Jul 2019 04:15:18 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:37794 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727944AbfGAIPO (ORCPT ); Mon, 1 Jul 2019 04:15:14 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x618ASXC004695; Mon, 1 Jul 2019 10:15:00 +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=b729Gy3D+8FM1VqOdqGZ64Zo98NHkQ/iPu3MYYVADy7BdKya/4oOW1yrH6Q7vio5v5tq njQx38cYogDzFpD5thOdNJwXYLq9MvQnWzpaIA1TFF2fYEGwrkiVtkN7tw2kl7xFUAMY SZ6XY/yngiI7mJwQ9M3wf9fs3gx9CINYYEOlCJGCakSQSbPPC6y0S4S4JppMkgzVdzNs xAHRyVniYa+xofUfd/4fS66X4yZG7bMuGdJ+IYcDuOfjlTFHUlZ1WC/hAGuEyF85nIbG rZQ/aFSIPx3XFzkxA7XU8o0y4V7AXtL0c1GpknYpHMYz9/lOZprOt1GTp4bfMS8gifrf xQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2tdxvhkefe-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 01 Jul 2019 10:14:35 +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 829AB46; Mon, 1 Jul 2019 08:14:34 +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 506701C33; Mon, 1 Jul 2019 08:14:34 +0000 (GMT) Received: from localhost (10.75.127.51) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 1 Jul 2019 10:14:33 +0200 From: Fabrice Gasnier To: , , , CC: , , , , , Subject: [PATCH v2 1/4] dt-bindings: regulator: add support for the stm32-booster Date: Mon, 1 Jul 2019 10:14:22 +0200 Message-ID: <1561968865-22037-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1561968865-22037-1-git-send-email-fabrice.gasnier@st.com> References: <1561968865-22037-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG6NODE1.st.com (10.75.127.16) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-01_05:,, 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