Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751740AbdH3P4Q (ORCPT ); Wed, 30 Aug 2017 11:56:16 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:41921 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751405AbdH3P4N (ORCPT ); Wed, 30 Aug 2017 11:56:13 -0400 From: Fabrice Gasnier To: , , , CC: , , , , , , Subject: [PATCH v2 0/3] Add support for STM32 vrefbuf regulator Date: Wed, 30 Aug 2017 17:55:26 +0200 Message-ID: <1504108529-31727-1-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG1NODE1.st.com (10.75.127.1) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-08-30_07:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1056 Lines: 27 Some STM32 devices embed a voltage reference buffer which can be used as voltage reference for ADCs, DACs and also as voltage reference for external components through the dedicated VREF+ pin. This patchset adds vrefbuf regulator driver, device tree bindings and vrefbuf device tree node for STM32H7 SoC. --- Changes in v2: - Update regulator driver following Mark's remarks Fabrice Gasnier (3): dt-bindings: regulator: Add STM32 Voltage Reference Buffer regulator: Add support for stm32-vrefbuf ARM: dts: stm32: add vrefbuf to stm32h743 .../bindings/regulator/st,stm32-vrefbuf.txt | 20 ++ arch/arm/boot/dts/stm32h743.dtsi | 9 + drivers/regulator/Kconfig | 12 ++ drivers/regulator/Makefile | 1 + drivers/regulator/stm32-vrefbuf.c | 202 +++++++++++++++++++++ 5 files changed, 244 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/st,stm32-vrefbuf.txt create mode 100644 drivers/regulator/stm32-vrefbuf.c -- 1.9.1