Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2192931pxb; Fri, 25 Mar 2022 12:46:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxH0s1DbRUmHmMdMKnEJ8giZLBCo4OcSuvK1Su86plWho4vVLthxvjvvVUGe5DzmPjaDKq/ X-Received: by 2002:a05:6a00:1488:b0:4fa:ac61:8b11 with SMTP id v8-20020a056a00148800b004faac618b11mr11886594pfu.58.1648237574904; Fri, 25 Mar 2022 12:46:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648237574; cv=none; d=google.com; s=arc-20160816; b=D1o1AR4Kiv9c8Ih3dYuI7SpvksiXQ6B3StLtW/fI2l8DGDqs30JKkg/wuHoDW3w9L5 K6fdGPqXg7cxXlH75d3i34sFuK17zf98dpcP8Ht/BWuRKb4T5RTVG6D2oZM82/gSNyU5 Qhe7WcQyTFQJKkUQMQf/fDXDbp4Pv/PxX3aliaOjdj6YAWgDdWIRAx3CX3JXLmutMXir N+FwSvsfyzSXCzTvs1B4tHp9/BWwqPKOWdjxgJ0r3i6pNsV0ENbXl71HwUT0BGNpOxvq pCy/2qNB4AfyHIiOpU+bm0X6iRTNJ+K6b2I+g8kmhsEi6D59fPODeyRGXk72OS6hYGk/ YIYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=ASUJ/9zMQA/y1HTvnWVNCE1y8KvdNuISnQ4M8fdQRNk=; b=GpF4iZCyQatx0GChLbGwQt5lZ7h/HJbbrwHHZ5Zugw2+3uPg7TVgZKZtdEntoHRUC/ WYCLqBuu9Y5mn+VhEGBpIHjb93qlOLWhvI8uMMPjpfeF+HtYJm9MRPUC53GsVzwyeQw9 VrXobo9Dn5cj6Nmujs5V9FBUl32HFcJYE7ilj3R/wsdlXEroQifFAQ6I/pKUzowdihoA ZAZAN//Fol6Uq6VeiV76yCT7xdoHrI214Cx2G8iPEdATNx8yj1gYoz9lpSsy4hOPh2RS HetcuLoeXhqhuGgWzWeDjCbb2HNcof7Ob0eNwK6w+QTCe1TeaqjCZC1TR/gfPhAU81in ZyBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=bqJkbvm4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l10-20020a635b4a000000b003816043f089si3238978pgm.638.2022.03.25.12.46.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 12:46:14 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=bqJkbvm4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DD9772B2047; Fri, 25 Mar 2022 11:36:34 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242994AbiCXNMX (ORCPT + 99 others); Thu, 24 Mar 2022 09:12:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232255AbiCXNMW (ORCPT ); Thu, 24 Mar 2022 09:12:22 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B3A6A774D for ; Thu, 24 Mar 2022 06:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1648127449; x=1679663449; h=from:to:cc:subject:date:message-id:mime-version; bh=AJ4z9771lC03AT4ol+j4MJ3/Iwb6+ApMU5BnuJsmO3g=; b=bqJkbvm42AA8OYH+mI5nPN/LcKaWE3d2DLt3/ANR+OJaLr31zcllHMnM 57EC+Y3nRPEL7asSR9zgilsbKoOQuzd9eJGEN+qgYOqplXTvpuRESiuBQ WteszoOpaWCLYmh0cKv/rsKd6BhOmPzam5ciDSLrprNKV0uIom+C+beGp XW+UHcrmZeHZaTZ6QkaqACSrgvKAEciDXtgAPCkaPvbX9ZcUIJE4TdbfP K4VM9M8BD89eC7XAnxPftKqhOcPlySktDPFf2W04h0FGOeh0N4MWS6swf EkzpdO0m8ZgfFxbVWxsCFAzD5UuLuflGJS+VMN9Fk7bbMBEr9Iu3DuH1m A==; X-IronPort-AV: E=Sophos;i="5.90,207,1643698800"; d="scan'208";a="166977136" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Mar 2022 06:10:48 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 24 Mar 2022 06:10:47 -0700 Received: from kavya-HP-Compaq-6000-Pro-SFF-PC.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 24 Mar 2022 06:10:45 -0700 From: Kavyasree Kotagiri To: , , CC: , , , , , Subject: [PATCH v2] ARM: at91: debug: add lan966 support Date: Thu, 24 Mar 2022 18:40:31 +0530 Message-ID: <20220324131031.32430-1-kavyasree.kotagiri@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for low-level debugging on FLEXCOM3 USART of LAN966 SoC. Signed-off-by: Kavyasree Kotagiri --- v1 -> v2: - Corrected flexcom3 base address - 0xe0064200. arch/arm/Kconfig.debug | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 0c9497d549e3..04501ddc7ab4 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 0xe0064200 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 0xfd064200 if DEBUG_AT91_LAN966_FLEXCOM3 default 0xfd531000 if DEBUG_STIH41X_SBC_ASC1 default 0xfd883000 if DEBUG_ALPINE_UART0 default 0xfdd32000 if DEBUG_STIH41X_ASC2 -- 2.17.1