Received: by 10.223.185.116 with SMTP id b49csp719655wrg; Fri, 23 Feb 2018 05:50:42 -0800 (PST) X-Google-Smtp-Source: AH8x225To+UHtRvJiWLuTQE0iHwjmrACSLz95vcFfpXcmrRz/MAJ5VQuvY4nKseV85UrYi5k2ZtJ X-Received: by 10.99.102.5 with SMTP id a5mr1510149pgc.452.1519393842849; Fri, 23 Feb 2018 05:50:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519393842; cv=none; d=google.com; s=arc-20160816; b=xp1kH4x0+qtc2QGkGDL38+qUKhiSFYn6fVlnpfqNQjrPFwWFQiX4MZtE5/BLhZnPyi J7ltFKNqTZZUWZDurkKaiIyKcSDsQiThHc+vGE979ziGsKBbUCfKwOxOaPLjcCcWSS2/ 3Uscu+wea8Bu53IS2iNzWcTSouR5dc7wEOYzl/k3og8JjThWuZ6eduK3mYF246FeEiWS +WErQRtSZ53ZeGIJPfwMKAY5PNrexnDvpgjF+ZIrOfACv81Ht/l2o0eSGmXe9u0CJB5N hTua1wvaTk+ykAOyJDo/fc518dg/CGYWPEF2QBn4fCmS9InCPnqLtgYmEKET2E1WmF/Z LIjw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=PnFpTUg5Ev0zLlHjt+ZJbTqbOEG/MUS72yDhT7lOXZw=; b=eg6O8R7qlAyMpXQRGj6nQfK2G3A0KzzbbkZbzYzcdV5/Z3YWD04+xqKjbPTJnKnw8s yfnRUUXalBj1tG/N7dfhSEdrw9KcVmbs1iXvlEAro4AfYfDBGEZHbuHH5i6Sdgw2+5MY BUBdRoNLkztlBLUR6nUe9keVaCUwQPZNgqGeR3d+uaosNNArjH87+rIIWobzmO7+yks3 EkEdzYV2Tak4VuZ3Xz+NHx5O0cpbDg9TpERxOtSz1VylqSJBbIkVb+9fbPn1XgoFeNPK zmus5ak2GGaQIXjAHAa1xgr9MOR0gDjOd0xvdwBQevKRjFgSXYki2qd9xsJ1+Hnp+2iE 9Eog== 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 h16-v6si1776441pli.832.2018.02.23.05.50.28; Fri, 23 Feb 2018 05:50:42 -0800 (PST) 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 S1751534AbeBWNsj (ORCPT + 99 others); Fri, 23 Feb 2018 08:48:39 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:21097 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751276AbeBWNsh (ORCPT ); Fri, 23 Feb 2018 08:48:37 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1NDi23u021242; Fri, 23 Feb 2018 14:47:39 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2g9bqd298x-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Feb 2018 14:47:39 +0100 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 C48DC38; Fri, 23 Feb 2018 13:47:37 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 71A684F7C; Fri, 23 Feb 2018 13:47:37 +0000 (GMT) Received: from [10.201.23.162] (10.75.127.48) by SFHDAG3NODE1.st.com (10.75.127.7) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 23 Feb 2018 14:47:36 +0100 Subject: Re: [PATCH] dt-bindings: iio: adc: stm32-dfsdm: fix types, add missing pinctrl To: Fabrice Gasnier , , CC: , , , , , , , , , , , References: <1519384260-23875-1-git-send-email-fabrice.gasnier@st.com> From: Arnaud Pouliquen Message-ID: <7e40cdfc-8d9f-ccfb-f3fd-8d639a87d5b0@st.com> Date: Fri, 23 Feb 2018 14:47:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1519384260-23875-1-git-send-email-fabrice.gasnier@st.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG7NODE2.st.com (10.75.127.20) To SFHDAG3NODE1.st.com (10.75.127.7) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-23_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Acked-by: Arnaud Pouliquen Regards, Arnaud On 02/23/2018 12:11 PM, Fabrice Gasnier wrote: > - Add missing pinctrl description. Support is made optional as dfsdm > may use internal sources (e.g. via registers) > - Fix typo in IIO STM32 DFSDM filter "MANCH_F" description. > Basically, this should be "falling edge = logic 0", not "1" that applies > to "MANCH_R". > BTW, make the description complete by describing both rising/falling > edges as described in reference manuals. > > Fixes: 6c82f947fc97 ("IIO: add DT bindings for stm32 DFSDM filter") > > Signed-off-by: Fabrice Gasnier > --- > Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.txt | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.txt b/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.txt > index 911492da..ed7520d 100644 > --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.txt > +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-dfsdm-adc.txt > @@ -32,6 +32,10 @@ Optional properties: > to "clock" property. Frequency must be a multiple of the rcc > clock frequency. If not, SPI CLKOUT frequency will not be > accurate. > +- pinctrl-names: Set to "default". > +- pinctrl-0: List of phandles pointing to pin configuration > + nodes to set pins in mode of operation for dfsdm > + on external pin. > > Contents of a STM32 DFSDM child nodes: > -------------------------------------- > @@ -68,8 +72,8 @@ Optional properties: > - st,adc-channel-types: Single-ended channel input type. > - "SPI_R": SPI with data on rising edge (default) > - "SPI_F": SPI with data on falling edge > - - "MANCH_R": manchester codec, rising edge = logic 0 > - - "MANCH_F": manchester codec, falling edge = logic 1 > + - "MANCH_R": manchester codec, rising edge = logic 0, falling edge = logic 1 > + - "MANCH_F": manchester codec, rising edge = logic 1, falling edge = logic 0 > - st,adc-channel-clk-src: Conversion clock source. > - "CLKIN": external SPI clock (CLKIN x) > - "CLKOUT": internal SPI clock (CLKOUT) (default) >