From patchwork Tue Jun 11 12:25:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erwan Le Ray X-Patchwork-Id: 166439 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp2293055ilk; Tue, 11 Jun 2019 05:25:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjMoT/593AB6qfdxVPsqQBKS579HbDgBTZV1ybMswUvxNx8V8ohh5w4/BFOy3fB3ixFccM X-Received: by 2002:a63:1919:: with SMTP id z25mr20514869pgl.440.1560255959246; Tue, 11 Jun 2019 05:25:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560255959; cv=none; d=google.com; s=arc-20160816; b=Nv9ewjvp6OWvvL5obxKGC17Mrhu3sSH6wgP5uuSO4bY5BZ1viLn5yMfNUh+b6KULri Lj4fTDSwJOMfiSMnBk4WvEW0qgmn+Z4NUfLAaHTRH1BjCq/ZKGvCuWqfLHffXphGFNqi TPVekidWVFKShlfr8c2mVHacopxlifbANNI7GoN6K/c0Uv802PTxHgZkJPvPQgB2pfRP WtebyOX5KxhdwRG7Km3lmxp7jx/F8AF9RfDlx2Xeufx3LoeXZGgbUIfKjJRh/juqj1fH f8i85juO5Txz49qjAZS4GZPkVeJ/xQgNUsMmkb8qEsE/qM0BR9eBMApgKtIaKpx2FuJC AWZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=9gSGjqYoy+Fbf2xPESzbOyGUbO7HOvEvjLu/ZOx6/bE=; b=Ji3zbcKOokvwOzTtt28T/r6ibYAKZUQ5ajWWiamZVJzuBuI6wNyHG4O+md53DnOAQt d6r7lTJ26u96swz83cupYDQji280YByRH3q27aO9lyR4r+WlSTj3tKm35sah3WB8PDLT szEUuc4MP4IISytGuhjGVEANya2qaqgFwt4d2VpcmXLww/uOviDS+FJteix/DTn0ega6 jtm164z/L6Wgdc/jePO5/ztuhUNQqzG3z4JTTocQ+PqZ32KO6+zsfBPyeIFulSxiernB o2Ias7QTJlXfGcojscRjZteyTeu1CdfJQqRtwbXKZmcdO23oWMfemaA3+kf1bHzdKlTO uIgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=vfqyNEAR; 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 f16si2559201pjg.50.2019.06.11.05.25.58; Tue, 11 Jun 2019 05:25:59 -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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=vfqyNEAR; 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 S2389605AbfFKMZ5 (ORCPT + 30 others); Tue, 11 Jun 2019 08:25:57 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:49129 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389224AbfFKMZz (ORCPT ); Tue, 11 Jun 2019 08:25:55 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5BCLjBU023743; Tue, 11 Jun 2019 14:25:41 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=9gSGjqYoy+Fbf2xPESzbOyGUbO7HOvEvjLu/ZOx6/bE=; b=vfqyNEARQmrgEmlmrqcuJv1pPBpIuYiWyPUO4H+t3g7kW7GBkM+Aq9xLaoNVfJuL+/FB ruoP07PfJHd1IzS0Lx/NxijwEUgohe+fsAMp1MxiSLYBNsTUYTFojV0tkjxGjvahR7vH sIQarKE9Y86DZQWCdRC48035eIYq0niGvvanYAIxfenDSy3o0mfH0VL2/JwdB150onnZ 8xUFJx70ld4Z1neM67d1d6R5N3S2cra6bQ56GMAMKCDhZQ2UH9lZE97gfyX0p5HjCUXD FMOnxu0ae9/5cInaw44RNuaXBpIFgGD1W6/3A6LGycJwNV2Is1j3zguC97rW7SMbrDfk 1A== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2t26rm9vbd-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 11 Jun 2019 14:25:41 +0200 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 A4E6D31; Tue, 11 Jun 2019 12:25:40 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 80D442A2C; Tue, 11 Jun 2019 12:25:40 +0000 (GMT) Received: from SAFEX1HUBCAS22.st.com (10.75.90.93) by SAFEX1HUBCAS23.st.com (10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 11 Jun 2019 14:25:40 +0200 Received: from localhost (10.201.23.31) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 11 Jun 2019 14:25:37 +0200 From: Erwan Le Ray To: Greg Kroah-Hartman , Jiri Slaby , Maxime Coquelin , "Alexandre Torgue" , Rob Herring , "Mark Rutland" CC: , , , , , Erwan Le Ray , "Fabrice Gasnier" , Bich Hemon Subject: [PATCH v2 01/10] dt-bindings: serial: stm32: add wakeup option Date: Tue, 11 Jun 2019 14:25:21 +0200 Message-ID: <1560255930-22554-2-git-send-email-erwan.leray@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1560255930-22554-1-git-send-email-erwan.leray@st.com> References: <1560255930-22554-1-git-send-email-erwan.leray@st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.23.31] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-11_06:, , signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a note for enabling wakeup capabilities of usart Signed-off-by: Bich Hemon Signed-off-by: Erwan Le Ray -- 1.9.1 diff --git a/Documentation/devicetree/bindings/serial/st,stm32-usart.txt b/Documentation/devicetree/bindings/serial/st,stm32-usart.txt index 9d3efed..5ec80c1 100644 --- a/Documentation/devicetree/bindings/serial/st,stm32-usart.txt +++ b/Documentation/devicetree/bindings/serial/st,stm32-usart.txt @@ -19,6 +19,11 @@ Optional properties: linux,rs485-enabled-at-boot-time: see rs485.txt. - dmas: phandle(s) to DMA controller node(s). Refer to stm32-dma.txt - dma-names: "rx" and/or "tx" +- wakeup-source: bool flag to indicate this device has wakeup capabilities +- interrupt-names, if optional wake-up interrupt is used, should be: + - "event": the name for the interrupt line of the USART instance + - "wakeup" the name for the optional wake-up interrupt + Examples: usart4: serial@40004c00 {