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=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,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 12FE0C41604 for ; Tue, 6 Oct 2020 07:09:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 7AB8A2075A for ; Tue, 6 Oct 2020 07:09:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="1uVcgW8d"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="dDefOCjE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7AB8A2075A 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+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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:MIME-Version:Content-ID:In-Reply-To:References:Message-ID:Date: Subject:To:From:Reply-To:Cc:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=e5+YrFnCflI7raa2bA+2VXwqf3J9QhuayPMprLQ/+gE=; b=1uVcgW8d2j9iwzKGlpQmV7EUb/ 5DdZJVAB4V3jmj3sdOc3Ek2QICuKVo/ogpn+53jgf96cDEgJTQwXbwH5anqJPPsmo1eZ4gFtoVCMu gXdNdI/3L+NUp7WhDYe6mv+LqWMF08ASKUjo/Qfz1YHJwrFC17o+WyNlcZe10J6bPGReiXpu6N6qM uOqftHtJMhdok6tP83i+JUYth0FKn5+nknZmjAhhjzGogD74RXjvwukFf1KL8GmtN10FZ3pd42LTF hos+Xra/TZK2a7PKWXwwDdC4PDoxo2pn6gkdORiOeJ9Dz32dsHv9k8d/ZDF9GNBTmPTs2JAymXdPv +u8sE4IQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPh57-0004f4-RQ; Tue, 06 Oct 2020 07:08:17 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kPh55-0004dq-CM for linux-arm-kernel@lists.infradead.org; Tue, 06 Oct 2020 07:08:16 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09677k8P023201; Tue, 6 Oct 2020 09:07:56 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=Z88R9F775X/vx6uWOTTf1YpPD2/3YFVVHpJZnzBi2HA=; b=dDefOCjE16trFYivvjWWfsisB5Wg+QGde63dYCqQjQktdg7FaHsvqSF0jK9czJXOi3Xl 39w5XIMPfr443IXbxjsXF0Y9EO79udP9Max/MytmuOQ3zLQYtkQd4656CsExjJlh9tv9 0vjfdHXiab03A5wK5U2TahX3xUyOKS1ndCq5/7jHfjShn8fmWXvPffNHBeKGs6og72dU MYwTJQem5jVFY2TjJ+g6sojiEg7uSijg+wkfu5A0EKN6poreUNRdUqU0SsvrJK12hB6K DmKBVUplzgjLOo/qrCesb+4wNyatVgH1/rlyBu/65tt50dO9oNA5RNUABy1gumbDVKwW 8g== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3402tjvvb4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Oct 2020 09:07:56 +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 6282E10002A; Tue, 6 Oct 2020 09:07:55 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node1.st.com [10.75.127.4]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 469BB20FA4D; Tue, 6 Oct 2020 09:07:55 +0200 (CEST) Received: from SFHDAG2NODE3.st.com (10.75.127.6) by SFHDAG2NODE1.st.com (10.75.127.4) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 6 Oct 2020 09:07:17 +0200 Received: from SFHDAG2NODE3.st.com ([fe80::31b3:13bf:2dbe:f64c]) by SFHDAG2NODE3.st.com ([fe80::31b3:13bf:2dbe:f64c%20]) with mapi id 15.00.1473.003; Tue, 6 Oct 2020 09:07:17 +0200 From: Patrice CHOTARD To: Alain Volmat , Russell King , "Arnd Bergmann" , Sascha Hauer , "Olof Johansson" , Linus Walleij , Nathan Huckleberry , Geert Uytterhoeven , Claudiu Beznea , Enrico Weigelt , Thomas Gleixner , "Kate Stewart" , Greg Kroah-Hartman , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 2/2] arm: sti LL_UART: add STiH418 SBC UART0 support Thread-Topic: [PATCH v2 2/2] arm: sti LL_UART: add STiH418 SBC UART0 support Thread-Index: AQHWfwf0QXzHAjzt8keI+ryiHMNuy6mKPw4A Date: Tue, 6 Oct 2020 07:07:17 +0000 Message-ID: <0061645e-25ae-9eef-d9aa-df9b9b27aec7@st.com> References: <20200830195748.30221-1-avolmat@me.com> <20200830195748.30221-3-avolmat@me.com> In-Reply-To: <20200830195748.30221-3-avolmat@me.com> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.44] Content-ID: <9FAB3CB18DEEC04FAD55FA16D2716FD1@st.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-10-06_02:2020-10-06, 2020-10-06 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201006_030815_609154_4F90F5AD X-CRM114-Status: GOOD ( 25.07 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Alain On 8/30/20 9:57 PM, Alain Volmat wrote: > Add the entry for the STiH418 SBC UART0 low level uart. > > Signed-off-by: Alain Volmat > --- > arch/arm/Kconfig.debug | 19 +++++++++++++++++-- > 1 file changed, 17 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug > index e97d6e5c8898..447d177fcf8d 100644 > --- a/arch/arm/Kconfig.debug > +++ b/arch/arm/Kconfig.debug > @@ -1204,6 +1204,16 @@ choice > > If unsure, say N. > > + config DEBUG_STIH418_SBC_ASC0 > + bool "Use StiH418 SBC ASC0 UART for low-level debug" > + depends on ARCH_STI > + help > + Say Y here if you want kernel low-level debugging support > + on STiH418 based platforms which has default UART wired > + up to SBC ASC0. > + > + If unsure, say N. > + > config STM32F4_DEBUG_UART > bool "Use STM32F4 UART for low-level debug" > depends on MACH_STM32F429 || MACH_STM32F469 > @@ -1587,6 +1597,7 @@ config DEBUG_LL_INCLUDE > default "debug/sirf.S" if DEBUG_SIRFSOC_UART > default "debug/sti.S" if DEBUG_STIH41X_ASC2 > default "debug/sti.S" if DEBUG_STIH41X_SBC_ASC1 > + default "debug/sti.S" if DEBUG_STIH418_SBC_ASC0 > default "debug/stm32.S" if DEBUG_STM32_UART > default "debug/tegra.S" if DEBUG_TEGRA_UART > default "debug/ux500.S" if DEBUG_UX500_UART > @@ -1620,6 +1631,7 @@ config DEBUG_UART_PHYS > default 0x03010fe0 if ARCH_RPC > default 0x07000000 if DEBUG_SUN9I_UART0 > default 0x09405000 if DEBUG_ZTE_ZX > + default 0x09530000 if DEBUG_STIH418_SBC_ASC0 > default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \ > DEBUG_VEXPRESS_UART0_CA9 > default 0x1010c000 if DEBUG_REALVIEW_PB1176_PORT > @@ -1750,7 +1762,8 @@ config DEBUG_UART_PHYS > DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \ > DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 || \ > DEBUG_AT91_UART || DEBUG_STM32_UART || \ > - DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 > + DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 || \ > + DEBUG_STIH418_SBC_ASC0 > > config DEBUG_UART_VIRT > hex "Virtual base address of debug UART" > @@ -1796,6 +1809,7 @@ config DEBUG_UART_VIRT > default 0xf8090000 if DEBUG_VEXPRESS_UART0_RS1 > default 0xf8ffee00 if DEBUG_AT91_SAM9263_DBGU > default 0xf8fff200 if DEBUG_AT91_RM9200_DBGU > + default 0xf9530000 if DEBUG_STIH418_SBC_ASC0 > default 0xf9e09000 if DEBUG_AM33XXUART1 > default 0xfa020000 if DEBUG_OMAP4UART3 || DEBUG_TI81XXUART1 > default 0xfa022000 if DEBUG_TI81XXUART2 > @@ -1864,7 +1878,8 @@ config DEBUG_UART_VIRT > DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \ > DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 || \ > DEBUG_AT91_UART || DEBUG_STM32_UART || \ > - DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 > + DEBUG_STIH41X_ASC2 || DEBUG_STIH41X_SBC_ASC1 || \ > + DEBUG_STIH418_SBC_ASC0 > > config DEBUG_UART_8250_SHIFT > int "Register offset shift for the 8250 debug UART" Reviewed-by: Patrice Chotard Thanks Patrice _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel