From patchwork Thu Jul 13 15:08:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bich HEMON X-Patchwork-Id: 107700 Delivered-To: patch@linaro.org Received: by 10.182.45.195 with SMTP id p3csp2392143obm; Thu, 13 Jul 2017 08:10:04 -0700 (PDT) X-Received: by 10.84.231.143 with SMTP id g15mr10934360plk.157.1499958603940; Thu, 13 Jul 2017 08:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499958603; cv=none; d=google.com; s=arc-20160816; b=GPcwGeyc2zTNXMquqewi0nFS6n6zBrXDvNR9mYW8cyQd6+Py2Whwqgzfq9FIplAH1J mr/Y83dZEW5m+zcR1VkMblOn9Eekkujyl2ZQFLzPL/O9iee20VQ3T9JnmsBCx12aZbTE bOoy6KijxucGgwSTwHvhMDlBs1dV+NaWYnNFWA/ZRLL6AJHuQRYoeFHySGYgOH5vY8pg JvS7MAXP7pPgtO6mWzX8wa560zZQYPQD+PXx+8J8NSmtiA0Ar0A97GIbujD4WuNhvFHo 2tp+/Y71faPqLrnQK2MfqlLOYc5e9wQwgy397+WZ1J/oVVt01yS2UkCLHQZuRY9eRXe5 yq5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=sDQ0iFnXWWXPe095fduMyuiUtDPd3GsyALcWlwV15fw=; b=YHRcqMPaRvnWY2WRdXGbR8V93AAjfaFX/Gu+U961zqsNeabDRQ9dj+j0GMMqLTmshT GGHaMDV8yjtV4voTKaEkex+ZmXPBLigeNLNZGxcU8j8TgQRo1Rj/wTGSsxC5WY7jvwEt emhVYmoabWDxWOMv1hALae+JiBgbr/e6hDXKDkFRBJBzIcRXdL708y8usKVGy1jUnHmS Uj+MTbTk+5BV29pEhlpmLmkLC6UpKZ62aAcRLw2cTYafPrLstDS3Ii4NRafwxx+bLIs7 b36mAQYjchWErDU6AaO8/swKInHFdrdmoGw9h18/DfQaejkZmdkJe4RfluRvs39+pC4v 2iPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 m2si4288973pfm.137.2017.07.13.08.10.03; Thu, 13 Jul 2017 08:10:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752543AbdGMPKA convert rfc822-to-8bit (ORCPT + 7 others); Thu, 13 Jul 2017 11:10:00 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:37967 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752397AbdGMPJM (ORCPT ); Thu, 13 Jul 2017 11:09:12 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v6DF3k04015134; Thu, 13 Jul 2017 17:08:29 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-.pphosted.com with ESMTP id 2bp9ergj7u-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 13 Jul 2017 17:08:29 +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 BAF9B31; Thu, 13 Jul 2017 15:08:28 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node3.st.com [10.75.127.9]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A37AE250F; Thu, 13 Jul 2017 15:08:28 +0000 (GMT) Received: from SFHDAG3NODE1.st.com (10.75.127.7) by SFHDAG3NODE3.st.com (10.75.127.9) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 13 Jul 2017 17:08:28 +0200 Received: from SFHDAG3NODE1.st.com ([fe80::1166:1abb:aad4:5f86]) by SFHDAG3NODE1.st.com ([fe80::1166:1abb:aad4:5f86%20]) with mapi id 15.00.1178.000; Thu, 13 Jul 2017 17:08:28 +0200 From: Bich HEMON To: Greg Kroah-Hartman , Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre TORGUE , "Jiri Slaby" , "linux-serial@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" CC: Bich HEMON Subject: [PATCH 3/9] serial: stm32: Increase maximum number of ports Thread-Topic: [PATCH 3/9] serial: stm32: Increase maximum number of ports Thread-Index: AQHS++nhQsfYuSiti0CC81YJbN9wqQ== Date: Thu, 13 Jul 2017 15:08:27 +0000 Message-ID: <1499958494-19354-4-git-send-email-bich.hemon@st.com> References: <1499958494-19354-1-git-send-email-bich.hemon@st.com> In-Reply-To: <1499958494-19354-1-git-send-email-bich.hemon@st.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.49] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-07-13_08:, , signatures=0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Gerald Baeza Increase max number of ports for stm32h7 which supports up to 8 uart and usart instances. Signed-off-by: Gerald Baeza Signed-off-by: Bich Hemon --- drivers/tty/serial/stm32-usart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/tty/serial/stm32-usart.h b/drivers/tty/serial/stm32-usart.h index 65b4ffa..6092789 100644 --- a/drivers/tty/serial/stm32-usart.h +++ b/drivers/tty/serial/stm32-usart.h @@ -206,7 +206,7 @@ struct stm32_usart_info stm32f7_info = { #define USART_ICR_CMCF BIT(17) /* F7 */ #define STM32_SERIAL_NAME "ttyS" -#define STM32_MAX_PORTS 6 +#define STM32_MAX_PORTS 8 #define RX_BUF_L 200 /* dma rx buffer length */ #define RX_BUF_P RX_BUF_L /* dma rx buffer period */