Received: by 10.192.165.156 with SMTP id m28csp1382620imm; Wed, 18 Apr 2018 08:48:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/0dT/g9Er5UMx1hN7DU8STYHUwO4WoC4YXRLi4q63yx6W+nMXZsNY0v9nuTeOpfulQnZjX X-Received: by 2002:a17:902:ba94:: with SMTP id k20-v6mr2564064pls.193.1524066526542; Wed, 18 Apr 2018 08:48:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524066526; cv=none; d=google.com; s=arc-20160816; b=eanfeuLJC547Z4NFSvLZrqEMSh3pRVBq58IFpP0AVL1pHnJxyXT/9B3ShVfy7x89/5 t8BcLkOw5HXvyh8tFZn/6qHP8oO7QrLFXXwdvn7apclv5oQc+mGKBvfKkZS/0i9WXAib wy3kYk1TQdgIb5Meg+FW50cG9kxYp7PbFWAPRYUM6BK4chSg3fXX6BZB58qWc7fApeIk ywhvQRJ8u7W10xIcA9KpAcfjd/nnDaLh73tciD7p36oHWS9yqhv4IuXa2a6/lPdH3IW2 xPl7Oyf5Iee2WGKXQRiYmB5xCa0IspguC6OiklJzYbwmZGSyOsiTq5D1tiUnsQFjtqYu Y2Kg== 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:arc-authentication-results; bh=zXnCnZdC8/8y/N0BRkbuKe4sZudDJ4I1et5ouwYwYcM=; b=uAewC+WfdI+8jpqJ1Ej+OnYEJci6bdFAve5uhGbsggKFyYeo4oKey5SlUixuFL6tTn JBNq35/EHKuW7vIp1LOms1gBN6dqnnSO38e7rCN4IKMyTkRCUjlCjhB5nQOmWQ6QW94p zHhsaJALAb3GS6G9wfZFOrHYLZUklnuln18BiY72/iUgTAV8DZbaOmXOfrlki3EqRAfC EMQEsmC4OaSTH6FkJGdniL3VP8SMEAGAKl/le99XXar16nQQj6VkP6bfjrvt4d9aFEmT bZzK/znA4y5N5Gd/Pi3T0b2RvTf/4xoj5ZukP1wfs64o8uZDqRaKqVimRfEMl58WUVLb HxZA== 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 y186si1368052pfb.284.2018.04.18.08.48.32; Wed, 18 Apr 2018 08:48:46 -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 S1753969AbeDRPr2 (ORCPT + 99 others); Wed, 18 Apr 2018 11:47:28 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:1845 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753087AbeDRPrZ (ORCPT ); Wed, 18 Apr 2018 11:47:25 -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 w3IFiRqu006019; Wed, 18 Apr 2018 17:46:36 +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 2hds2hchvk-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 18 Apr 2018 17:46:36 +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 2F5EA34; Wed, 18 Apr 2018 15:46:36 +0000 (GMT) Received: from Webmail-eu.st.com (gpxdag5node6.st.com [10.75.127.79]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C1545542E; Wed, 18 Apr 2018 15:46:35 +0000 (GMT) Received: from localhost (10.75.127.119) by GPXDAG5NODE6.st.com (10.75.127.79) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 18 Apr 2018 17:46:35 +0200 From: Fabrice Gasnier To: , CC: , , , , , Subject: [PATCH] ARM: dts: stm32: Add DAC support to stm32mp157c Date: Wed, 18 Apr 2018 17:46:31 +0200 Message-ID: <1524066391-843-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.119] X-ClientProxiedBy: GPXDAG3NODE4.st.com (10.75.127.71) To GPXDAG5NODE6.st.com (10.75.127.79) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-18_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 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>; -- 1.9.1