From patchwork Tue Jun 4 08:55:10 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: 165722 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp5559358ili; Tue, 4 Jun 2019 01:56:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3BD5+ycbzWnClvRSPgPYWbsKLKOb61zodyzjH5LTS2TxbNjCGVDNBOz4YqjiOh1YJjrQy X-Received: by 2002:a17:90a:ac14:: with SMTP id o20mr7769806pjq.114.1559638560530; Tue, 04 Jun 2019 01:56:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559638560; cv=none; d=google.com; s=arc-20160816; b=S3v4gygEy615Mndz1EccfV0VXi9SwfY8ZaUIrCjkaHQSx/1M9x4HA8Ng3o5U5auul8 Lh0KtbX9W8P1zskmgNwlaywlwSiOo1cO11kHp8WpY5jLzF8E7DLs1/RgsPzMVChNJAxO BEVC21Hqeayhu+a3cw/yqT3eZDMgIqCJ5nP4HKWoHzieMSYtEWEZMsjb5QjD6dwv8U1f dSrFlWLcgLSv20fvJ3ARDYJzaHddnbhNmyDhGpAqWHQEm3z2azapjNZldEcXbrH6XiyJ GVY9Fic2g2u6IR9dfhs09EJvvL6QibQNJbsosd99rlIRekswa3FvZ3H6m8yyTr/K2Ofi x1Sw== 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=VW/+Lr3U2i9EwHtonnBuw0PKMy6bdcO7acJScpWBKA54WU7B7AKcCW5x7FRtQ7HJjn 59QzpTl0AOfz2y1ZowlrKolHoxdy3LHUR+ES13FAnzJ3QGmiuLNv56ddr2GBjNbrre62 PzCvnEngaI965bMchL19tzo5usE2VoVilDNIP7YMu5YrlVPCSmfuTVY0oWAK4aQDgU/W luFsPGFkedU75uv46K2yoDGlZaQPUNJhuEO2YsKiuFry2P2jKKH5XsD+pD5V4G6mquC/ 808lFmdkK7XSxsyGNTfMThQiZ2kQXMshmDLBNY4RicwmEb8qfD5s7rNzom6tYi7zpyig rUnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=RjX2tYwV; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-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 w13si21839032pge.212.2019.06.04.01.56.00; Tue, 04 Jun 2019 01:56:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-serial-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=RjX2tYwV; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726965AbfFDIz7 (ORCPT + 1 other); Tue, 4 Jun 2019 04:55:59 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:52804 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726883AbfFDIz6 (ORCPT ); Tue, 4 Jun 2019 04:55:58 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x548tKLM021280; Tue, 4 Jun 2019 10:55:32 +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=RjX2tYwV8kgxxGc0rW2nlLgfguePoiuo03mr3r/QBAvY1398mhHF0ZhRzQNWn5bE9d6S JjdZvKhT2l5TNZTaGOH56n5+f7o6/DGH+XW+I5PgIZU/bfXv06tg5G0a4iFt99j+6Yhd proABBwOSJSFvveL0vtq2K6k0rQUgGupK9KlDj3M5L9pAmQbkY6e0PU9ml4ch3w0CswS h2LORq1cYDJ7Kk/FZ2xOn1ZwlLO99bkCKJq97UTyX9q/TOM+bGgYf/7VFJ9h937XIr4t G+4vVg/ez6o3VFTNzLD128GoKisdyMDyfdA3osNOhFm/mbwFxgOYDpdpO2IJBtdF6P5P EA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2sundryngp-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 04 Jun 2019 10:55:32 +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 ADF15159; Tue, 4 Jun 2019 08:55:25 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas21.st.com [10.75.90.44]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 83E0E2503; Tue, 4 Jun 2019 08:55:25 +0000 (GMT) Received: from SAFEX1HUBCAS22.st.com (10.75.90.93) by SAFEX1HUBCAS21.st.com (10.75.90.44) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 4 Jun 2019 10:55:25 +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, 4 Jun 2019 10:55:25 +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 01/10] dt-bindings: serial: stm32: add wakeup option Date: Tue, 4 Jun 2019 10:55:10 +0200 Message-ID: <1559638519-6128-2-git-send-email-erwan.leray@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1559638519-6128-1-git-send-email-erwan.leray@st.com> References: <1559638519-6128-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-04_07:, , signatures=0 Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@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 {