Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4592370pxj; Wed, 12 May 2021 08:51:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxW1nLnftOvyJHyg9tijmbLPD7+WMeljPAQOiuPEIvPT7QRHxh9Awkt2QtTnd5Cnj6yQYxD X-Received: by 2002:a2e:bc0a:: with SMTP id b10mr29509927ljf.287.1620834691751; Wed, 12 May 2021 08:51:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620834691; cv=none; d=google.com; s=arc-20160816; b=zvmySnS3kbLgtiVa4aV96c+8N2DSPRJ7CkqodzzX+RzxFvGqCGyUidGQBq/LHGkPZx 7itpdvzdCLF1H5ie5erTXURLfOZtOmkQjd6KPtHav39L3EhO+HAOA7ZmlOm7QO0Dw0b4 wVGNChi7huwTipavVmBN5hu0BcO3MZIM73Y7yJ10/xhKC0068MiZaQoOWMvdgVUurkW+ 818YgibdMjEWe+VZ31uShfWw+gXNMMIDejmGE2NCe1rKEvaRIaE0ljbezctSQfJMxVsN FGXUD/I1pz3tD0eVnKGd+dNuf6YM7H29E4Wgv110pkGgcJXVU+8ZaoqWaLLpgdJAjJCA ogbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GkvRMf2rWpUS1vQu+iltsVbfrx88z7ciZrDLpBNwc1s=; b=iJg0t0VVqN+xSCcH7wT9CExt6wpYGa9BZCrBFWZQdcesrgHIM54P9w5z7EfCZM3U// vyOCK09Zrv9yKrGO8fR+ppcAV0fLA0ctEo6c0SwrCRkqjQhm+8wCj8BQWppL3cL7qHl0 6o+wmT0mewinDnDyEa7lImulLrSyd2ZqzjD6XKQ/A10GcuwvDuH8Nr7r+xw6Z7VAKH6x jOPyx6LhDifEskcvoL0Xg1uBwAPElXMu3bRP/R1+7EHbpUiwEHx9myCfwSsGfVCc94W7 U9nMuMYHoVqgsG0QVQV1lj5WeBEQfoSwY0VzE+5qOKgdm9+SRMEIz8qwFU+qmfD6kZzX BlqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=L8krDiAe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y1si41006ljc.554.2021.05.12.08.51.01; Wed, 12 May 2021 08:51:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=L8krDiAe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236868AbhELPrB (ORCPT + 99 others); Wed, 12 May 2021 11:47:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:59196 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233877AbhELPVI (ORCPT ); Wed, 12 May 2021 11:21:08 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CA83461480; Wed, 12 May 2021 15:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620832129; bh=4v3rkBCuDsbbtwMcWdie9KBXrc2usgDI1sWuEScRJ1o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L8krDiAeh6h0rexzQ00X1njITG226nyls6DsAvg+jYG4hXIbN2AIAjYZO6va9/J9t MKhhvIeLilR1ol3EEM2FMQS4NTrLID549toQ2NFwode4dXs2SqjO3fUKkxo6huG0Se 90BjkfhmsQ6tnUxEO8960oazDLXgYRCoFEADLUZc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Valentin Caron , Alexandre Torgue , Sasha Levin Subject: [PATCH 5.10 154/530] ARM: dts: stm32: fix usart 2 & 3 pinconf to wake up with flow control Date: Wed, 12 May 2021 16:44:24 +0200 Message-Id: <20210512144824.904168833@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144819.664462530@linuxfoundation.org> References: <20210512144819.664462530@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Valentin CARON - foss [ Upstream commit a1429f3d3029b65cd4032f6218d5290911377ce4 ] Modify usart 2 & 3 pins to allow wake up from low power mode while the hardware flow control is activated. UART RTS pin need to stay configure in idle mode to receive characters in order to wake up. Fixes: 842ed898a757 ("ARM: dts: stm32: add usart2, usart3 and uart7 pins in stm32mp15-pinctrl") Signed-off-by: Valentin Caron Signed-off-by: Alexandre Torgue Signed-off-by: Sasha Levin --- arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index d84686e00370..dee4d32ab32c 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -1806,10 +1806,15 @@ usart2_idle_pins_c: usart2-idle-2 { pins1 { pinmux = , /* USART2_TX */ - , /* USART2_RTS */ ; /* USART2_CTS_NSS */ }; pins2 { + pinmux = ; /* USART2_RTS */ + bias-disable; + drive-push-pull; + slew-rate = <3>; + }; + pins3 { pinmux = ; /* USART2_RX */ bias-disable; }; @@ -1855,10 +1860,15 @@ usart3_idle_pins_b: usart3-idle-1 { pins1 { pinmux = , /* USART3_TX */ - , /* USART3_RTS */ ; /* USART3_CTS_NSS */ }; pins2 { + pinmux = ; /* USART3_RTS */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + pins3 { pinmux = ; /* USART3_RX */ bias-disable; }; @@ -1891,10 +1901,15 @@ usart3_idle_pins_c: usart3-idle-2 { pins1 { pinmux = , /* USART3_TX */ - , /* USART3_RTS */ ; /* USART3_CTS_NSS */ }; pins2 { + pinmux = ; /* USART3_RTS */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + pins3 { pinmux = ; /* USART3_RX */ bias-disable; }; -- 2.30.2