Received: by 10.192.165.148 with SMTP id m20csp520702imm; Wed, 2 May 2018 04:33:30 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpTR53xQKHrAI/cpFt/C1f27zaGN5xL3Rp6uJs41ztksPqeGsprG95hVWHBUzrBhJOU6Msr X-Received: by 2002:a17:902:f44:: with SMTP id 62-v6mr19937908ply.318.1525260810342; Wed, 02 May 2018 04:33:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525260810; cv=none; d=google.com; s=arc-20160816; b=VOYv6Zu8Z7K6fSrU2z6X1Nd8vI4h9iPYtg5rREnvtFSPoZ/b3ksIp+CXLVg047WIa7 uelTo3DkC9IWs63O5lRGLFKAIHQRwInEgBZXMzOMSAl71wOHOKBDAAz2pakrOux6gFu5 5zQRRLvs2vTgYPu0xAlvikinP3ygmr4yljIfWWqOV/2PSSuEAqI4mQZxmAetgKQmdGar YPzB/+ERMUamgE8k6gOUZwXbnw0hyR2owc+N8pTiXT4JpMxiiNeuM2/yYdinS7LiA5xu ByFCYq19w/+e9RcqlBMgdZQRs9avjyQ+4Z8L/oD73uA0B4zJxECUVxK85ohf4uf2HUVD aT/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=zPNF8OjtezRgHp8J8gW5Tsd+FkvYLhE+/cHVaz7ZRnw=; b=Djy6C8kvEkANe8pwd4Bv5hFm7e+TQ5NPsw3wyPLlFCfRf2j/qmaBWMF7XXgWerpeV/ DKiNKmtnH+1urObEmWWVc1EaVxS3W1RtgYBWMyOy+hoUrnX5YWfwXptIbob9A6WCCi/J VFpliv6jR/wA7ybe/o6xLasWZX4ERuMOHZMG+4LGPd0HPhHWQpp7qyTcjWGghX4ET4zJ Nh1zqx4xmCXvxx4Cep6wf0A8eBjMXRbxoiPA/+Q+7n1f+TwWqY5yXKPEyu1EyUdV+AhU MZarfMM+5ZJf5bTpwQB0lXPYG/T5Dl3JDiTESG7tNDXI83jBPhj9R+LK0I8dFf16R2uu awzQ== ARC-Authentication-Results: i=1; mx.google.com; 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 m2-v6si9598222pgm.360.2018.05.02.04.33.16; Wed, 02 May 2018 04:33:30 -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; 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 S1751463AbeEBLcb (ORCPT + 99 others); Wed, 2 May 2018 07:32:31 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:46228 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751079AbeEBLc3 (ORCPT ); Wed, 2 May 2018 07:32:29 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w42BSsNs026456; Wed, 2 May 2018 13:32:10 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2hqbkt091a-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 02 May 2018 13:32:10 +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 780EB31; Wed, 2 May 2018 11:32:09 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2E8F72823; Wed, 2 May 2018 11:32:09 +0000 (GMT) Received: from [10.201.21.58] (10.75.127.44) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 2 May 2018 13:32:08 +0200 Subject: Re: [PATCH] ARM: dts: stm32: Add vrefbuf support to stm32mp157c To: Fabrice Gasnier , CC: , , , , References: <1524037665-26178-1-git-send-email-fabrice.gasnier@st.com> From: Alexandre Torgue Message-ID: <664e594b-067d-9abb-ecd3-8240cce91449@st.com> Date: Wed, 2 May 2018 13:31:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1524037665-26178-1-git-send-email-fabrice.gasnier@st.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-02_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fabrice, On 04/18/2018 09:47 AM, Fabrice Gasnier wrote: > stm32mp157c has vrefbuf regulator that can provide analog reference > voltage from 1500mV to 2500mV. > > Signed-off-by: Fabrice Gasnier > --- > arch/arm/boot/dts/stm32mp157c.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi > index bc3eddc..7df3c99 100644 > --- a/arch/arm/boot/dts/stm32mp157c.dtsi > +++ b/arch/arm/boot/dts/stm32mp157c.dtsi > @@ -167,6 +167,15 @@ > #reset-cells = <1>; > }; > > + vrefbuf: vrefbuf@50025000 { > + compatible = "st,stm32-vrefbuf"; > + reg = <0x50025000 0x8>; > + regulator-min-microvolt = <1500000>; > + regulator-max-microvolt = <2500000>; > + clocks = <&rcc VREF>; > + status = "disabled"; > + }; > + > usart1: serial@5c000000 { > compatible = "st,stm32h7-uart"; > reg = <0x5c000000 0x400>; > Applied on stm32-next. Thanks. Alex