Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3012712ybd; Fri, 28 Jun 2019 01:09:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHf3mEAw2XrqI6zB7ybvuyyJyPeUlDWn3PWkDRmQjFyQOR9DdA6+S5vclzB7gPcXLY8S1U X-Received: by 2002:a17:90a:71cb:: with SMTP id m11mr10940329pjs.40.1561709341364; Fri, 28 Jun 2019 01:09:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561709341; cv=none; d=google.com; s=arc-20160816; b=JyULWUgQ3KDUVyZfXykN0reWEIch9eLlxX678gh2DI8tzsctRmmTOkq74bie2gFi8+ Vh6Oflk0wG0P6KCR61Mgt1OaPV5NMdgilglo7nDAbWQIgUow2FsoTAFOrY/cmBlBmjWz 8eRqGgkYWrJ0f6r6/PMveAR9fY8KKv/zamszCQwMxWAfEZaMAqPcvZjmBDNSaJZ1c6Z1 5pEPfyk2gnu1HuSq0cZtAS0IQWQbO14l6FpVy3zEv8ILg/1rCSc5vFCgmOOGadbbpumh //0U4iUtLMTQjqYcONXOC/fzm7pip6XCt+GaRIuWwIjK7+HD+slPpuvely6MyMgIgPPx 88sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=OkJkWdO3ZoRZHiMztQUd9Pc0c3rpuXyKwA33SFtPdis=; b=oAQPIjIGz6yNAO7+Sk+ZKUa5M2BXwpqYrK4C8VbPIJ++tbmtp2TP9njIzevlra+Yky sGCE4NyWkaZlhBEZXdSQvElGSBs2MiYqURgdUBVs9YdMFYLQhiDqg4RNYBqjOp600pPq 97tYGQdYogShm1vxP2sjKcVYP3hQ60SyY9hlzCjwLCJvLUcMVnS032+G5HU3E6iVrLDS aiiKEG9z6gD0Q/jjh6H5Df70MnmVvNwgb/j+NTjrLQqdhsOAECs/0l7MDmMzIQLAzS8O +N4jV+OnTWfYjU9lhi9VefWn66j3Vhiu3nvs26PxSPyJaJFAlYsok6FLp7xs7i9vByDm VZ9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=xMZPk79N; 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 v16si1591057pjb.91.2019.06.28.01.08.44; Fri, 28 Jun 2019 01:09:01 -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=xMZPk79N; 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 S1726773AbfF1IIc (ORCPT + 99 others); Fri, 28 Jun 2019 04:08:32 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:60932 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725792AbfF1IIb (ORCPT ); Fri, 28 Jun 2019 04:08:31 -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 x5S86bL9020381; 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 : mime-version : content-type; s=STMicroelectronics; bh=OkJkWdO3ZoRZHiMztQUd9Pc0c3rpuXyKwA33SFtPdis=; b=xMZPk79Nw36AwFGsijRPGGVDagkAqM4WO+0RiHwIGMHiIqaZjqsAKo3y9N5X0uPR2Ogs FdXLh7nt5Xivm/T0Ugd3M1eBy6XCczmS+cSngYs+FFM3A+X9nw2gSAgLf6/3DInv7Phs c2QI/TTpDnVM3wH/bBu/wTIYUU+0h5aoQe8DBDV/Aaotb52iQObeqNUSEZitstXzvjIj amzsL6YfcM4T8MjYoeoQwFBfv5rTQxRpCnqT9JunHoZ+N3jaKkzl30YNkY5RU/1NYs8y CqX2qjsJw+bmoYwo96rtICsd2SPkyxGs9tJ8V/kYoM/RcceIjknW3gYM+RzuuRc5PBOj fA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2t9d2gvcwq-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 7149431; Fri, 28 Jun 2019 08:08:14 +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 51A6616AF; Fri, 28 Jun 2019 08:08:14 +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:13 +0200 From: Fabrice Gasnier To: , , , CC: , , , , , Subject: [PATCH 0/4] regulator: add support for the STM32 ADC booster Date: Fri, 28 Jun 2019 10:08:05 +0200 Message-ID: <1561709289-11174-1-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) 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 Add support for the 3.3V booster regulator embedded in stm32h7 and stm32mp1 devices, that can be used to supply ADC analog input switches. It's useful to reach full ADC performance when their supply is below 2.7V (vdda by default). Fabrice Gasnier (4): dt-bindings: regulator: add support for the stm32-booster regulator: add support for the stm32-booster ARM: multi_v7_defconfig: enable STM32 booster regulator ARM: dts: stm32: add booster for ADC analog switches on stm32mp157c .../bindings/regulator/st,stm32-booster.txt | 18 +++ arch/arm/boot/dts/stm32mp157c.dtsi | 6 + arch/arm/configs/multi_v7_defconfig | 1 + drivers/regulator/Kconfig | 11 ++ drivers/regulator/Makefile | 1 + drivers/regulator/stm32-booster.c | 132 +++++++++++++++++++++ 6 files changed, 169 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/st,stm32-booster.txt create mode 100644 drivers/regulator/stm32-booster.c -- 2.7.4