From patchwork Thu Jun 13 13:49:51 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: 166683 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp885109ilk; Thu, 13 Jun 2019 08:14:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7xQ/1YrBplDQCbmz5QQqXe42tMBdl36s6iKCsdOwIbJk+B8gc9YJdkzcD5zq8GEKnOm8x X-Received: by 2002:a63:6f8d:: with SMTP id k135mr31454999pgc.118.1560438738101; Thu, 13 Jun 2019 08:12:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560438738; cv=none; d=google.com; s=arc-20160816; b=Vg3PoqE8tQu7lyZ0Ve5GbcONAn4TmzLIxn6Jkehxn/INeSQ2lGB7Wy5iwwWhcXncAF gJ3cr0IgUeebGOr/WegGxKsV3Q4jrcDd5uDZUGA92eLJs3id/gJRUM7al+C4xULD2xZh oAMnoYNCbqBX38mJsH9+LiTbw0WLQLLjV+DvNjKof0eqenGRtQ3DHwJhY3Ms59WbXM2k PKATZjiznSmd/kxMWjtYGiuBF+efiJYElgZ6Wy1PQ3ktPxWHzRhSiAGxyZ0K5QEW/qne +YCQSto879R3Ld6oH7ybloCP3VZ4XGpyNoO+hpdAT7kCO/s85Hyu6TI21Xb0GJMw6u2F s0gA== 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=lgHK+aKkY29dXA4FfUwvtnhit1vabAPNndpuRY1uY7iZ0HdzjSnSRAqqTKb0HUOtgB PgYH7pxA2Lok02KkuLyE5tqgF62FDqiIu1Ij/dNwmSg4JdgUi+90q3fCYNr3/Be15YeG A/fm+yG6I5lD/v3Oe/xziRkVu19uly2J5DLOfpW7kyRZHe7kfS8LkjO2VgXj9hvIJJhE 5g358l7NBTFXyA22kxXggkKPNCj7qgCOiW+KffYGUwXM/2XAvrzTr4v2VonTF0Aw3mMY D3LHxbsUHwPxhXkWLr7vqznLf+3v9V78pT02lR5D64LK0owqjbxXcoAgt/atKJQ+Nh3W yvJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=pXcj6LtC; 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 w4si3323889plp.223.2019.06.13.08.12.17; Thu, 13 Jun 2019 08:12:18 -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=pXcj6LtC; 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 S1732367AbfFMPME (ORCPT + 25 others); Thu, 13 Jun 2019 11:12:04 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:48710 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732290AbfFMNu0 (ORCPT ); Thu, 13 Jun 2019 09:50:26 -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 x5DDkxMY019851; Thu, 13 Jun 2019 15:50:13 +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=pXcj6LtCHYL6EtxnPfIvZzHvGM5Llo4PJOqzFMBrLfpeFoOlmtSRwHQZY2mJkqt62gc2 mITKuIsEXlJ0GF4T3JEY2pjBip8FCJT71ajPI2O1+hdhPYU7UWWijvlZqpuYPb3NxU7l Y+eQDFs0QLffXLADWmLWMdO72CegM772nR1Vc9zsSN2H43O6MICZsZk8PYryOVdG56bK xblLjTth6FKZ3Us9TJUrlG4hD5ErT+PKyLNOyP5h7EkOVNXf7Fbr0Tq2TgDv3Rq6WUoH 5a6RcMto0xKudSbPp4UGhxnaW7+TXrL2eIC2l8cRAGkNpOKSnlQs8WDWbqrjPCsgeWeg 9w== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2t2gxec010-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 13 Jun 2019 15:50:13 +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 2228631; Thu, 13 Jun 2019 13:50:13 +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 EA9782BC2; Thu, 13 Jun 2019 13:50:12 +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; Thu, 13 Jun 2019 15:50:12 +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; Thu, 13 Jun 2019 15:50:12 +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 v3 01/10] dt-bindings: serial: stm32: add wakeup option Date: Thu, 13 Jun 2019 15:49:51 +0200 Message-ID: <1560433800-12255-2-git-send-email-erwan.leray@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1560433800-12255-1-git-send-email-erwan.leray@st.com> References: <1560433800-12255-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-13_08:, , 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 {