Received: by 10.223.185.116 with SMTP id b49csp559447wrg; Fri, 23 Feb 2018 03:13:31 -0800 (PST) X-Google-Smtp-Source: AH8x226WOG7NZA8A+s5HRq7mDbAkgpR6mClpEmWcBiz/2LVj1GuI4vLXM9Cj8+PwhblKxpwn8hCQ X-Received: by 10.101.86.198 with SMTP id w6mr1155724pgs.434.1519384411193; Fri, 23 Feb 2018 03:13:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519384411; cv=none; d=google.com; s=arc-20160816; b=fTUeN8w7K4b1k9v/Y5PatXyacIQ8kQunB078+7lrVv3IP21eA8cY8aIQqfV3y+vIBt PmghL6ZEaQIYtywA4SJ/VZZZI7iZpwevmB2i306er/RmCQQQJlIlBe2wHArNv2RaBpMa fcyd4uUeDDQqr0jVjVm1ZQby/lEzjY5uCVgkzSQw51RUwXjcDX/pIIo7p9+l9nJ52V4v 8dreMEcruVKj8N0VGZquuJxj8nd8delNZJNaSuhLrI4o9eQM0/m9VNlQwB/fJOufLYNE 0eXBXZ2NMS2IQTU4vNbBDejG5n/4zXlNiH2MM5lISfAs4pOdcjoMbzJqfZVX5gsrKYQz bw/w== 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=E5A0WkSz9r9wOpEu20pYmDk6qjbZ1Aq+aQ+rhbOyooM=; b=hy/YrB9eieq+M2mSbUYLkL5LAZYlQdL816L8OLOCd072cKNJJSGHQi4z0/7DvFDYPp MBcmO4zqb3ZLF6yLLoJfIPsGGmJy/27bBaDK+JX4AQDrFPpuJzooLgbR5sIoo5zfEe6n fRsOkcONE16GJQtPYBGbwWYAKhAV35zr5cuNI3bmX9nReIGVU87LiNWaRGGpacQkGOLT gk0qR3swMyQ894+tZJ3Um+zVxZyyVVR+jrS2VP+pjnRaVK7O3k8uDx+/kgtman04JuWc 1S5M8EZRFYASUc+zVKtUEQ/lVNYluqHqAp9AfoFnPfc6DysTTGHf2q1nvgBI7yO79YBt nNcQ== 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 k66si1656856pfa.415.2018.02.23.03.13.17; Fri, 23 Feb 2018 03:13:31 -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 S1751740AbeBWLMA (ORCPT + 99 others); Fri, 23 Feb 2018 06:12:00 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:22440 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751716AbeBWLL5 (ORCPT ); Fri, 23 Feb 2018 06:11:57 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1NB9Oeo008144; Fri, 23 Feb 2018 12:11:15 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2g9bqv1bud-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 23 Feb 2018 12:11:15 +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 AFC0A34; Fri, 23 Feb 2018 11:11:14 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 823EA2AFB; Fri, 23 Feb 2018 11:11:14 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 23 Feb 2018 12:11:13 +0100 From: Fabrice Gasnier To: , CC: , , , , , , , , , , , , , Subject: [PATCH] dt-bindings: iio: adc: stm32-dfsdm: fix types, add missing pinctrl Date: Fri, 23 Feb 2018 12:11:00 +0100 Message-ID: <1519384260-23875-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.44] X-ClientProxiedBy: SFHDAG4NODE2.st.com (10.75.127.11) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-23_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - 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) -- 1.9.1