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: 855903 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B803C14A82 for ; Wed, 8 Jan 2025 13:10:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736341854; cv=none; b=jboyqFOF6bq0Bbhou5FPY+8gwpeIF6qZRzkxONAMDSPVggWdAIfOJYeaUUGGFVk2K4AAxamgdRELXR1A6xWmapFgXDyqkem69NBCgIJQqEebj35aCoQxLbSZwJIfAWHkgbBNPE9c1Ap5LkQeNg4LRNHgCmsGseuHGUMacIcY6Z0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736341854; c=relaxed/simple; bh=IMjiMKuDcoOKg7EhCgSKW4Eehfkeo0sfGrNn/NXI+Vk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=B2hKdwj1pDBMR2/IPii7avcZXEjudmrI1eQDD7HpFEFTMOzFS8YyTeTDqBLyLpsXWr4Giqdk/Gh/HCGgbnMTYHAf/XIZdetqUrHK65P4ssYk9A+Uj7sP5Y71VHbMpUua3SnJG/oNOstzd2NEGVWpYyuJ0VI5DVCI415bia8wlu0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sartura.hr; spf=pass smtp.mailfrom=sartura.hr; dkim=pass (2048-bit key) header.d=sartura.hr header.i=@sartura.hr header.b=mLJhaO7y; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sartura.hr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sartura.hr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sartura.hr header.i=@sartura.hr header.b="mLJhaO7y" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5d414b8af7bso32990403a12.0 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=vger.kernel.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=mLJhaO7y/88FxTWfPfjy+o5IOxOBoynoKW84cK+ouwPZKTC2n8fIJeR7fC+udKdCM4 zSegtGrFVW97TvvEVvc76euaCmWc69s2D0Oj+dq4D5a4DpXDr0xSIg5y3dzsrdulkSER pFzfJRGpoADvnITdAuf8zsZGJZ/kDLxk3kCE+MiHgw8Bv8iwbtHRkNtqeQaTAxH8q8rQ AodnM9asbO2PYcpkR6HXuzRKcv6MaJmxEIShh+4bf+aQDpgt92qZDs3UzK54sZWmfzSJ UDHEOVmiqjbHZtZhYGfZ8wGIiIVkfLR7Qgt9OtWU3d6GnTF0rGR4JIVFF+vnCoAlsHji 8PDQ== 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=lXiWtAldD/4xh+0EZEcIXfgi8LyyNL60ruuLsB1smDig/QU4NMgoZC8XJR3BOh45ns AJINcKv85ZVzuodVxAPo44L7ZqZFZ6Nc6x6/9XrRC9S74M1I5Zl4NPfb/0BhCP3o5QDb say2zvoTBYNbWtrHZxEasIH2ekX3K1bPut6Aznqq4hMBoKeld/7rWOHIqI6lrbbY62bJ cWw4NkkBxAhv3jcyk/XvZRLv+cFkrs5vmkRdjO/r29/698HGgMzfkHnTlvfx9ytqjaC3 k3CS3YBKPrRDsqRlBp1YIQK3MJSylEgxpdOTgKdjjC91neWEEcyoEMYLFxXOVIPv5SRU j1zQ== X-Forwarded-Encrypted: i=1; AJvYcCWfjQxb5kdXTV+3p+8SC59KA8YBQkw8uNL/imzeO0zv2qrG6t52+umFqkKjLwV6DiBtSoNIBNSONzsN5jE=@vger.kernel.org X-Gm-Message-State: AOJu0Yw8NopXP2NTZ3q4oYrlItkr2htJnEji0GKCTiCAOCHz4KcUQFTR 30HNsPGpQ/pMMLsewFLtfPfRasnYI4W2FL30QrFChObrYSxzyFEOnM26TJyyNVI= X-Gm-Gg: ASbGnctjY8iSymL6RKQxHUlujWOAuwPv0duljaHm3lQkhtomQ8eAOi3WoZEyH9qjJzi TJxSX+LfeFtlWFzEjdATcEEFGIseWpQP4m12y0SrhvsF15DcuBlVv1KZg5awh94S+/CZM2dd7vw dyziVDgie/Yc+X8rVLPQzbn6lP2MyxxBWfbOQH7J/xfY5SRPaZ3cBVqebVjD07+H8skeDqelUYP g4qnkn6fKtzRTdiDGP0z7Np71ZxxRZ5Kj7StJsIXqqcCThLNa3BdqEUNXMA/flwLfcIJCcyT11N 5w== 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 Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 856164 Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0BF7B1FAC23 for ; Wed, 8 Jan 2025 13:10:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736341856; cv=none; b=WzyJvp2CWbetgupdzndQ8193IeJGaHNKDyABTCvGXvxkxdhNsgKRDQf0S3DBLMV41XXVtH6/SRh9Kkn5wwUCiSTSt8RWFxiOtpOkz0WNAsWTRvaVMVyOz0xGaE9OSyiochNMrHrLZUco6bYgem7bB8TZS3k6dWckGh7iCOhAde4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736341856; c=relaxed/simple; bh=wdwb5K0Nk9as3xXHyDTFyXuVgyfy5QUMEF9mKc1QTiY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sxcBBzGUnpxF6DG55YIQZ0r6a/pxXGqncse6ldophrErJe6bLebbUHG+tUW7jWUQjApEbeLNjnTQLRylRBtFjhSZ4qNkSoLpryHfljatxsFae+Uj3aK+zY9RA2R55KjV8Rp5PvhCCpDNmCoc9iOjt5KFxONBrLa/vn8GPONkl88= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sartura.hr; spf=pass smtp.mailfrom=sartura.hr; dkim=pass (2048-bit key) header.d=sartura.hr header.i=@sartura.hr header.b=XbHCrgx2; arc=none smtp.client-ip=209.85.208.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sartura.hr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sartura.hr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sartura.hr header.i=@sartura.hr header.b="XbHCrgx2" Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-5d0ac27b412so22629692a12.1 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=vger.kernel.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=XbHCrgx2TkpBHeWKnljiZgxXwVeKSB5BcUCBnjeL59k5/LXOtddCxMaPFnquhp0848 ///Z67sRV07GE1UHlYDiIAsXvfFc3YE7YFotz7LS2UJTMYAIs+nufNTlVZVVppE4M42e aplr+ml29BWEF1nCcXhddF8KxeLm9ag97jh6FRrMsXHo0qfLpSV5ZzhdFnTLbyfbTFsL 6B8BTwxXSIZHEX9DZMU/icHmkeRqX8rJZY0xQt9BYwxWFf4JCKaq75vou2dmhq6bJsIz SIJlpQmFJ9GqhHFOzQnuO5qxgrAhgpo1+Sb7D7+kXfF3rS1pyaj00/I2/nWjyR3rV4p5 OYMw== 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=YCGUyUbKrdrdB4hQwwjKqc+Se155Yc7YqVc0yW4XNngNZSu8/WDE8rXFxu4HTen+3Z E0Jh5i0XuG/dbIAGVqllODnsFHWkJmNTvbhWgffpRcOJURd5cgSdrXotbS8dUmpWe16y Gn3xS7O+DkrVf58LJc9LTF/v+WvOKQO1jmvs3KozT8sLdYmUXQOV+j+unobAhnEmi4td 8bGQGye+L2+FHfsJxRviYoLMsdCwf3FlkVUvKjeNh5NOfjfyU3LV7bT/tXqxOMV2UGut GHsEKDPXLBchEqX/MZNRRBVuu1gTxnxVVAbpmKwJZRmeFnvNEdNv6Z2IE9ttEVfw/Gfy F6EA== X-Forwarded-Encrypted: i=1; AJvYcCUc7dMi3JIGMF6tGZ23N0ZJo1UnO+7e0L1Dwx+3ClGgb1jOCbjjb29fP1/YVsqV8WMp9Nub/zHPMdoaYtE=@vger.kernel.org X-Gm-Message-State: AOJu0YxgvzZMpTFH6rPl+ep9CUwrf1qTNXAfzZNh8vxSBYBrb0bOvjLf Qoa1rYMF/5Fhmy3DQUrenyn/ru9lTjNSXVhtrF+YyrXoudWFFzrV273BH0b3XBE= X-Gm-Gg: ASbGnct2/gopqa4kokXeslC/DzGWFlySMp4IOJFg2yAoB9kNmZcA/xT5oKQtJdjrNWM KIvhsm5hTYMDrf2vcjgIh/3bw+wWy/FNCtzEyxmg1ZCFr9lWZjYGTJMvJ/ysEqqg/cNN8k8ZWom PLcjdmL4mzDBVfMwso2Ym5M4gsgEj0YD5XFj4oS2IVnIkFe9aMHNTyrYKFxiRZzAnq0FbB/uOeY wX6+Zn3cAXRtNFpv7kRRX+WTzpjzQh9havGG8j5NiOTV/C4zysviOCnZtZfrmcDShkChRdfJHag LQ== 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 Cc: luka.perkov@sartura.hr, daniel.machon@microchip.com, Robert Marko , Nicolas Ferre 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> Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 855902 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD2CE1FC0E6 for ; Wed, 8 Jan 2025 13:10:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736341860; cv=none; b=gfYrNsSxAaHpFMRwaN1SL2FlT/7AEyF3mSP5FNJ0PgZxSJ0wEcZe8uv+3aBVNJx+UfXyzq6hopOCh4ymiv33pP02fnhX3w/YcdyPMThmyzRWrg7K19KxGjrqLeqQ2nK4hMwEcpqlVeybS7oQA1xTWevI3jZT+pJE+QWUh3KbYNw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736341860; c=relaxed/simple; bh=oIyraJtt6eJ8oH2IUTQP3/uGfilGWY1D+3vWNioqWzM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UUIkAE0AOb2DceHuDoYy/BvBPqahwrK/v1sXDKbmM7MtdE3QhFlAWczZ3m2Dx7xkCXUjOF2uvVf/a8VzlJ/I84VfL0ZPNzE9jWZ/2U0vFlglTF4Ss1XyEJ6yhYHZfKK9tCXZuvNxsXmL+nV40sdZLu3pKnpYDC2j8TUylCKdTNM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sartura.hr; spf=pass smtp.mailfrom=sartura.hr; dkim=pass (2048-bit key) header.d=sartura.hr header.i=@sartura.hr header.b=UJ1KP9wQ; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sartura.hr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sartura.hr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sartura.hr header.i=@sartura.hr header.b="UJ1KP9wQ" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-aa67ac42819so2431377066b.0 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=vger.kernel.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=UJ1KP9wQWY3nYll2nnh5tJdfRAhrV3oY/55foufrg0NArm04Mp5hVwif3Louh8XmTE PiM9NN51c2Uu5WVwnKow5dnjZmq3sLOPsStUuSApjuuxjBTVn3sE4w3IWy9y+NoB3E2E m06b5e0xBlyD8aFi+H7Qu+xc/dJYbZaeEJvaheG3qQsb1B638s6X6Vscl44J46GaWQBp vvBBoJXMEXES+WI92U2pLXBKxSffxf1GwY1UrAPWtJnl+6I5QrDKJrUQHR/7yJeR8S9m WmPonyks83JLGW0iYo1CiGds3iqWEw8c07kriBEuyuicuQtTPH+WA9e4fbfo8n/Map1/ PiaQ== 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=f3wRD4VN5YcfpCJkQcjmJMz/3GA6oXU1Q3W4fo/b0fR6W1kpE7tGscmC4R/6XQN3aB mZpFE5ZYr1r+GrUF8qAqltzcASA7wXx4A0hF1XuftUG/E3S70lHuTHC6Q6KyEj1rtKZu pwHA/D6kc2u8lpSWl7g9C5BwQ7LTttxJhwM3JOP5oWi+uMxryJW8Sw5a+S+V782whF/z pof3EnT2Vsiu4zR+YlJoowo4CSxWhcWuDcdgc5S43UyhrGl1QteM5R5bM3MfF+b75aI9 DgyCOOhRrh1ZdBB/Man/GMoU/qGp4aT2/8SDyM8WrzlR5jDBrnA++CvWDLMAuSkIaxDr V1Aw== X-Forwarded-Encrypted: i=1; AJvYcCXpu6cWLI/obLN72CaU1MbGxGIy9HFcvvfNeSsUJP4CwncEQbWYI9R8CufdNqWwXQnnZPE5hvaEpyKKvEU=@vger.kernel.org X-Gm-Message-State: AOJu0Yz6pLSLATeAcnBpcJlMEXVcG6FEzKZ5euWn22BZGbSmnZH9FBbF vamSVvILc0TR6JAqvFPBYcCoA/atvrXsPbjsLbTgBvS3ZjzGjXXfXvZMfkaK1eI= X-Gm-Gg: ASbGncs5eSajq4T4OqkT1PY4ef7AxKrI2z+Sc9Cby1yE/Cm/SPmC66e+Fythr1FtVwW YwZhRu6UgBdzPc0bKwmJmTjPGeDm+hO3l2vn5w8iLSuTl5Es4lCyESTuu7Y5UEKjVRS+VFTMLZ9 z0aMv+UfxXJwgzkmk6aZ4XRgJmc5hQgu/7FpyDmtvxVpcKocWPyOdzB3I/Or70nDzOVHpa6e7du npXDPv7uEzl/0NYR7h5nKsODT5tNj9MSkz6rCSQdLYiBnWGuT/Nnv8jcabh/Lc733hSLRTVLthW Gg== 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 Cc: luka.perkov@sartura.hr, daniel.machon@microchip.com, Robert Marko , Nicolas Ferre 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> Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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