From patchwork Wed Jan 8 13:09:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13930911 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 9F0BAE77188 for ; Wed, 8 Jan 2025 13:29:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=jTD4xCu+4feI3XGCQAs3L1ZGc+rHp5IadbyQhEAC64Y=; b=YLzhcLhl+BZnrVnJpjFWXewMvw bX0iU7QLTQxKZIbsDZvNJbNjpN2CwBLfL8gg6CgN0NEoro3cW80D07XS2+IlHs5paOsUvpdXcat5P zxtgnW6TBc+H0MP/lxmeD7T/tF92Dt79GUkyzr7La9uGRDwqRDqiYP2DocQ2HMWZboR2+lhAMyao5 hquTtJe/puiGxLdz2dttR+SpnO6rlX+diJJvdkpLB/tkWlv7sPuGhX+bm5rtGhTgs6W/hIPzNn2/y NZ+6l3KcaO+cmASmHppYXU6Z9j/O8rJEp0+ffwYvwydLGz9N26ZyVS9T1HGw0wx4s6pxODKQ6uxfB kW7f6QIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tVW7r-00000008c9X-0YKF; Wed, 08 Jan 2025 13:29:35 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tVVpk-00000008Yhj-2B1r for linux-arm-kernel@lists.infradead.org; Wed, 08 Jan 2025 13:10:53 +0000 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5d3bbb0f09dso29288470a12.2 for ; Wed, 08 Jan 2025 05:10:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; t=1736341850; x=1736946650; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jTD4xCu+4feI3XGCQAs3L1ZGc+rHp5IadbyQhEAC64Y=; b=jZa1kOhYP2L7X5QW+8kWtT89ElRg58AOeiEZ4wdUW5MjbFI0GBewZGJXDZ29vyuLDp bvRTUa9VYZcH//4lvtbzyDMR8zTjE9YLM9QCwh3m4fGNOFrsIJBULf0CdSqtqMRnHfvL 1lx5UJjKxQhYY1c6EDEC1HAR1NA6C3A3pRFOwidZ3qETN+d2YQYZySDzHM4t4POVe8m/ To8hFHMI7cagdGaIZxHKPT2Hb82JndW4L0oNXlEgsPr+fr6IDWIOCCTd8dC0gNYik3mI vj7p6RNPsifvEW3OaD06AfFuN/jNFTcafxs6YMBaMaTQmX+arKqabXqcBUZt3E+0sz5m +DUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736341850; x=1736946650; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jTD4xCu+4feI3XGCQAs3L1ZGc+rHp5IadbyQhEAC64Y=; b=cP2LW222h40mAuSJBr8sfIqx3mKdst/XLk0P49P+W7PnK1sH3HLDgfaWkih5IB594r 7p1jBwE9Fwk0tCQbYetHU8GnETlJAsL0/GMILd4ejgl+kEB+ckN/sEZypoR8tD26tUIN U0Wh4YRPmIp+LhR2QxGtk+WovrG2nyHGNVedb0pG1qTlT1nEvJ6XVpuGiLk/1Eit7gy7 iYxXFAfFpsr4poYnfffzp4MTmSYwRpKjok2bcrxbJG9jjnZ96cfi4Zb6dn4iS5mKJVVp TaOXzjWn07RcNBWUKn1wSAYHWY8G8TeNY3VThQvuigbBUO+ojeL8S/VbX8r6cK8hq1jR 026A== X-Forwarded-Encrypted: i=1; AJvYcCX5gC9DzI1DYyVnkzGVv6yq8KPh0Zgyv9rAMAXMWHKysaAC1QgHzi11x1JTBbqyJI+if6SjnsJXgRC5/LatYhea@lists.infradead.org X-Gm-Message-State: AOJu0Yx9DkfhMoYqBIiCiIUq+vRCmYcTITBPakBswbtCRevvk1YTYPmo ZGLip3b4+lOe74N8SD0cJlHd61YVai1LSrL0//9RLfhy2+GAqfSoJllZ6rg79xk= X-Gm-Gg: ASbGncs9nkD/UjlUuTv2jweTbIZBfuLwTg8OAjM+8MiJParpDAWrKASeTAc5/7/ELYB fpu9Zhhc5DlLWiIBFGeLCLif3caz5YY5zh6tgUXVVnBjq9RTBR73ptTqBLzbfgYlGWc+bm0mbRC 5DK/XmYbEKGvwOKA2gXcquxtnyn5jEMSE2NHcUh+OJDrt4S1JeM1fvfskIa6QbfPuSGGKT3ehHq Kwk/BjKC3FQsn1cH8x2c/9jkpoYAnzFGw6TEKI+GIP5B/TiuhZwmWYZJhZOUd3tqMH5lySt0gIc 4g== X-Google-Smtp-Source: AGHT+IHLwNyy4A70HAWpzRTfVcvclZt7HwGR3P3PBQ5fNfIfanYr2FOL00ctrneNCFGNPtK8PpM4xA== X-Received: by 2002:a05:6402:35d5:b0:5d1:2440:9ad3 with SMTP id 4fb4d7f45d1cf-5d972e703e5mr2225214a12.30.1736341850034; Wed, 08 Jan 2025 05:10:50 -0800 (PST) Received: from fedora.. (d-zg2-023.globalnet.hr. [213.149.37.23]) by smtp.googlemail.com with ESMTPSA id 4fb4d7f45d1cf-5d806fedaebsm26159761a12.57.2025.01.08.05.10.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2025 05:10:49 -0800 (PST) From: Robert Marko To: catalin.marinas@arm.com, will@kernel.org, lee@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, arnd@kernel.org, lars.povlsen@microchip.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: luka.perkov@sartura.hr, daniel.machon@microchip.com, Robert Marko Subject: [PATCH v3 1/3] arm64: lan969x: Add support for Microchip LAN969x SoC Date: Wed, 8 Jan 2025 14:09:26 +0100 Message-ID: <20250108131045.40642-1-robert.marko@sartura.hr> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250108_051052_563009_B88AFF5A X-CRM114-Status: UNSURE ( 8.09 ) 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 This adds support for the Microchip LAN969x ARMv8-based SoC switch family. Signed-off-by: Robert Marko Acked-by: Daniel Machon --- Changes in v3: * Rebase on top of next-20250107 Changes in v2: * Add forgotten LAN969x architecture support itself arch/arm64/Kconfig.platforms | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index e2638e5118a7..cd29480be792 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -133,6 +133,20 @@ config ARCH_SPARX5 security through TCAM-based frame processing using versatile content aware processor (VCAP). +config ARCH_LAN969X + bool "Microchip LAN969X SoC family" + select PINCTRL + select DW_APB_TIMER_OF + help + This enables support for the Microchip LAN969X ARMv8-based + SoC family of TSN-capable gigabit switches. + + The LAN969X Ethernet switch family provides a rich set of + switching features such as advanced TCAM-based VLAN and QoS + processing enabling delivery of differentiated services, and + security through TCAM-based frame processing using versatile + content aware processor (VCAP). + config ARCH_K3 bool "Texas Instruments Inc. K3 multicore SoC architecture" select PM_GENERIC_DOMAINS if PM From patchwork Wed Jan 8 13:09:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13930908 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 D2C01E77199 for ; Wed, 8 Jan 2025 13:22:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=h6vO1yS6GPlqptdbWrGJbZkPRuaiwDL4rtqMZJkGpRI=; b=mHrdov0Vk5LoGr h8Suij9p1JmjLwti3OzkiVB/26WYNcNf2zHAoJIFRWDhTclZrmJp7AyK742oXoVRPuC91OhBfshxZ KSEyZ3jQY4M3R+ET7syEnLoz01kGwOYvzTgN0W13e4lGXgKp8ji9BJ64V2FkjW4hO0cTCAdV8/Ig/ /q56c9tu5gycT9wgOu2Li/KKpODE90sQRYbNfQLSBihhUVR87m3MjVpl2lxwtSxggnAr3HlWHnrpF eS1+v37drPyJaFUAoNZkaVIh9y0b9WU4+Q4dxhQKj4j8eoG/j08x/buloasS7sLSeavnTeDBp7HI3 /UikTfIO1+3Xmi2sULLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tVW0p-00000008b3G-007X; Wed, 08 Jan 2025 13:22:19 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tVVpn-00000008Yj0-1fZH for linux-arm-kernel@lists.infradead.org; Wed, 08 Jan 2025 13:10:56 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5d647d5df90so13945465a12.2 for ; Wed, 08 Jan 2025 05:10:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; t=1736341853; x=1736946653; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=h6vO1yS6GPlqptdbWrGJbZkPRuaiwDL4rtqMZJkGpRI=; b=N5ckYwdkp/KKvAsoJbSKD6lJvWuNbzbJ+yJSG7uLAfoCWIzKWao+dmfmlzEI6Psu/3 dKQINS2ZSwggX7YwpEXtfCAJXiyic82C7Yrd3/WqKeZkaXZx2RlMFYFZ9M+2LkK8zOlC IiTKtFL2eEUG/F5o/dzDvpKzhv4pjcJ+lWRW/lP/fos4kI0ByahwWpPf5c6U+8WdADNq i20BM3t3KNRtxjDeYk+CQnEvmCNQP16cnhOu6MqvrQORHEs/85Dp/HFQwvYaGEzTzehn WoCjTyp7RREcg0LfL2/qFiMonF6dy5DkmXxxw+Bc7fKeKMvcLPIyzNV2xTPT0/rAfmDc 0VcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736341853; x=1736946653; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h6vO1yS6GPlqptdbWrGJbZkPRuaiwDL4rtqMZJkGpRI=; b=t/ybsCIa89OdIWqt4Ys3sYnBnaS6dqUSDa90Evv5z0OkbZS5vD3irYeZepd77grVt5 u38Y1CBgv4kTuKD/E8MH/+qldQeN4LjSC4jQcz+agwrr+G6L+kjR5lqm2Hth6Ekf/G3n Rfjj3xSBdiqn2wjz+AvrlHBq7aMQsWk9/ImLI2VXDqIO4eqrBCayXWu8v2udhX8eOIE1 eslMbhJ8mxM44eGxv+p2+nqlyyHqOoa3Q0O0LvXSm5eYk1rweq5x6xO6S68oSOtHq1e5 7Mz+c4a8WXOCCDI47Ayvv6EeaicFk1nTPxfxugVFHO3oVN3T9GtBn1gKUm16hvzoi0Gz Ealg== X-Forwarded-Encrypted: i=1; AJvYcCVGPuzcfrenaYlw0uUsW8XwC/O1xFZquHVPiV8Z01ACGQ+IEqhdIWOkayRCN8mxTfxsT2o6dDoA0woo7C+GyQRR@lists.infradead.org X-Gm-Message-State: AOJu0YwspnhXyrZXkO2X8iJAthLENQbCuMlLalnPNcif8foWSZLQGvPx Sz39Zvmx9pCTj7OAQzxgHyBeNrVksV1XZIW6tWD9JJCL8663VnL96ildeOZRij0= X-Gm-Gg: ASbGncscgnxC0veLv+5TXIJltpAdfm0bx8okGQsOPABTxdecnltwAX680EY5YFlT6Jd 3CrH3kC70lVyOoFk/N0E7m+TfGgqkcFy9xOnx6Mm/whVu9reXST6k/4KMfhBLGQewtNCzFZB5se HcZRCgObYYleOydjI8lK2jSMnIRZcm6h/zRkIGd8Aaklkc4n5VzPs1qJA3DB2Nezi+xHZJqaruD qQOlmL6+qk7yag15qCktZNx67D8ETLF6Nru5ysdnjsPpGyjH6u7/cwP8Utzy6cUite3zT9U2CBD JQ== X-Google-Smtp-Source: AGHT+IH01FPYKyvnpHvBBmc5ech/bov1311UfrV70T3kwaAdvQJCOLPViymPRE1YxoO4XH05S0VA5g== X-Received: by 2002:a05:6402:2550:b0:5d3:bc03:cb7a with SMTP id 4fb4d7f45d1cf-5d972e4c9b2mr2569981a12.27.1736341853470; Wed, 08 Jan 2025 05:10:53 -0800 (PST) Received: from fedora.. (d-zg2-023.globalnet.hr. [213.149.37.23]) by smtp.googlemail.com with ESMTPSA id 4fb4d7f45d1cf-5d806fedaebsm26159761a12.57.2025.01.08.05.10.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2025 05:10:51 -0800 (PST) From: Robert Marko To: catalin.marinas@arm.com, will@kernel.org, lee@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, arnd@kernel.org, lars.povlsen@microchip.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v3 2/3] mfd: at91-usart: make it selectable for ARCH_LAN969X Date: Wed, 8 Jan 2025 14:09:27 +0100 Message-ID: <20250108131045.40642-2-robert.marko@sartura.hr> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250108131045.40642-1-robert.marko@sartura.hr> References: <20250108131045.40642-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250108_051055_433881_E6D85764 X-CRM114-Status: GOOD ( 12.04 ) 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: Robert Marko , luka.perkov@sartura.hr, daniel.machon@microchip.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org LAN969x uses the AT91 USART IP so make it selectable for ARCH_LAN969X. Signed-off-by: Robert Marko Acked-by: Nicolas Ferre Acked-by: Lee Jones --- Changes in v3: * Pickup Acked-by from Lee Changes in v2: * Pickup Acked-by from Nicolas drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 6b0682af6e32..ef32ac5ed75d 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -138,7 +138,7 @@ config MFD_AAT2870_CORE config MFD_AT91_USART tristate "AT91 USART Driver" select MFD_CORE - depends on ARCH_AT91 || COMPILE_TEST + depends on ARCH_AT91 || ARCH_LAN969X ||COMPILE_TEST help Select this to get support for AT91 USART IP. This is a wrapper over at91-usart-serial driver and usart-spi-driver. Only one function From patchwork Wed Jan 8 13:09:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13930909 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 49D67E77188 for ; Wed, 8 Jan 2025 13:23:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BN0yPpMIVUvy5dvr2cl4F1PFjMYUc3POzI2oD6FyxFM=; b=J3CcEB6syHMk+G US+d6DW2/ErISeZHyHCAyenvbgucvuFBQ5oKdvl/ZxiyeAQoAcm1wRwrcghSNzRbYAUpT52SA2xII j3QpEhmIrVGQp2Opf7DQmPfq1Eci5nTVU+7e4KKTViAqqWH/nr8o9qRH6p7JA5VnxecOyikqtBB/G q2dnovENFUke0UiaHI22iaeVaVg7iYPDw+6QABcZCZXFfEdy2Gh7/zlz+Z385xek42rBA/Lg+y2Jo FKryyPxOMuSvfzveiQx4SnOLkj35cNG1KchFN1iSavY5slM5kH/W4OiYI/3sq+awHp4j8oDdRdBIP RVg401MqSjtqJj3/XvDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tVW20-00000008bM4-2dDe; Wed, 08 Jan 2025 13:23:32 +0000 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tVVpq-00000008Yk2-3lk9 for linux-arm-kernel@lists.infradead.org; Wed, 08 Jan 2025 13:11:00 +0000 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-aa684b6d9c7so2742190666b.2 for ; Wed, 08 Jan 2025 05:10:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; t=1736341857; x=1736946657; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BN0yPpMIVUvy5dvr2cl4F1PFjMYUc3POzI2oD6FyxFM=; b=EarTGvg1wWfiNd5Twag1MaILUVtWKo5YElwcff/jBlZmCATkNLXQV+QvevTk71o4fD VKpfgYSwOVaXYXyUmV+qTvFr22Pb+lW8bif4oS7Z8Hi7EsoW9/gMWACHqZwsBqgkd7qB MyJoB+V+U7EN1QfxeDTNX1R9lB9pDn4rH7pU3yj77ZPVfQMsJwifDjHJBm7eOIC5qDEU UpE1OWxDDl+8lfRTueEPls6n5+sgusAyqPanrtdPyj2MTTo4hPls/uvjHoBivFmFKule eXC7fpApz9J7ukpvtJ3dF7xwa3rk8BWFfigmRpq88U5oUaKcMDpmhuNqqtl7SW1gTgRh AkTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736341857; x=1736946657; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BN0yPpMIVUvy5dvr2cl4F1PFjMYUc3POzI2oD6FyxFM=; b=dJkygYulUepWXZMMw4hyxmZ11lH9A7WOtiqOBOkuLalShlzWH3ObMz2B/gqT4fzQ95 q5b81L7GYaumEHsxLfxzFGHsOxKRLa8PriIA4RQamJbi0wlI72YbvplI89YCYZr2Y2NZ mqYzGQ/Prm8GyA25TXJV+TIxLqsIv23jasKkKUCVe2Ut8Y5xnxHQNqki0xUDAn/34/t5 3NeJlpiysTMxxOcXQX74hTIs+A1vOVDyNL0i2B1VZFaObiEihleSrveZ/qwyN4MdWfAg k73Sy4aUhflIDyo7qW5iMN8ntB95cThO7Ay2Nml45Hz1VpPGt/R3BGEf389weyr3FZLR 1AOw== X-Forwarded-Encrypted: i=1; AJvYcCWs4hH1FK0xMEZwqjs3G978TFt4B3Sbdq43kzM9GevDEJNXVKuV3lv1oPkdkeEPBsMTARsQbiA+qtarONg3Xk/n@lists.infradead.org X-Gm-Message-State: AOJu0Ywbm5YCmcZ2qIpyggpykMbQM++QkG0JUgeyORt+UorPyEXxi5kO nU2UD4mGzKgnQq4hRGfwgIsy/luG+nZs6uUStD2WPrkMmGU95ls0eA83dcmadRg= X-Gm-Gg: ASbGncuH/R2nDVWKIIP4dB8HQ5U43pNdtF4IZYPevXIwKWU9MKE8oRBou+JM98teLQx HHlr1Pd4smmoVSXTyHAOKwP3bLwe4gcZa6n4dwi5iEK/3+vLu6oifjrawgHUjF6wixj76O3eRvO oXt4V12jGfp2OCees4FZKhURc2p68Yo5broOD60/1zAOuTZHC9I+7AIzjWwe55Ljju4/KPM7+dD VI21dZnWcds1y8CG+yD13x1xUx91YIPCd9ShytCePoJSvDaGDlaQhP3xZu7BLKJj8af+AG0eCGk ig== X-Google-Smtp-Source: AGHT+IFJ8uCXGWMcgCcfG2AE5znWZEYmo36LP9wm7sevnVR4LMZzKP1YIGgXKdylu5CEr8OTPpTy2g== X-Received: by 2002:a17:906:6a26:b0:aa6:a9fe:46dd with SMTP id a640c23a62f3a-ab2abc6de7bmr196044966b.38.1736341856895; Wed, 08 Jan 2025 05:10:56 -0800 (PST) Received: from fedora.. (d-zg2-023.globalnet.hr. [213.149.37.23]) by smtp.googlemail.com with ESMTPSA id 4fb4d7f45d1cf-5d806fedaebsm26159761a12.57.2025.01.08.05.10.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2025 05:10:55 -0800 (PST) From: Robert Marko To: catalin.marinas@arm.com, will@kernel.org, lee@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, arnd@kernel.org, lars.povlsen@microchip.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v3 3/3] tty: serial: atmel: make it selectable for ARCH_LAN969X Date: Wed, 8 Jan 2025 14:09:28 +0100 Message-ID: <20250108131045.40642-3-robert.marko@sartura.hr> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250108131045.40642-1-robert.marko@sartura.hr> References: <20250108131045.40642-1-robert.marko@sartura.hr> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250108_051059_211688_536CC1F7 X-CRM114-Status: GOOD ( 12.07 ) 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: Robert Marko , luka.perkov@sartura.hr, daniel.machon@microchip.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org LAN969x uses the Atmel serial, so make it selectable for ARCH_LAN969X. Signed-off-by: Robert Marko Acked-by: Nicolas Ferre --- Changes in v2: * Pickup Acked-by from Nicolas * Add whitespace before COMPILE_TEST drivers/tty/serial/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 45f0f779fbf9..976dae3bb1bb 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -128,7 +128,7 @@ config SERIAL_SB1250_DUART_CONSOLE config SERIAL_ATMEL bool "AT91 on-chip serial port support" depends on COMMON_CLK - depends on ARCH_AT91 || COMPILE_TEST + depends on ARCH_AT91 || ARCH_LAN969X || COMPILE_TEST select SERIAL_CORE select SERIAL_MCTRL_GPIO if GPIOLIB select MFD_AT91_USART