From patchwork Wed Feb 9 08:41:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kavyasree Kotagiri X-Patchwork-Id: 12739823 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 41C0CC433F5 for ; Wed, 9 Feb 2022 08:43:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=VCKZlWQHPCdbdkCiIqVWFvKwv7zzV+TakxuDUGEjm9k=; b=VWOicR1u2nCaxa n31BIji1Kg/AXUJc43/TffMgTCXTSYMC2QxtUyCzdZgvYpV8ip+A5jRyFfo2EqEcXC2oTt15AKXnm A92JSIgT2NBrD3ZgFNaLV9p1hgtrR7B844bvbIkRmrpP1WOPP3kfO+0OzZiirUMkhfyO5GhqVOIi4 JQEykGYYJycE7uwnEr7KP2smh+k+v9CU6+DJ85y/Lzb10M37owlkJGml+XHsV4aYlLpcUCqx1auPy 1MfIdGHSm/ec22wBkIS4Dym4o/VXqbeJx8Zlwg5JusWhuhMg1Xu8M5jMtdqlaBUaBLv17fiITccdy +FoiaLiZ5wAtU2aoiiyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHiY3-00GgHi-B8; Wed, 09 Feb 2022 08:41:59 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHiXq-00GgCo-9h for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 08:41:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1644396107; x=1675932107; h=from:to:subject:date:message-id:mime-version; bh=EKL23ZICjemdPDx3xCc3sIo7S0uH2JuId0XLQZ6xIUo=; b=ObDk0vCgvjAyXMv6i38rikMmDw/YqvGjTmdJXiGhh/uENGagMqK5E/5E fTU33oRs0+eYZczx8wpzYivbIihTfaKONDyWBfMJxMZ6dfGhj69wboHOG OeW9HCleouQGpezoGmVkE4DRJxTLniRBK38RHaMLUy0g1ZWolXLWRk8MN Au5Qm+g69xQFPezs8iy7KvSTj9JSYr7KQjw/soFzL+Yvy/PcZgQvgqcCA QeU0Kk0ePJKmBBZ8pf9IJwYSg5jcgHfnDBMMhZgaIQnYbWpEPAc++P1iJ h3GA3drU4p9KJbWUfEWvo9uKxdiXysnWp85uUs3UANfJ+W03+pfZvHVFT A==; IronPort-SDR: azLCwhdvQiyqxIZ0TViWvN/GvCS0HpmG3i6RWiniDEaua1CCKuxvh2Q5FXNAZksWLAwgT98Fow TjFdvygpSxkA9EO3ZlznUuRAZYz0iL4EeCg+Dd8Q4mnYI3B0dAcL2us2zlq1IDHpj4oFgbv/cQ obUPMCZ2ALQ628i7H7K8F/ECR8Bnx8/7U7llN+u+CQ1EINJJYzXHXe4xopxQK/OZc/4ERihm8T xU9ORNdNH2n1+UmTPogNeRfaFzAR+KsKeRjE2NhDrdaMthdmaT7lvXeirqoP/f8Wjqi6Hbl8c3 kficdpvVGJFQxz25IeyYDTMP X-IronPort-AV: E=Sophos;i="5.88,355,1635231600"; d="scan'208";a="152430783" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Feb 2022 01:41:45 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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.2375.17; Wed, 9 Feb 2022 01:41:43 -0700 Received: from kavya-HP-Compaq-6000-Pro-SFF-PC.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Wed, 9 Feb 2022 01:41:41 -0700 From: Kavyasree Kotagiri To: , , , , Subject: [PATCH] ARM: at91: debug: add lan966 support Date: Wed, 9 Feb 2022 14:11:39 +0530 Message-ID: <20220209084139.29901-1-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_004146_678759_31D49CC6 X-CRM114-Status: UNSURE ( 8.31 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for low-level debugging on FLEXCOM3 USART of LAN966 SoC. Signed-off-by: Kavyasree Kotagiri --- arch/arm/Kconfig.debug | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 976315dea958..7989d0633188 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -210,6 +210,14 @@ choice Say Y here if you want kernel low-level debugging support on the FLEXCOM3 port of SAMA7G5. + config DEBUG_AT91_LAN966_FLEXCOM3 + bool "Kernel low-level debugging on LAN966 FLEXCOM3 USART" + select DEBUG_AT91_UART + depends on SOC_LAN966 + help + Say Y here if you want kernel low-level debugging support + on the FLEXCOM3 port of LAN966. + config DEBUG_BCM2835 bool "Kernel low-level debugging on BCM2835 PL011 UART" depends on ARCH_BCM2835 && ARCH_MULTI_V6 @@ -1685,6 +1693,7 @@ config DEBUG_UART_PHYS default 0xd4017000 if DEBUG_MMP_UART2 default 0xd4018000 if DEBUG_MMP_UART3 default 0xe0000000 if DEBUG_SPEAR13XX + default 0xe0040200 if DEBUG_AT91_LAN966_FLEXCOM3 default 0xe1824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3 default 0xe4007000 if DEBUG_HIP04_UART default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0 @@ -1805,6 +1814,7 @@ config DEBUG_UART_VIRT default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT default 0xfcfe8600 if DEBUG_BCM63XX_UART default 0xfd000000 if DEBUG_SPEAR3XX || DEBUG_SPEAR13XX + default 0xfd040200 if DEBUG_AT91_LAN966_FLEXCOM3 default 0xfd531000 if DEBUG_STIH41X_SBC_ASC1 default 0xfd883000 if DEBUG_ALPINE_UART0 default 0xfdd32000 if DEBUG_STIH41X_ASC2