Received: by 10.192.165.148 with SMTP id m20csp1929040imm; Sat, 28 Apr 2018 08:22:58 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq721JvK33RizPfGab8wSRuo890QfE8WVv4no/N6Mm85EEEMV/WGpn6u8qargJyCd/O3OKX X-Received: by 2002:a17:902:9a04:: with SMTP id v4-v6mr6303277plp.21.1524928978246; Sat, 28 Apr 2018 08:22:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524928978; cv=none; d=google.com; s=arc-20160816; b=O9ygmYdjDSBd7BYnIVgpd+31ddHtCqjQQRzMSPvOnT43kRov7eEhM+MGi4DHlyOVE3 vRVXh7t8CsON+DV1sk9SfzPjbAmLYJvB98alElqc99pCVxYaRlo7TOjvzvN9MMBbUf9a k/R9XpnBF9jkJaR5YTPtiWtuuyKe/+3us+ZrStRhiDh94WuVHWRBcqFNaEvuUbFVWVmA zrsCaISGUe00CaaWhDz1V2ftnOrxxcDJdxuNuLXiMhsq+ycgjdC5zMfegjRXwqclTT3x AwFhkTofJk8iKRJtDqqGYK2cK3jcGgOUeI7EEHGXxxmbtPxTyC/09zY+GgGldKWNzF33 RXNg== 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 :dmarc-filter:arc-authentication-results; bh=UN+xrBYlXB8eKGh6fjTE/wkxu83h21Nve9LJLe1u3pA=; b=OY3JpXbdX3/MrN835WVE/yajBV+2GvCoc89T84SmxNxOndD/lUMQrRoa9CZN/RV/TB WOKqMFd+l516nyXoEkh2mgLz5EwjcW3Pt/LmOKYv3OUZWzhOLevB6d1ZOIU1id8VR/D5 LMYx89zOw1zNbuvQujNKe2yNh0Vepq2MLDWwP/3PLubP3cBWm6LshIwcrZNFDcS39QbR 6bWZAyBlQ14XggFyYowdcHamUjfuAHE03amIvSozBb/gTn/BT/WMywrO9FXHrfLxsafc 6wTYLKxyxpcOcYY66UuNFW6pqkeNaWtTaZzH8uGK/dzZ0g45fjMvHZRKGTEi2V8efuWV teQg== 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 q4-v6si3705339plb.312.2018.04.28.08.22.00; Sat, 28 Apr 2018 08:22:58 -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 S1753382AbeD1PSc (ORCPT + 99 others); Sat, 28 Apr 2018 11:18:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:35644 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751400AbeD1PSa (ORCPT ); Sat, 28 Apr 2018 11:18:30 -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 5B22B21A7C; Sat, 28 Apr 2018 15:18:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B22B21A7C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Sat, 28 Apr 2018 16:18:22 +0100 From: Jonathan Cameron To: Fabrice Gasnier Cc: Rob Herring , , , , , , , , , , , Subject: Re: [PATCH 1/3] dt-bindings: iio: stm32-adc: add support for STM32MP1. Message-ID: <20180428161822.6100bb07@archlinux> In-Reply-To: References: <1524065874-434-1-git-send-email-fabrice.gasnier@st.com> <1524065874-434-2-git-send-email-fabrice.gasnier@st.com> <20180424162721.qbfsc7j3syzzykeh@rob-hp-laptop> 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, 25 Apr 2018 09:22:02 +0200 Fabrice Gasnier wrote: > On 04/24/2018 06:27 PM, Rob Herring wrote: > > On Wed, Apr 18, 2018 at 05:37:52PM +0200, Fabrice Gasnier wrote: > >> Document support for STM32MP1 ADC. It's quite similar to STM32H7 ADC. > >> Introduce "st,stm32mp1-adc" compatible to handle variants of this > >> hardware such as vregready flag, interrupts, clock rate. > >> > >> Signed-off-by: Fabrice Gasnier > >> --- > >> Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt | 6 +++++- > >> 1 file changed, 5 insertions(+), 1 deletion(-) > >> > >> diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt > >> index e8bb824..9994384 100644 > >> --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt > >> +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt > >> @@ -24,8 +24,11 @@ Required properties: > >> - compatible: Should be one of: > >> "st,stm32f4-adc-core" > >> "st,stm32h7-adc-core" > >> + "st,stm32mp1-adc-core" > >> - reg: Offset and length of the ADC block register set. > >> -- interrupts: Must contain the interrupt for ADC block. > >> +- interrupts: One or more interrupts for ADC block. Some parts like stm32f4 > >> + and stm32h7 share a common ADC interrupt line. stm32mp1 has separate > >> + lines for each ADC within ADC block. > > > > How many interrupt lines is that? > > Hi Rob, Jonathan, > > I should have mentioned this: stm32mp1 has two separate interrupt lines > for each ADC within ADC block. > > Do you wish I send a V2 for this ? Or a patch to fix this ? Hmm. I haven't pushed this out as non rebasing so I'll revert this and the associated support so you can clean this corner up. So please send a V2. Thanks, Jonathan > > Please let me know, > BR, > Fabrice > > > > >> - clocks: Core can use up to two clocks, depending on part used: > >> - "adc" clock: for the analog circuitry, common to all ADCs. > >> It's required on stm32f4. > >> @@ -53,6 +56,7 @@ Required properties: > >> - compatible: Should be one of: > >> "st,stm32f4-adc" > >> "st,stm32h7-adc" > >> + "st,stm32mp1-adc" > >> - reg: Offset of ADC instance in ADC block (e.g. may be 0x0, 0x100, 0x200). > >> - clocks: Input clock private to this ADC instance. It's required only on > >> stm32f4, that has per instance clock input for registers access. > >> -- > >> 1.9.1 > >> > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html