From patchwork Fri Nov 8 13:57:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13868335 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 06659D5C0D2 for ; Fri, 8 Nov 2024 14:53: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: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=19nNoiZMI2JgXeIpnibERXoHDynmYT61X0LDoD+6J9c=; b=cHmpJlzfQ0nVd8NSk4bolD8wBF mQULvgiUUndxj2K9va6cQgZ3MAwWk1jyMlXN+D6XVsut1TDg2tigniVu5q5T1mmZasdp2whiGFLw4 KH9w/vjb4at1gF43bJ59pBJv4KimvNKZqkXOVnzbzj2n6/A+zTkYkgMVm79hfbvxx05rJzaYdjuIa WvCXd5IF0tn4Ljgc/nEeAw0kVBUoZ3fgMFeHAcTs7SDrPPFMLfzA/TNMqNR56RilLvdy89/wbP330 ZXxtrIJk0jZHKJymRlVfLAso0oZ/CtAiSArvrajRVpX5MWceYvDvdwUqHS9/EbOcaRzIY+m6EhkvR 3YM1lcdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t9QMS-0000000Auyn-3Yz2; Fri, 08 Nov 2024 14:53:20 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t9PVs-0000000AmKg-0O6x for linux-arm-kernel@lists.infradead.org; Fri, 08 Nov 2024 13:59:01 +0000 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-37d447de11dso1507456f8f.1 for ; Fri, 08 Nov 2024 05:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; t=1731074338; x=1731679138; 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=19nNoiZMI2JgXeIpnibERXoHDynmYT61X0LDoD+6J9c=; b=lJei78q86vsM6AJ1SDi8a8EpSfHxr3UXMaOEuSdMtQfp+qcj/nV1UbVDZ8NXvUXleu sB4YJ3jXD5KoGLOY0FfBkUNtLgG3oiECRbY1+ux5H7Ndq5DUDukyU6y8tmfj0N24JL/S TJXyiRmR0QqOAgJeivYPAEKSecstufVWmlRWezj/HqPdhToZ03n8pQSPd90C9JRKLFW7 T5SPxxJaCok/KOZRYfmhFZgykCjHzwR97usfLdQI9R2KjCdZbCCydp1zudE58loUV7rE EcxmPjUo4TB52F41iqdCdnR965H83frD0k6BITb5LElCiH6wzjgGwcuTbj5GJ4ZMujnU mQVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731074338; x=1731679138; 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=19nNoiZMI2JgXeIpnibERXoHDynmYT61X0LDoD+6J9c=; b=RFC1gQI4zjmTuqXcA8whNXEYHEF+xAWSsk8gANcpo3N7+pQGeseZXfuusc0pjDIjhl qfoD5dh91Z9LyB88bvuxNTDhC+RzJHMGh78pCIm0I50Atblpe5JkezKeO7/K7St0bxKF awrfKds0FAY7FyrIYhEvAh2kBPTn9f6256IKPVdzOlBwL3VLWyWedLgxM+dyKs5xIXDa VaEujMFsWKNTEr8FusBHbG1UgiBvY6/gTILtmkHIqw2cPnWS5ZUnBSBVL1Vv4eGgSneY zNEiIOByrNwywmAUU4sX70puXkeqHGyG7If6SAwi5WpX9Ez11xw9xVY906FrO3CGPqWR 6hOQ== X-Forwarded-Encrypted: i=1; AJvYcCWR7W2DN8EszZUqXZAe3DtSW1Q4FCfdgqORBzN6YnpPpgSuyfkZAF70Hr8KNdoJgIzAPsLCoQGlIGrmB3s2FMw5@lists.infradead.org X-Gm-Message-State: AOJu0YxbBsw7k/AF2rUFbj8qKGJrdR+oAhChX92hiIpf/6zPi5Y3F6bN EDyEo4LnkNxVfyD6jba4Pl6zzcCt4MDG3LNdw0qcVwVBqiWl4wDaB9VhVfQGkEo= X-Google-Smtp-Source: AGHT+IHddZyZHnBvXvpwpiOFOpBw0pB+ps3Rxlk3QlAmQ6sdQYs/NNEYqY/D3vFEUDZaWTay7pUGFA== X-Received: by 2002:a05:6000:401f:b0:381:b68f:d14b with SMTP id ffacd0b85a97d-381f182fc02mr2476225f8f.45.1731074338350; Fri, 08 Nov 2024 05:58:58 -0800 (PST) Received: from fedora.. (cpe-188-129-46-99.dynamic.amis.hr. [188.129.46.99]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-381ed97cd97sm4924431f8f.27.2024.11.08.05.58.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 05:58:57 -0800 (PST) From: Robert Marko To: catalin.marinas@arm.com, will@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, lee@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org Cc: luka.perkov@sartura.hr, Robert Marko Subject: [PATCH v2 1/4] arm64: lan969x: Add support for Microchip LAN969x SoC Date: Fri, 8 Nov 2024 14:57:31 +0100 Message-ID: <20241108135855.129116-1-robert.marko@sartura.hr> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241108_055900_170315_D793D124 X-CRM114-Status: UNSURE ( 8.24 ) 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 --- 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 6c6d11536b42..4650ad3674aa 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -128,6 +128,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 Fri Nov 8 13:57:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13868336 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 1735FD5C0DD for ; Fri, 8 Nov 2024 14:55:21 +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:References:In-Reply-To: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:List-Owner; bh=1w6RpVPZFLgX8W7zDDIW9Bt9wUWPJmCNFHj/06iwgR0=; b=o/kQBfbktvbl2wvrvHldCHQ1Lr tHGbnKA+bPnSY2hqeRrtHbynnAbYjcHT+ElW8zERLPE9SpSZKLSG31MKmbxCpH85jZtVga0ZF6tUs 3ob4cWMVWxeBpbzTSzRkGNixXy4CRGY+J9duHb6Kos7Lt5YKu44T7ESRfp13RseTaTOtN/zIlbnbG JRjpLxn4Szx7iORrzRHJ1W23Gtso2bEuaokNyHUr607l8LGauZ5cMHCkGiZhS7mtdUsheWrKhBT/4 HGWvwilwXwhMAYzFDETVjQn/5uOQphKnq+26/MHFRvD3bZTP9GbDGrYWAEdFgf2iacaeeN419eD4i YfkNF7Pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t9QOD-0000000AvLC-0tO7; Fri, 08 Nov 2024 14:55:09 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t9PVt-0000000AmLS-1lNr for linux-arm-kernel@lists.infradead.org; Fri, 08 Nov 2024 13:59:03 +0000 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-37d51055097so1405299f8f.3 for ; Fri, 08 Nov 2024 05:59:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; t=1731074340; x=1731679140; 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=1w6RpVPZFLgX8W7zDDIW9Bt9wUWPJmCNFHj/06iwgR0=; b=LzpsBHPK2j1ZEloRPvC9cM036ntlIDdQ4lP1rg2clwfxJUu34IXjZrjEWh4HYibBTO vz3qoZSquqSfyW40AxdH5axOuOJ95HLwpyK04va3VGGgsyt0wRUGKYy3g22bZW/FyJgB tXR7ZEJUwwvfAu8PpbCdAxxKRwKJ+KZWeLKBkVqZ2PIfREZV1xuXWkHoNztExUMRkBxv M0UGfsuwCfOByaNX7wSk16EKyEgwQx1CEdg3b3cb8agSPyDcChTRk2yLWIhFQrhxkr7u Cr5Eju2+e4L0gh/d5LGCOHQSUqEsSE6yxdlZJWw32FQNfgK6bluspxpljQNtYqMyrPBV wtog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731074340; x=1731679140; 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=1w6RpVPZFLgX8W7zDDIW9Bt9wUWPJmCNFHj/06iwgR0=; b=KXa2I+uf4qKvbR1SHdHFs7USCMd9AhcSoyUxJjjdez66vaHKOvjUc98chQYABaPriu j4D4DdaYPHXAzZHg9VKhzCexeFGfAwV6YbTWDLWFHmGJ3GWcwlp+I06PCtnYuSgzYuF3 eUehRCYilIU1ALHQ54gEgasI/9oP0ro4LZbl8u749gHaqjH1UTgvur46SNkEU+RTgGXy cszkr+X9yecr235WWdLx5RHKGG/7+1USi4MlOo9tBBq3H1TgYQ423GyTu7PKyvhWH42L 5OIQ4rhYFFKeG+2rTiyvEfJqNbK55SFK1jWnzb77WnnDub5IZNgXi60KnEfh/EVbeulK J+Jg== X-Forwarded-Encrypted: i=1; AJvYcCWd+GcTgSoHQ2mG/cxWFECoH2RSVb+Now4oTP9CwqZ+6whWBKdtQVMX0/hOKwmvPJ+a1QAYPWBKOyqfId1vPalO@lists.infradead.org X-Gm-Message-State: AOJu0YyoGVlTT00LylfW9/vUtsy+Sl5/KpRQRD5LDfuWcrpYrguVCwpW kWCY2Lj+vN6JD8z9+mHhqkmHPAishNUP51zH8/HhlfmCLYQTOxyDfQg6Mk9BkeFR9YHvaV+eWzI H X-Google-Smtp-Source: AGHT+IE+nAqhwysBWUwaiDHL8021dYLt45cexYtLiP8CXTNVID4kP6yjzuHQfUBix0HKH4CQF1DrWg== X-Received: by 2002:a5d:6d06:0:b0:37d:45ad:8394 with SMTP id ffacd0b85a97d-381f1866bb5mr2611022f8f.15.1731074339782; Fri, 08 Nov 2024 05:58:59 -0800 (PST) Received: from fedora.. (cpe-188-129-46-99.dynamic.amis.hr. [188.129.46.99]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-381ed97cd97sm4924431f8f.27.2024.11.08.05.58.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 05:58:59 -0800 (PST) From: Robert Marko To: catalin.marinas@arm.com, will@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, lee@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org Cc: luka.perkov@sartura.hr, Robert Marko Subject: [PATCH v2 2/4] clk: lan966x: make it selectable for ARCH_LAN969X Date: Fri, 8 Nov 2024 14:57:32 +0100 Message-ID: <20241108135855.129116-2-robert.marko@sartura.hr> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241108135855.129116-1-robert.marko@sartura.hr> References: <20241108135855.129116-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-20241108_055901_521745_C40D21A4 X-CRM114-Status: GOOD ( 12.89 ) 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 LAN969x uses the same LAN966x clock driver so make it selectable for ARCH_LAN969X. Signed-off-by: Robert Marko --- drivers/clk/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index ef709327cba1..713573b6c86c 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -270,7 +270,7 @@ config COMMON_CLK_LAN966X tristate "Generic Clock Controller driver for LAN966X SoC" depends on HAS_IOMEM depends on OF - depends on SOC_LAN966 || COMPILE_TEST + depends on SOC_LAN966 || ARCH_LAN969X || COMPILE_TEST help This driver provides support for Generic Clock Controller(GCK) on LAN966X SoC. GCK generates and supplies clock to various peripherals From patchwork Fri Nov 8 13:57:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13868296 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 0789ED5C0C8 for ; Fri, 8 Nov 2024 14:24:48 +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=Kn7pAJeAjAQBKS7X66mfb/roOZgIjXWBw7c3PZeLLVI=; b=ujnQfAU1daKqj9 JLCB+rcb/MAtoUt6Na9ZRuXCRKM6NyfnvnfPinB8xCJRsik1hlwXNnSgQdbm9XzJyoT/KfmfA6+Oh Oxm0PIljZD3IsWPavFr2mBtCnJjxlZ2GJTY5VANc7C55GNuZdXXuLs2Bc46OjuyODrXU0f+BGD5zi oHOKNKhtvQdkpfzQHqjX2IvO73yzh3vijQHIcpxcdAk5ZWSo/UQFOE5og4H2B31rALya02nJAcbz/ 83Omp0468D0lPAmePE3fMkEzeLDTW/SnVZwJeKjpVl84r4YSaY3PfLl/ZKK/8q2WLWWu/+2MYgQvy UUVAgS3jrRAyNacgnJ6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t9Puf-0000000Aq6c-1n3O; Fri, 08 Nov 2024 14:24:37 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t9PVx-0000000AmND-09iv for linux-arm-kernel@lists.infradead.org; Fri, 08 Nov 2024 13:59:14 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4319399a411so20042595e9.2 for ; Fri, 08 Nov 2024 05:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; t=1731074343; x=1731679143; 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=Kn7pAJeAjAQBKS7X66mfb/roOZgIjXWBw7c3PZeLLVI=; b=etsQb9lY0OLMFMsl3E7mYanwB3+odXGexCD53zVc2FaLFxNMHBa3mVJFCwh/urqGuK itfXZlIq0A5SRyBiEDPtujef+Zz+5k8vvvii6W1IeSZVg6OYpi6dbuPEgA3FRjIIhHed p33TTvD5pOPaKgCqdH9M2rjR30rA/fFTEyYlsNaoJP+5/sHSYqWPeOdEmLya8Ma/ms6m X3Boe/2Achpzo7986CHeibmM1Hpc6zPm1ms/4VcFuY0qBaIPB7x/dbArKV4Z5b1CkPj/ onxbVv3UgWm0VyxXTx/zxCFYZZZbLe+FZ0SCY7Ti0zS7Z4y4cogc4f0wWfpERXx2oyoh jfhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731074343; x=1731679143; 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=Kn7pAJeAjAQBKS7X66mfb/roOZgIjXWBw7c3PZeLLVI=; b=K03htIjeLwxfYd879QfT+XE7PXc/y4T2qzRIIhmfxlNeTgNzP1l0lg4pyJe60wlJQl Fg+5nQuCc8jmvU1523vuovdVkDj68mqL9nPdj0EPwuvMJCHLSKAR5E6wA03HxChlJlEL p4D5m0aHNsPmOO2007GXtUdyAELxTonJnA2lQrDmNqkj0FPBSsK9VnAmrNjMe85BcXYB c+Uib6sEF+Hn4P588LwKPgEdXQFwFR0d9f5++Gb1o5E/ITQHZYAtukxQCrOS00WdVunl vsRQHXIQHPi/4q8ZjDhliwGJykKoI0hw7ioWmEZAqqWuO1ET2KzVZaXUNTR1vPcNJqiQ NmyQ== X-Forwarded-Encrypted: i=1; AJvYcCUlbKOgSDVlxrZcTlvr7znyM5xdZO2f13gvVtdm/3XpLJRGNCuDVxRWmB8yKKF/ZEVuSgaAWZrN4NILfr+IpH0u@lists.infradead.org X-Gm-Message-State: AOJu0YxZazHzBWOhTsSZGTFLxEXgc9DPSxSiiSMuDystdcDnfJZrr9UJ iHX/5hITKydnBvu1Q+sf8uahwryO5wAGohsrXDvEBJbTV6Jfoyuy4ckpzarRZDDUR0fKNXcZXTW t X-Google-Smtp-Source: AGHT+IHrDQs0PBQTgCK63DboffAmrhsTnn7i995FZLXxkWto266aljsAzoWEwTEOFu6My3noEjNsLA== X-Received: by 2002:a05:600c:354c:b0:42c:ba83:3f0e with SMTP id 5b1f17b1804b1-432b74fcb3emr24421625e9.7.1731074341213; Fri, 08 Nov 2024 05:59:01 -0800 (PST) Received: from fedora.. (cpe-188-129-46-99.dynamic.amis.hr. [188.129.46.99]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-381ed97cd97sm4924431f8f.27.2024.11.08.05.58.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 05:59:00 -0800 (PST) From: Robert Marko To: catalin.marinas@arm.com, will@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, lee@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v2 3/4] mfd: at91-usart: make it selectable for ARCH_LAN969X Date: Fri, 8 Nov 2024 14:57:33 +0100 Message-ID: <20241108135855.129116-3-robert.marko@sartura.hr> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241108135855.129116-1-robert.marko@sartura.hr> References: <20241108135855.129116-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-20241108_055905_147856_F9D7208D X-CRM114-Status: GOOD ( 12.49 ) 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 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 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 ae23b317a64e..f280ba28d618 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 Fri Nov 8 13:57:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 13868297 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 1AEDBD5C0C8 for ; Fri, 8 Nov 2024 14:26:40 +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=xdZLopVjyjhT5RSAFFKohTizpIqPLaJt6XK15njFe6c=; b=uWdGOcp2l4PcAD Pp2sZSmKo5xDHPK51cQLNFziCbS54tY+/NZ7fDtl+2u/kN5BK1Vhz53euIM8DcVTgFGb4umjpelnY mrC+gDeECQpPY9Lw4A6XfybIFUeX0wp/qcx1pwAjO0gaOnHkg9xSp8Xmiec6S14up3U9XnWUQH9+L i9OHo4b2mxFUSNlgR37bdLzliwFop8L8zoDYzoe4Zvvct30oWnbnOInpwvO06qYTp7uPI0wbGck3L Hut8UwxTPUYd4Jiya+FfvMX+68lLLRT1AAZ4v7NzB2rCyB5Qr6lftBu1E3aoJQwJiGX6gO6G2phz0 STV0hBZyHKTzQmSGyrSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t9PwS-0000000AqVW-3FsR; Fri, 08 Nov 2024 14:26:28 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t9PVx-0000000AmNO-24gW for linux-arm-kernel@lists.infradead.org; Fri, 08 Nov 2024 13:59:15 +0000 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-37d4821e6b4so1381505f8f.3 for ; Fri, 08 Nov 2024 05:59:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; t=1731074343; x=1731679143; 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=xdZLopVjyjhT5RSAFFKohTizpIqPLaJt6XK15njFe6c=; b=LKg6FgP2/PV7rUsGdmsW9birX7l4fn+vfWYWy5tUw2s2Cp3nPppsk8acFVcztXRzIs f5PGACewKGC5fTTG3W5VP2NE/OFltH1w5mo9TmvwPa4kMyD0siwEcz4VA8RJFaphDzUo 4D0yOnEZ9ibt4UvzYBLbD0f3S/j4/0IYc4u14VuCN3mCevB/RX4ed9gLxOSLrqyaLgKO Z/JmbWJjIfpQyJYYyld/Fj1qiF0AqnGf+W7nMg1NqLaTt3fT4Jl0bSBS7mhc0TIGUcL4 IQtRsUgkSfkkw9hdCjDOrQcE1cdcIk5zweRXFE2+UDnWaO42QD8YZXiOX+Df5xey4Y/1 UaGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731074343; x=1731679143; 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=xdZLopVjyjhT5RSAFFKohTizpIqPLaJt6XK15njFe6c=; b=mAktU0BMNZ/h85a1xrz+KL2lKLqZg4KHBh7ZqXA9cc7y4zWJzGiKSk9EggDIZyT/X/ 16EYC0RsuBhhT5/L7o0naKe+Y6q0j7/ngf1rXMIECvD/9cuis7OJVazqStWYu9meGm76 N0G6Fdf7DvXnDw97B6wSM1FxMzSSXb0SlDl0Tc4m6+tZFRJ4sfuLWIlXfiHYAkYngyv7 EW2+twA27xML0gHXtK5F8dy1/5Q4ByJISQJhA2zbLcfP6AO3ak3TS7ToiPSzYdBoy1U3 A7kmkL4RyW0ZtlDl4bnRi/+GDJq3Rr49l1Rn2h/AH/khh3BvKmN5u3gX83Aitp65+lqQ HHoA== X-Forwarded-Encrypted: i=1; AJvYcCVcvfmfwFibO+I3zgPuvvZ2fFyJxvG8KELLM4GenLh6nJblFEzQiOgTucLbZo2wOauDO0ja7KkrNq2Ro8poPAT1@lists.infradead.org X-Gm-Message-State: AOJu0YwWz6M9zzyKXKs05deYA3h8w4bJJFYO3meRL4Nu73Z/1iZ+o+Vr CttN4ZRNFheJe217rehKuvOMz2df4J/PDB40C9lALfMUIIJhmV75c0Mfq6Wpu50= X-Google-Smtp-Source: AGHT+IEU+4qezTXoyunjCox4NNDvtuGiupxZONMcrWhdVQ4IuBx9NDZjHYgJa4s0rv587Kx6mZc+cw== X-Received: by 2002:a5d:59a2:0:b0:37d:326d:305a with SMTP id ffacd0b85a97d-381f1866f90mr2485874f8f.2.1731074343506; Fri, 08 Nov 2024 05:59:03 -0800 (PST) Received: from fedora.. (cpe-188-129-46-99.dynamic.amis.hr. [188.129.46.99]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-381ed97cd97sm4924431f8f.27.2024.11.08.05.59.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 05:59:02 -0800 (PST) From: Robert Marko To: catalin.marinas@arm.com, will@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, lee@kernel.org, gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v2 4/4] tty: serial: atmel: make it selectable for ARCH_LAN969X Date: Fri, 8 Nov 2024 14:57:34 +0100 Message-ID: <20241108135855.129116-4-robert.marko@sartura.hr> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241108135855.129116-1-robert.marko@sartura.hr> References: <20241108135855.129116-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-20241108_055905_699951_69C7A26F X-CRM114-Status: GOOD ( 11.95 ) 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 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