Received: by 10.192.165.148 with SMTP id m20csp572695imm; Wed, 2 May 2018 05:28:02 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo8Ysvcr2JASgWO+tK+yXHfH0XmMSzGF+H2/k9bkO3SZppCqmJ4Tw+oeKMn9SW+Tr9LGyYb X-Received: by 2002:a63:7d43:: with SMTP id m3-v6mr9352931pgn.117.1525264082817; Wed, 02 May 2018 05:28:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525264082; cv=none; d=google.com; s=arc-20160816; b=oKoicscG0ZUApzVHowEM9obMsGdEsuD+hja1mj2mmVf8O2b8E+SXqfCZ7Ohw+Mqfxt Ay0Sewb/3k0EsVE1+vacZSqOPE/kYjG8BDNa++oH97bylVvzpak7kFzuh7a4Nhwlc4H1 5bB4KV8yMIalDU6eon4tmKjRv7g/xIliHXmfCZmjGdiBpwNt0bxDrb2gB2OBuc8eKhZr P2nVDbpaxAHGtL4+bTLv4Bz9zZ4jHK33h5v5pe5NGc5UyHOnTkGtw33WWuhqpp1xY8jn domT25sCc3LB1qvuTf65W/Tljf+eu49sVausQira/bLFDR6cD5WtZU3yllD9wQ78dpGm JJpw== 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=3JiQgVajovTsovIsoFc8U6YcdNbq6Ycfu+ci+jYIEDw=; b=XWrCigXQfwRwUjbue+oZxhV8Z+Xylr9HKoEo1BMWR+dkYIhx+lLbmuKEFTk7mwlxXm luQrbmYSUcFuy48d068IqxjCG+IkpIzrDu+iS0eqHDwh18kQTwi19blUqQV19K8PzIKd H0yYpkfjsdFDdUeyeWquf/vt61LS3Hl/GED3Dga6Iv4ee8xuyoJZr1tvsoORxJBMwOzp pegTMzO9UU3NuaxJx/wPlG9UaEOgngmtINLxqVhWIbLjNhi4ZXfuaGTVkY35PTSc3CpV z6DbBoeNOjMsWKA7RnCJ31qWZQZl3h8qPnWBG68uHdyyrrXIo2puPUmmV7P3+YAG9TYv 9agA== 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 v7-v6si11649939plp.31.2018.05.02.05.27.48; Wed, 02 May 2018 05:28:02 -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 S1751271AbeEBM1j (ORCPT + 99 others); Wed, 2 May 2018 08:27:39 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:3278 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750930AbeEBM1h (ORCPT ); Wed, 2 May 2018 08:27:37 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w42COKtH012251; Wed, 2 May 2018 14:27:11 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2hqd07r3rs-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 02 May 2018 14:27:11 +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 B87373A; Wed, 2 May 2018 12:27: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 8C9A429A1; Wed, 2 May 2018 12:27:09 +0000 (GMT) Received: from [10.201.21.58] (10.75.127.46) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 2 May 2018 14:27:09 +0200 Subject: Re: [PATCH] ARM: dts: stm32: Add DAC support to stm32mp157c To: Fabrice Gasnier , CC: , , , , References: <1524066391-843-1-git-send-email-fabrice.gasnier@st.com> From: Alexandre Torgue Message-ID: <6e39a154-219e-96d1-f91e-e2e0990d8f0f@st.com> Date: Wed, 2 May 2018 14:27:00 +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: <1524066391-843-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.46] X-ClientProxiedBy: SFHDAG5NODE1.st.com (10.75.127.13) 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 05:46 PM, Fabrice Gasnier wrote: > Add support for DAC (Digital to Analog Converter) to STM32MP157C. > STM32MP157C DAC has two output channels. > > Signed-off-by: Fabrice Gasnier > --- > arch/arm/boot/dts/stm32mp157c.dtsi | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi > index bc3eddc..fd44b4d 100644 > --- a/arch/arm/boot/dts/stm32mp157c.dtsi > +++ b/arch/arm/boot/dts/stm32mp157c.dtsi > @@ -136,6 +136,30 @@ > status = "disabled"; > }; > > + dac: dac@40017000 { > + compatible = "st,stm32h7-dac-core"; > + reg = <0x40017000 0x400>; > + clocks = <&rcc DAC12>; > + clock-names = "pclk"; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + > + dac1: dac@1 { > + compatible = "st,stm32-dac"; > + #io-channels-cells = <1>; > + reg = <1>; > + status = "disabled"; > + }; > + > + dac2: dac@2 { > + compatible = "st,stm32-dac"; > + #io-channels-cells = <1>; > + reg = <2>; > + status = "disabled"; > + }; > + }; > + > uart7: serial@40018000 { > compatible = "st,stm32h7-uart"; > reg = <0x40018000 0x400>; > Applied on stm32-next. Thanks. Alex