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.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,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 11926C433E0 for ; Mon, 15 Jun 2020 10:50:12 +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 D0C412068E for ; Mon, 15 Jun 2020 10:50:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OHrstQbb"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="oS6225LD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D0C412068E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com 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-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6PUyriyqLyJIfws8qpTmNULpRCuwwEl8DUBV/twfoWo=; b=OHrstQbb5Ab+pKlix37b2SG4A dfKYMSXYRxElZ3X3/p9PZctNgMTSgigMKqEUfwjLveA8Q6X1iOOH0OHZiQzuRWeuHzbD9V39g9Gsi 0lHUJpB0jE9nnL8iAqFU5e0sHXpgwvbjukIzA0rAcRQUR8gE+mWFgvdmckVy26YAK+1+kT0crFDx8 8L2ePkt0fczewXbO8cunbwQguThl1NV7We5qVwev1SMLqrv0MabI6G78EZ5p5sXuRCrVKjuRblBp+ gj79D4R8ZohSARmOitbjs5jJ96TyzPMeOP6ELG5Mi9bnFC9NK89HYsZxGUzfAsGpsf38b2dbnatq5 iNNYahHsQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkmgt-0002Tj-6T; Mon, 15 Jun 2020 10:50:11 +0000 Received: from mx07-00178001.pphosted.com ([62.209.51.94]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkmgp-0001Qa-6S for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2020 10:50:09 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05FAWlLl003188; Mon, 15 Jun 2020 12:50:00 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=6uazfPAhQsttgP5kzZTw92A9LjEqdyZWqPnjXh89SHU=; b=oS6225LDlBacpl1Ddp48BwFpC3AjwYU6WszDnpBmvJyMVLu3A99UsTAMux5ThvFGXLdT EGKbmHBHT1RwwsvWZtGETAqqnfqJUn8hacHEZ8fWeieTN3j3BuFUGFh3AnWEgWcAmSDe 8mEKZpYJa2klMIpGrfOVeHs2OeaCBiemAmW3pJWkC5OABdFKlKbicvxyJiDDzjeVZxCM MJZT7wGb5ubVnMS8az9TEu4JpUCXYdYVzFftMfgQePUKsu7F9mYpB8etX2ZAbDrUEgnW ifHB1d6k5wffirFxYAsBj1HrqL3hw5EirUI4TT0ugMkXEzN1omzOFHoJnSBUSMLSQI21 9w== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 31mmjvs6j8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 15 Jun 2020 12:50:00 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 6828B10002A; Mon, 15 Jun 2020 12:50:00 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 3A0382B8A11; Mon, 15 Jun 2020 12:50:00 +0200 (CEST) Received: from lmecxl0912.tpe.st.com (10.75.127.48) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 15 Jun 2020 12:49:59 +0200 Subject: Re: [PATCH 1/5] ARM: dts: stm32: add usart2, usart3 and uart7 pins in stm32mp15-pinctrl To: Erwan Le Ray , Maxime Coquelin , Rob Herring , Mark Rutland References: <20200528074029.24962-1-erwan.leray@st.com> <20200528074029.24962-2-erwan.leray@st.com> From: Alexandre Torgue Message-ID: <2ee07ea1-1336-3bc5-d978-c5dc5cd5f04f@st.com> Date: Mon, 15 Jun 2020 12:49:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200528074029.24962-2-erwan.leray@st.com> Content-Language: en-US X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG3NODE2.st.com (10.75.127.8) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687 definitions=2020-06-15_02:2020-06-15, 2020-06-15 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200615_035007_542820_A4C506EE X-CRM114-Status: GOOD ( 16.91 ) 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: devicetree@vger.kernel.org, Fabrice Gasnier , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Erwan On 5/28/20 9:40 AM, Erwan Le Ray wrote: > Adds usart2_pins_c, usart3_pins_b, usart3_pins_c and uart7_pins_c pins > configurations in stm32mp15-pinctrl. > - usart2_pins_c pins are connected to Bluetooth chip on dk2 board. > - usart3_pins_b pins are connected to GPIO expansion connector on evx board. > - usart3_pins_c pins are connected to GPIO expansion connector on dkx board. > - uart7_pins_c pins are connected to Arduino Uno connector on dkx board. > > Signed-off-by: Erwan Le Ray > > diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi > index fb98a66977fe..99e399e4e4c3 100644 > --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi > +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi > @@ -1658,6 +1658,36 @@ > }; > ... > + usart3_pins_b: usart3-0 { > + pins1 { > + pinmux = , /* USART3_TX */ > + ; /* USART3_RTS */ On EVx board this line is shared with ETH_CLK. The choice between both is done thanks to SB23 and default choice is "ETH_CLK". So hardware update has to be done to use usart3_rts. some words around that in comment would be great. Thanks alex > + bias-disable; > + drive-push-pull; > + slew-rate = <0>; > + }; > + pins2 { > + pinmux = , /* USART3_RX */ > + ; /* USART3_CTS_NSS */ > + bias-disable; > + }; > + }; > + > + usart3_idle_pins_b: usart3-idle-0 { > + pins1 { > + pinmux = , /* USART3_TX */ > + , /* USART3_RTS */ > + ; /* USART3_CTS_NSS */ > + }; > + pins2 { > + pinmux = ; /* USART3_RX */ > + bias-disable; > + }; > + }; > + > + usart3_sleep_pins_b: usart3-sleep-0 { > + pins { > + pinmux = , /* USART3_TX */ > + , /* USART3_RTS */ > + , /* USART3_CTS_NSS */ > + ; /* USART3_RX */ > + }; > + }; > + > + usart3_pins_c: usart3-1 { > + pins1 { > + pinmux = , /* USART3_TX */ > + ; /* USART3_RTS */ > + bias-disable; > + drive-push-pull; > + slew-rate = <0>; > + }; > + pins2 { > + pinmux = , /* USART3_RX */ > + ; /* USART3_CTS_NSS */ > + bias-disable; > + }; > + }; > + > + usart3_idle_pins_c: usart3-idle-1 { > + pins1 { > + pinmux = , /* USART3_TX */ > + , /* USART3_RTS */ > + ; /* USART3_CTS_NSS */ > + }; > + pins2 { > + pinmux = ; /* USART3_RX */ > + bias-disable; > + }; > + }; > + > + usart3_sleep_pins_c: usart3-sleep-1 { > + pins { > + pinmux = , /* USART3_TX */ > + , /* USART3_RTS */ > + , /* USART3_CTS_NSS */ > + ; /* USART3_RX */ > + }; > + }; > + > usbotg_hs_pins_a: usbotg-hs-0 { > pins { > pinmux = ; /* OTG_ID */ > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel