From patchwork Mon Jan 30 13:57:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Gasnier X-Patchwork-Id: 721542 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3vBsYY5LFvz9stc for ; Tue, 31 Jan 2017 01:42:25 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753563AbdA3OmN (ORCPT ); Mon, 30 Jan 2017 09:42:13 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:53365 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753599AbdA3OmM (ORCPT ); Mon, 30 Jan 2017 09:42:12 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by m0046037.ppops.net (8.16.0.11/8.16.0.11) with SMTP id v0UDnXXV005304; Mon, 30 Jan 2017 14:58:40 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-.pphosted.com with ESMTP id 288hxw1hha-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 30 Jan 2017 14:58:40 +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 BADEC34; Mon, 30 Jan 2017 13:58:39 +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 5D1312AB4; Mon, 30 Jan 2017 13:58:39 +0000 (GMT) Received: from localhost (10.75.127.47) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Mon, 30 Jan 2017 14:58:38 +0100 From: Fabrice Gasnier To: , , , , , CC: , , , , , , , , , Subject: [PATCH 3/5] Documentation: dt: iio: document stm32 exti trigger Date: Mon, 30 Jan 2017 14:57:41 +0100 Message-ID: <1485784663-19505-4-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1485784663-19505-1-git-send-email-fabrice.gasnier@st.com> References: <1485784663-19505-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG6NODE2.st.com (10.75.127.17) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-01-30_08:, , signatures=0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add dt documentation for st,stm32-exti-trigger. EXTi gpio signal can be routed internally as trigger source for various IPs (e.g. for ADC or DAC conversions). Signed-off-by: Fabrice Gasnier --- .../bindings/iio/trigger/st,stm32-exti-trigger.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/trigger/st,stm32-exti-trigger.txt diff --git a/Documentation/devicetree/bindings/iio/trigger/st,stm32-exti-trigger.txt b/Documentation/devicetree/bindings/iio/trigger/st,stm32-exti-trigger.txt new file mode 100644 index 0000000..ebf2645 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/trigger/st,stm32-exti-trigger.txt @@ -0,0 +1,17 @@ +STMicroelectronics STM32 EXTI trigger bindings + +EXTi gpio signal can be routed internally as trigger source for various +IPs (e.g. for ADC or DAC conversions). + +Contents of a stm32 exti trigger root node: +------------------------------------------- +Required properties: +- compatible: Should be "st,stm32-exti-trigger" +- extiN-gpio: optional gpio line that may be used as external trigger source + (e.g. N may be 0..15. For example, exti11-gpio can trig ADC on stm32f4). + +Example: + triggers { + compatible = "st,stm32-exti-trigger"; + exti11-gpio=<&gpioa 11 0>; + };