Message ID | 1570630372-24579-3-git-send-email-fabrice.gasnier@st.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 4951d99551661eef9a74e35e39c0424e3d2494a5 |
Headers | show
Return-Path: <SRS0=fsGl=YC=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 84B931668 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 9 Oct 2019 14:13:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 44CDD218AC for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 9 Oct 2019 14:13:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="n8dETIXN"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="jjpy1ZRu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 44CDD218AC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0kpoYnitdVP+6kA2AIoaOqO3yqohG6ezyN1EvQDnEVA=; b=n8dETIXNeYruG1 R3lK3upt6ZsAXccEjuW7GoVovS9PITx+2wIYIrixev39DDsaI4v0wRaVXXJkL7a4AvNt3aaslzafO hzJ803DeEVMIJsUm7Rq+m4GhROxCea1p1dLW2801rxE9WD0dHtJdZplJ80EGj3oxhFkXDMzm+2rSf ajvCsuhd5QDagxdq+KTBOeoPm9T/FdlDNWqqcJJfZU2vVp8maxC0BF/3eSfcYBtUsF1NJS27Mf3qG FBrKUFaIJr/l0cKDH+uSrixrMQ+eXP89a2bTI/BnQBLLqe1CN8vYO2mtIigafHyJOZJwBu+207fc8 aeIjBPcteflDWtXTk5nA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iICiW-0007UD-1u; Wed, 09 Oct 2019 14:13:28 +0000 Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iICi9-0006j0-4q for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2019 14:13:06 +0000 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x99EB8k1002204; Wed, 9 Oct 2019 16:12:58 +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=W0FeZpUSt+/rnOmNlmsayVnYWoa4oyrKoH7/onjOr/s=; b=jjpy1ZRuUJ6bzczj22wl6sK6lCIC9wYbFzlXt3k/s/80ShBlDIjeAJ5Gez9I+7zDMzFa 39XQGxSvaJvauS7HwwOkEIY2/zSoPAracx8R0Ei3iilAbu9nbA0pH+0vBSQmUHBQOIaK Bz7X3rCC0HpemqZCJkQlRW37y1LdJeCHMxDjylCvNQiLHjnji9P89lQ48KwqZ8+uupDL 2mNIuwOrfTd2Tlyea2RSIPCuJqioQhHQadGIamNrKT3LbZcnL36WCj04ujTgsOgnWgG3 IAVI3vQIlBrYQV5kJKZcgjSlw6IDqyZjqO6mqQuK5B01JxXC54uFGCqTPQwpM8wdOQy8 DA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2vegn0xeud-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 09 Oct 2019 16:12:58 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 86455100034; Wed, 9 Oct 2019 16:12:58 +0200 (CEST) Received: from Webmail-eu.st.com (Safex1hubcas21.st.com [10.75.90.44]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 7C0F921E6AF; Wed, 9 Oct 2019 16:12:58 +0200 (CEST) Received: from SAFEX1HUBCAS23.st.com (10.75.90.46) by SAFEX1HUBCAS21.st.com (10.75.90.44) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 9 Oct 2019 16:12:58 +0200 Received: from localhost (10.48.0.192) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 9 Oct 2019 16:12:58 +0200 From: Fabrice Gasnier <fabrice.gasnier@st.com> To: <alexandre.torgue@st.com> Subject: [PATCH 2/2] ARM: dts: stm32: Add DAC support to stm32mp157c-ed1 Date: Wed, 9 Oct 2019 16:12:52 +0200 Message-ID: <1570630372-24579-3-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570630372-24579-1-git-send-email-fabrice.gasnier@st.com> References: <1570630372-24579-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 X-Originating-IP: [10.48.0.192] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-09_06:2019-10-08,2019-10-09 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191009_071305_495996_DDC11329 X-CRM114-Status: GOOD ( 13.47 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [62.209.51.94 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, mcoquelin.stm32@gmail.com, fabrice.gasnier@st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
Add support for DAC on stm32mp157c-ed1
|
expand
|
diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts index 1d426ea..2b40ad9 100644 --- a/arch/arm/boot/dts/stm32mp157c-ed1.dts +++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts @@ -104,6 +104,19 @@ }; }; +&dac { + pinctrl-names = "default"; + pinctrl-0 = <&dac_ch1_pins_a &dac_ch2_pins_a>; + vref-supply = <&vdda>; + status = "disabled"; + dac1: dac@1 { + status = "okay"; + }; + dac2: dac@2 { + status = "okay"; + }; +}; + &dts { status = "okay"; };
stm32mp157c-ed1 board has digital-to-analog converter signals routed to JP11 and JP10 jumpers (e.g. PA4/PA5). It's easier then to configure them both. But keep them disabled by default, so the pins are kept in their initial state to lower power consumption. This way they can also be used as GPIO. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+)