From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2398C73C50 for ; Tue, 9 Jul 2019 14:38:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AA12C21537 for ; Tue, 9 Jul 2019 14:38:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ShzafSV0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AA12C21537 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bY/oACg9+xGUJKxWjU1PcNiG2PCzEds/G8SIP+pozSM=; b=ShzafSV0tCk6xw /OtF2roCzCelqAR6B6vwopYNNmKmyKJ+t+wHtLASQeeyOIeHEThn1Yl73nmByMCwncskutqOv18UH RvzGbsbz0ubjO/H3hRVsA785+W8g4qO5jQe5CyxZGKFtDejJGbr0yb8Zcb4pllxam0tYuYyVbGfLD yJw+Ar+YGik6wHypI8gQZ19JH3v/ejjgh2cDZdBnEDb4vU9a5ac2cPs3Lma4FFur0PMJoLxHm5TAT 8JWVLNkneSK2i7g6nmtEtFBkxIr8R8n2Xh/tzZDJ4jQFV9D1AdL4MKcDUTQ03UrykX6aWihhX58w9 EXzp78RDBk8cS80uyKmA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hkrGW-00014V-Gj; Tue, 09 Jul 2019 14:38:44 +0000 Received: from mail-io1-f65.google.com ([209.85.166.65]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hkrGS-000140-Vv for linux-arm-kernel@lists.infradead.org; Tue, 09 Jul 2019 14:38:42 +0000 Received: by mail-io1-f65.google.com with SMTP id m24so34172765ioo.2 for ; Tue, 09 Jul 2019 07:38:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+prWP/l+NiaYOcrIk/R8mV2BTVhCl2S22LwiNWpEL0Q=; b=szKSVyr+3m/61szMWz7ysHbalOFmZW3dfbcr7SoJ34H9Ldiy1rUtqTo5YzuDXxhza0 rp+bi9jSExfC5EdU9sbzh6RhOxl5s6tmm+LUMb0Z8MdqIIGMvGquj+NwcJz6MvBTWrWl cbKHujICcBtT3wXn/8Edha6vreczbi4CkTX7PiYxJ5mXUTVMzrAsEsMip2om1UgNLwd8 TGJv+yW0JT7mGwJ42dldmf6hxDTHU4vecYWoz6B2QiFGW6SOWG803LmzwZ4EL2VP7Cs/ rfDzScV8ZkfUdtaATl6NT7/Lu1v4hxLCfy8pFkuyjJtiPFe6IqmJIvD1OHZ++GNZo7pA ZgIg== X-Gm-Message-State: APjAAAXe9BLL3rsSFlSt6eKBT8uTVA6T2Q9EP/q3Cc5+8YoP+PZPq8h7 2oE7va2Y3lGtK+64CvRIKQ== X-Google-Smtp-Source: APXvYqySHhAtm9GlvHKsUPEMTbTk1st1sP64SKKq5dl6tEvxnFV5wYea+XzPa0VvC7nIO5Guff5xRg== X-Received: by 2002:a6b:6d07:: with SMTP id a7mr556026iod.254.1562683120146; Tue, 09 Jul 2019 07:38:40 -0700 (PDT) Received: from localhost ([64.188.179.251]) by smtp.gmail.com with ESMTPSA id j1sm17618610iop.14.2019.07.09.07.38.38 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 09 Jul 2019 07:38:39 -0700 (PDT) Date: Tue, 9 Jul 2019 08:38:38 -0600 From: Rob Herring To: Erwan Le Ray Subject: Re: [PATCH v3 02/10] dt-bindings: serial: add optional pinctrl states Message-ID: <20190709143838.GA5665@bogus> References: <1560433800-12255-1-git-send-email-erwan.leray@st.com> <1560433800-12255-3-git-send-email-erwan.leray@st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1560433800-12255-3-git-send-email-erwan.leray@st.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190709_073841_028751_0B119983 X-CRM114-Status: GOOD ( 13.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Maxime Coquelin , Alexandre Torgue , devicetree@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Jiri Slaby , Bich Hemon , Fabrice Gasnier , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jun 13, 2019 at 03:49:52PM +0200, Erwan Le Ray wrote: > From: Bich Hemon > > Add options for pinctrl states: > - "sleep" for low power > - "idle" for low power and wakeup capabilities enabled > - "no_console_suspend" for enabling console messages in low power > > Signed-off-by: Bich Hemon > Signed-off-by: Erwan Le Ray > > diff --git a/Documentation/devicetree/bindings/serial/st,stm32-usart.txt b/Documentation/devicetree/bindings/serial/st,stm32-usart.txt > index 5ec80c1..64a5ea9 100644 > --- a/Documentation/devicetree/bindings/serial/st,stm32-usart.txt > +++ b/Documentation/devicetree/bindings/serial/st,stm32-usart.txt > @@ -13,7 +13,14 @@ Required properties: > - clocks: The input clock of the USART instance > > Optional properties: > -- pinctrl: The reference on the pins configuration > +- pinctrl-names: Set to "default". An additional "sleep" state can be defined > + to set pins in sleep state when in low power. In case the device is used as > + a wakeup source, "idle" state is defined in order to keep RX pin active. > + For a console device, an optional state "no_console_suspend" can be defined > + to enable console messages during suspend. Typically, "no_console_suspend" and > + "default" states can refer to the same pin configuration. no_console_suspend is a linux thing and doesn't belong in DT. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel