Received: by 10.192.165.148 with SMTP id m20csp4858408imm; Tue, 24 Apr 2018 09:29:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx4908PhiojBmaiIz0457hMllsZBogpRsizN4r3WdMZJ+YCzfN3RIDv4B2BR7T8SbnpYf7RXe X-Received: by 2002:a17:902:7201:: with SMTP id ba1-v6mr24910560plb.283.1524587351013; Tue, 24 Apr 2018 09:29:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524587350; cv=none; d=google.com; s=arc-20160816; b=vqx/ihjLpP/R116HSuBh5D8QLKz1PwekFn4NXFHSY+UyJ9vpTOc8Doy8yn+SshSPu3 RNib2Bk/IcpEKOmsXFcP6FUlBOzMHZbimkgKo70iQ0vk0CE0Z6uKHaXryvOx4EhaVNlk ALeJKRnM400KYMv7SNgZsEC+VEaur+xmij5V4GabbRlG6BkEDkJNnM5oBsX8IMqyExj5 UgV+ZltHX40/KREZOdNkgGpiUu6bJ83b60IchitbH7Pax91iCSTTW/ZneLPjOSqvW6N1 dYHropPhTYP82qSSatmesSxdQYoy90ghf7B3rIce3AJK0joSkFPmIHMobDMGT2gIOLel VfcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=IUzDZTqovbJ9DUmi/xu5VGqngxo8X0Mal4uRTWTI+MM=; b=ZOTD1KhLUUwvumT73Rp2WnpKGgcas3Vjit0KyoBch/dqr5Z77tcYdqMKpqEljOFBEv MuVUDWDpSsKhIQhG9kG9adNIlRdQMUXV9sMmOWSfK5W8Y17jgNdS0witJTSKUzRGqwhh r8t4/YwAOlD/AHRD2jw9ObxPYvrd6/zqG4xABqcX2jQoaqvv4f4xK9QrYIKARcmUWhD4 N8fwDQIID9Cvml10QbKdI6Xt7auFgr2V+pxFpAWGN0m2m6z3wGanILE1IHVTXcjd+Cuf iHplcR1T5IuWTDxB3S0UmBbTWBMQpC4YBotw8PjgblVnYrwYGq11oLZRkjaKP3zefPhE imow== 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 33-v6si13851018plg.34.2018.04.24.09.28.56; Tue, 24 Apr 2018 09:29:10 -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 S1752532AbeDXQ13 (ORCPT + 99 others); Tue, 24 Apr 2018 12:27:29 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:43165 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751760AbeDXQ1X (ORCPT ); Tue, 24 Apr 2018 12:27:23 -0400 Received: by mail-oi0-f65.google.com with SMTP id p62-v6so18231157oie.10; Tue, 24 Apr 2018 09:27:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=IUzDZTqovbJ9DUmi/xu5VGqngxo8X0Mal4uRTWTI+MM=; b=ilz63lgD9W6gKXJ4+lMYKH14OMF0bTgmYcu7zPXXal1R3/BSlRogYCU2VAp0w1TRgU U1XFzBmoFhY7BXZBToeqwXQYZNM0f4ouUs2Yhp5qzrFYBkzlt6FySBMPCqqiSRQQuaas vjrHScILOK8lUTayjWBEHNaRil/CvLOaDAsLKcanLk5MFGog971KLsF91EOMeWRevRC6 wzS5VGHCtpK+ClmvZrjSB3Ok0cUghTceAnTmDiS5kRbk1FnlwCydlWS8fGlTh5pmMvVd +vp+4Q60hACJUaeAdHFFdxcAiUV3qsEbKsA6eLhWaGV6OL+UpsBsnxddVaaGTa9czL0s V3aQ== X-Gm-Message-State: ALQs6tC9WsxmOKGWAT6gG8yrh2oBfWd4F9Piicii5JQcfjPTWsLkW64d 9huafZ7mn8mYukc1+pb6vA== X-Received: by 2002:aca:e8d3:: with SMTP id f202-v6mr14488842oih.185.1524587242098; Tue, 24 Apr 2018 09:27:22 -0700 (PDT) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id c24-v6sm10323201otd.36.2018.04.24.09.27.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Apr 2018 09:27:21 -0700 (PDT) Date: Tue, 24 Apr 2018 11:27:21 -0500 From: Rob Herring To: Fabrice Gasnier Cc: jic23@kernel.org, alexandre.torgue@st.com, mark.rutland@arm.com, mcoquelin.stm32@gmail.com, lars@metafoo.de, knaack.h@gmx.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, benjamin.gaignard@linaro.org Subject: Re: [PATCH 1/3] dt-bindings: iio: stm32-adc: add support for STM32MP1. Message-ID: <20180424162721.qbfsc7j3syzzykeh@rob-hp-laptop> References: <1524065874-434-1-git-send-email-fabrice.gasnier@st.com> <1524065874-434-2-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1524065874-434-2-git-send-email-fabrice.gasnier@st.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > - 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 >