From patchwork Fri Apr 9 11:31:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 12193897 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=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT 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 E3F3BC433B4 for ; Fri, 9 Apr 2021 11:43:46 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 7778C61005 for ; Fri, 9 Apr 2021 11:43:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7778C61005 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=qec7qzLnPv/NzyU5/63oZGqpQkZtEx9XkOwwaeq60Es=; b=J0Zo9sb7UJvJyeoni0Cmb7/RC Bd9G9jzXkUXo+GmtpI+eT+HxAN8oeEZZgXJOh8E5PJi7LtvKeDFRorrjBuHUnIDTLsaSXlTwLpOwT fV0eyvFWc9WsCPIJ5HjHKrhKSdRiHoxx4SioB/2o4kfW/dizg/IgzDEJNdqP6Gh6p0XyDG4yoniq4 pMWsz9bDZvxD08rPG0Z92QtzEcGz7W2m877R6OqLDCPAoYc/EDw6awyC0FAAGbioZaMUTstmTzm/w xbLvmSRyWOB2o6nDI4ZS6bcYyoKzVt7r1FDEUahuCVTRnE33hMooVB4wz+k2/TjZe9iJFoipEW3Sq Op+BQ65yw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUpWX-000eig-U6; Fri, 09 Apr 2021 11:42:06 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUpWR-000ei8-CA for linux-arm-kernel@lists.infradead.org; Fri, 09 Apr 2021 11:42:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1617968519; x=1649504519; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=P53p+hsMUSce2BMB+00gNVpeoyJ5GCn012HCNuo4awY=; b=BaGSShpD7fCF3TgxQN5UHfuoVZaBaYjhvmqMqHwSQYnghAxggq9nJWnk xXbqip39tE166I7Ot4GVtaqG5diZS8QZsRNngTTU1EKPPyutL2kdBC0Xi b5wg2/Lgq2/83LL6dCq8fYwj0nYb0s1nEAw0d41k2sABFAGMOX9ILtOBy DICkjdNrVUA2a0ZMR+TwaEV7L1vrbgs8x+odbvlfFvFM0y+uNFVeRT9M5 q9mDAQGxjSDCWuXGIB7C1BeCDGFfSw/B+/aDUHEwPtn4TtMgNsegZMZO8 24A0Lkj6MfTUFo5ePpQPNQ0g6/iKJGz/KbgH4Gi2ky0in2hfoD5TU/FhE g==; IronPort-SDR: E7gi1DDaD241biSWBJ+QOKogbDATiCHAP6zYi8Qixz3Cg0GdQCS66cdLpsnGcUvy3rq0L79iKG iS/cKBEwvLnpFksWmLWzt0JHSa+YtMLW1jBFHpirotBwJnq88UYMSD/zbNhrVXQW7LwncFreBS pcUplTLuKrDendXe6Rsrh0PPlUmf8DhPBjxcPlDneYe/WiKZfg4mkaBowQ8yi5p+AVKr2YZpL3 algUeXzb+DdxCNCraX4BOoNUUF2p8U8oeMaOU44r+ttQWIJe1UJUC+w6reRlJHuwT0m8xJIrUr 8uQ= X-IronPort-AV: E=Sophos;i="5.82,209,1613458800"; d="scan'208";a="122422120" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Apr 2021 04:41:57 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 9 Apr 2021 04:31:56 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Fri, 9 Apr 2021 04:31:51 -0700 From: Eugen Hristev To: , Subject: [PATCH v2 2/2] ARM: at91: debug: add sama7g5 low level debug uart Date: Fri, 9 Apr 2021 14:31:16 +0300 Message-ID: <20210409113116.482199-2-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210409113116.482199-1-eugen.hristev@microchip.com> References: <20210409113116.482199-1-eugen.hristev@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210409_124159_782476_F8B605F2 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eugen Hristev , ludovic.desroches@microchip.com, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add sama7g5 SoC debug uart on Flexcom3. This is the UART that the ROM bootloader uses. Signed-off-by: Eugen Hristev Acked-by: Nicolas Ferre --- arch/arm/Kconfig.debug | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 9e0b5e7f12af..7598624ce6dd 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -191,6 +191,14 @@ choice their output to the USART1 port on SAMV7 based machines. + config DEBUG_AT91_SAMA7G5_FLEXCOM3 + bool "Kernel low-level debugging on SAMA7G5 FLEXCOM3" + select DEBUG_AT91_UART + depends on SOC_SAMA7G5 + help + Say Y here if you want kernel low-level debugging support + on the FLEXCOM3 port of SAMA7G5. + config DEBUG_BCM2835 bool "Kernel low-level debugging on BCM2835 PL011 UART" depends on ARCH_BCM2835 && ARCH_MULTI_V6 @@ -1657,6 +1665,7 @@ config DEBUG_UART_PHYS default 0xd4017000 if DEBUG_MMP_UART2 default 0xd4018000 if DEBUG_MMP_UART3 default 0xe0000000 if DEBUG_SPEAR13XX + default 0xe1824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3 default 0xe4007000 if DEBUG_HIP04_UART default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0 default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1 @@ -1718,6 +1727,7 @@ config DEBUG_UART_VIRT default 0xc8821000 if DEBUG_RV1108_UART1 default 0xc8912000 if DEBUG_RV1108_UART0 default 0xe0010fe0 if ARCH_RPC + default 0xe0824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3 default 0xf0010000 if DEBUG_ASM9260_UART default 0xf0100000 if DEBUG_DIGICOLOR_UA0 default 0xf01fb000 if DEBUG_NOMADIK_UART