Received: by 10.192.165.148 with SMTP id m20csp3332384imm; Mon, 7 May 2018 10:24:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr+gkJgOhGlqt3l28Arur2WXjOcPPpMlP7Qa2GFHvkcdBoRwiDcp7KxxijGI0bVxBZeaQ5A X-Received: by 2002:a24:a54:: with SMTP id 81-v6mr2398282itw.44.1525713848005; Mon, 07 May 2018 10:24:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525713847; cv=none; d=google.com; s=arc-20160816; b=ZG07iBqzx0wZZYWfWFqbvdeJfomxqFV6cm1pzfE2iv5cY/fJGyHNHxM6wovOY3ADxb wqucWpnnWKUSX212N7SR2wloZDO4yenMPSdicsKsbPB9aJ8nX71X2GKoJ5tgmsD/KgsO +AxJHFqvZ0MOd3vtnLTmuqO/tVU6zrQyE9VL0GRB08pgLSkB4c4qJjnPF7ABdCr0+dWA oSmuRbAYoPkMpqqrI1BS87zN0uLx1EjAIGSzBgqN+b234MwhubXkm6Lxpb8QZqHTLOj9 nY/JUwSorAGHZE7ucWZ7j508rR5yJ2pe26WZA4bEjhol+oYMksqGeOpfC0TL3Yr0pQl4 TajA== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=a2lZgqMlYJF9/NAAJGlkUaAfxUgNQ7GGqjRJ8W57cAg=; b=ykIxMsIiGKfYYLNwcs26keLZQasEftp4mbwsGeHhPA7jpwmFx/7rkO6EJYh3SXSwCN ZyBGz9eZdpB0pBOSvf8jAGBe0b4AzTWS4wYjYCnuPczpWJ/ZUa3Lql2I9vHYDLTKqUrv 3skX4cEnX+14jRrBe1lfpY4QmcGu171OidHSVeG8yvsu5a5DXPfS01o8xjXtmWGSBBEY /u3mH6QJZBLfx0bYa42jmWflJbmpJKvaKDocdZ9tFCcKKERMRjUmcLfCzWL/w4MT3ZcW Nv6MReqyQAHSApnBUSwi2F6KXAbR51CGSptKE2ryBmowflehqXnXoh7a/o3M06WYFD0n nZ0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xE93npMZ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o63-v6si7876118ito.12.2018.05.07.10.23.54; Mon, 07 May 2018 10:24:07 -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; dkim=pass header.i=@kernel.org header.s=default header.b=xE93npMZ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752449AbeEGRXY (ORCPT + 99 others); Mon, 7 May 2018 13:23:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:44032 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751913AbeEGRXX (ORCPT ); Mon, 7 May 2018 13:23:23 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1E36F2173F; Mon, 7 May 2018 17:23:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1525713803; bh=/9KcFHQ7Bo69TRoPBFpBHY3tMoUdQuziOtTtqrQMZdI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=xE93npMZev6WC8eQFN6Es8ykXH8QzmSDNRUUfLX5bZGiJhwgUMz3EDgW59ZGBk2C6 toXUDVXN0FigxUHcPiLICUy7TCK8YUD09NCpM9GvIIcqrdip02wO15w3QFgDCxTATS F9xMxi2j0rEacTqHdiarGtplH/hH+A5gYAxlDNiI= Date: Mon, 7 May 2018 18:23:17 +0100 From: Jonathan Cameron To: Fabrice Gasnier Cc: , , , , , , , , , , , Subject: Re: [PATCH v2 3/3] ARM: dts: stm32: Add ADC support to stm32mp157c Message-ID: <20180507182317.7406c682@archlinux> In-Reply-To: <1525247091-18143-4-git-send-email-fabrice.gasnier@st.com> References: <1525247091-18143-1-git-send-email-fabrice.gasnier@st.com> <1525247091-18143-4-git-send-email-fabrice.gasnier@st.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 May 2018 09:44:51 +0200 Fabrice Gasnier wrote: > stm32mp157c has an ADC block with two physical ADCs. > > Signed-off-by: Fabrice Gasnier The driver support is now queued up in the IIO tree and should be in Linux next later this week. Thanks, Jonathan > --- > arch/arm/boot/dts/stm32mp157c.dtsi | 32 ++++++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > > diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi > index bc3eddc..7758a90 100644 > --- a/arch/arm/boot/dts/stm32mp157c.dtsi > +++ b/arch/arm/boot/dts/stm32mp157c.dtsi > @@ -160,6 +160,38 @@ > status = "disabled"; > }; > > + adc: adc@48003000 { > + compatible = "st,stm32mp1-adc-core"; > + reg = <0x48003000 0x400>; > + interrupts = , > + ; > + clocks = <&rcc ADC12>, <&rcc ADC12_K>; > + clock-names = "bus", "adc"; > + interrupt-controller; > + #interrupt-cells = <1>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + > + adc1: adc@0 { > + compatible = "st,stm32mp1-adc"; > + #io-channel-cells = <1>; > + reg = <0x0>; > + interrupt-parent = <&adc>; > + interrupts = <0>; > + status = "disabled"; > + }; > + > + adc2: adc@100 { > + compatible = "st,stm32mp1-adc"; > + #io-channel-cells = <1>; > + reg = <0x100>; > + interrupt-parent = <&adc>; > + interrupts = <1>; > + status = "disabled"; > + }; > + }; > + > rcc: rcc@50000000 { > compatible = "st,stm32mp1-rcc", "syscon"; > reg = <0x50000000 0x1000>;