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: 842046 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 2A9CA1EF0A7 for ; Fri, 8 Nov 2024 13:59:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731074341; cv=none; b=sJkip0A8eHYVw3ScDV+hWV6h7Lsfnz8BDeTnb5EIWP2HP24u8UVaBjAbxIuSCjlg/eYRtWfNfEw7DhhvVzH1ykVOc/gobfUNfnA4IvHVG+RmA4puKYOgSxlRv6pOO9NaUPt3XNzSHat6u3V+xMkggXVHknoTSxADI8l3MLSBioE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731074341; c=relaxed/simple; bh=VJCrnUUdGei/ZnbWKo/IVdIKLNCrBMpKE8oFEy+MEtw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NoTn5qg0K2aQYbNxGCdFGCuyDEDm4b8YvbxkERK9k6cbFdhmvCLMB/LFAHLF1/udTE7CPkoIHoGTAH5DzV82I/ODh5kQl3gsKVG9xWjOwmaSTqTFtpK20OvRWBy6wGxCfjOFdbKvQPvM0zLkBDSK+JEXB07D8UnPyqneWFXWg1s= 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=aokS2xF1; arc=none smtp.client-ip=209.85.221.48 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="aokS2xF1" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-37d538fe5f2so1494576f8f.2 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=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=19nNoiZMI2JgXeIpnibERXoHDynmYT61X0LDoD+6J9c=; b=aokS2xF1F/Mi5SLlcydh7o8RUauswrA9c52O8DFGYKy7+g+Iow8tk4b5eVMWD+Ne6K tVk9aXOsXEm3WV+P1hmFDgHv55o6vihvNfhJHIDGo704McJL9Uh2U35A2OYBf/ii9kAA GTllmrCgc2sg1Y0Iq7Q0BNypXNe1XfCWMGEDGQWM3gLgr7/EzBExuMnluUYSw+/6YgYA fI+VMnJU19ZWlSZ8ftsLX04ig8BPK/uUrQQ3NEEE9aihwah9X2JyE4qkCwxO5psYy5Er /8fSSjGlIrggx+QF80+Xk1SnynWjnTYYlfZXYUx48P54PDbgsGiF3WAdDTTNqsf9TXf7 sjtQ== 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=DDXrvTqDPLIsD+jKt5qGDb1keQcXLyA6sppPWwl0mVYScYpIhJvR3TbFl1a6GpUyUc /Y/Qi6EtKSZskmn5UwS0MGs6grSncKV6I7UuBIhvBxRZG1IDzGkHSFhP5D7TahACJBdy lYH8VNxx2jDmTYPmz+bu/XaC/Nh6rBR2SK7XpINUlL+tfj/ZQWYiVEuDOhi0zUejQ/JG XrNVAitPMihSfy3f5+L4i40VgsoJYPs0QUOrsaD0Q95/ifJ69SRlBYa32TicehG4elVV L9rqcZ4ogANeYEc8GSIFhnb7jXWTBwcI0G0tNz7VqYKxGwt2xBWJQk5Iia3o7yiTqe10 O5lQ== X-Forwarded-Encrypted: i=1; AJvYcCU3OQGcjk7df8AL5BspNu6EWqGlsFV/nJMCprszBL3mEbw+Ma1xu6kD7Jgf/UxbaUNqteWREe7cJmOsmw8=@vger.kernel.org X-Gm-Message-State: AOJu0Yyn9lj33RCj45nHLMZxJiYomDXtxvrVoZVhdngVsW9Qj+0j/mh5 T7PTIwXwRPVRrP2zzl4ApMtZjDQq0IxTxKmhSO5p1Jrs4v2zKsMkcuMK2X9rcwA= 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 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 --- 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: 842447 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.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 750841EBA00 for ; Fri, 8 Nov 2024 13:59:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731074343; cv=none; b=SAgY13H/Kv9js17QLtDoJMC7V+dUUaJYQmMPTmfBtm8pBO+rA20tuJMEHZWddXD0g04lNdMJt0fnNNHFpsP7nHRFAhnjO14kJWxLUtslWTxhx1U6lGtdgskMeK2Qb+Wc8lgPcjH6MOWKiI1qJJ67S4R1Dcw/QRQXXKYFO93TGhs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731074343; c=relaxed/simple; bh=mAPRkq8mcGAitqZ2NJPZs4WYcWRS92IxYDvqOFLptL8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=P06ntmtbNu0A6sTXTCa9zNhdF1w+X1MnBTPx0zGec6b4K6+U3vm0ygApMu3wGETFzGKbhj/3AyW/wdrHgB8XZp3sD+Ka/iK7K59b4274kgOBnR+e+U4Uvpc+UvmPB+VP9u9Q/1gbMCcUmwpKaWaaWvGrKu76O376yWJ8ayeYl0o= 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=qkQu+86e; arc=none smtp.client-ip=209.85.128.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="qkQu+86e" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-43155abaf0bso19816355e9.0 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=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=1w6RpVPZFLgX8W7zDDIW9Bt9wUWPJmCNFHj/06iwgR0=; b=qkQu+86eglnwUU9e8q9m+yhXyGghSfSZTooQfBRXhxgUsdjODQsxDdcLCDyrBk3AeM 3mnA0Jhj6/iFBSiVQ1E3C7XQYppjfAFuTL48w9U+H3wSqVgyu4ofF2QpzgWcFAPO3rIK 4uR5gchkf1dB7Eciy3rD/PUCaeCZzc7aoiwvjkVitFWMbMmKDmQsrvwXiZZVq/+x+ANV pCqGWzUUZrJcLBV7Wi4trPZk14Kw1i93WJOgLI0ljveiKdSEaRUc6iUL3DGZj1Qhg0ml MxWDAcwxLFq/leG7aYfHMfRKvr1NRasFROur0x2EIqBbYVeMCzNKfuTRP5NXzAlkQH8J o/Uw== 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=Jm2GQoI3n9hIQ4xB7qBp2gWRFo2pJ+VjC6PU1QG20b/lsrc7TxgHVlXAvxpELd923f N/qiB7m/VBwEyyHHru6YOZHgx3293VcJ4C1Ujd+m3cpb6v22jY4SbTnJ8dmL/Hg0BSsy Whv3652HkGBOBpW6GS4JbkxrCMAY7CBJtTBLj/VnnWTJYCu58yfTjBTwEXlgsRAeviC7 s4EzNiYyRpCTqOK1jPauvCs/XJcFLC7UPLaF30wLaztxi+pqWQJx0SHDcitDTHdkhBJZ U31DuXGNftzW0f64XxLfPDSp6TOeSuocI1qG1tFzri3OkOe2Q9l+VIlUIhJzqFEqYDkz Yqfw== X-Forwarded-Encrypted: i=1; AJvYcCW6p3BVnqStycbnryVIA+ww0RYNV0Iy1ssIF5ek6wdnSKBErJ2j601xZ24JoCVBN0O3Pr5AWHAQPKIUUKw=@vger.kernel.org X-Gm-Message-State: AOJu0Yza7sPinP4bov+Kok1sMo4WFYzpZwdsAAChZjYAb3sX7F7DB0Ki P4gYlZHB+7ikXPqUNmaZ9tkAz2M5SyQB3QfA1au6OKxo2L3hDaIErWJntcN9WK4= 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> Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: 842045 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 BBF9A1F4273 for ; Fri, 8 Nov 2024 13:59:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731074345; cv=none; b=rV69FTLSDC08BEbZg6UqXFrvO3qWOLkUeFqJ7PiKDQRt9vfKxgUvC6CSfaAQQS83lckeUpY4nTRigaEPMiUOlOBs9iYg2XEDDBLeMrcz08Boy0GFZSTrI499d4urKLNJbRCV18sxxEW/OxPuo5xtPxNGAMuorQBH4KzAdocu+DI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731074345; c=relaxed/simple; bh=lMfKsf12S0K48wHK6+KFJJk1kLie0pg7opOx+E+fnpM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HzHR0FVE64HUioBpp2JeXVPMNOkztGIHx29QByRFdNvyM3V7FMoCG/Fe/cZcWF+SkUpc+S7tolv2gTIsfasoHskQLJsMZ9oWXmLqEw005dV/DjyB5kjrzGMxkLWtaQrZFn3fvKboVFfPiElc3gfYiTCRxgf8grVQuiGSadoPg8w= 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=qzd9WW1r; arc=none smtp.client-ip=209.85.128.51 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="qzd9WW1r" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4315839a7c9so20019475e9.3 for ; Fri, 08 Nov 2024 05:59:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; t=1731074342; x=1731679142; 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=Kn7pAJeAjAQBKS7X66mfb/roOZgIjXWBw7c3PZeLLVI=; b=qzd9WW1rupmtxy/vIBB3Hb653nw2CcTUeA9R2dcmPJ7bkPK9DuHdOhxQKBlivYkkAB VTU4F45190SosQaPDBxJGKKGLhF+Tch+y238uX1mCpQ0t/8Uw810i3r/xa1/A3bTRN9A MZfr++ne12go5VdMCqvzOIYcyxvsu0ol0g3Y4MPuBrXtk+rF+N/ZIyS+xs51Cdfbgagr DPCtEIE0Vb1bMrps8RnUQ2pJ1kQCvqqcjbp9CgXmd8PlfBKke/+hTo437xFCiqk8f1ye sx2h31jQ7/Jz/O6OGQke6tr8LoaVnLtNTIOXPp7AmpkzEWaHea7URtW6pGhX/txbvczU F8Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731074342; x=1731679142; 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=NohJ5FOcsPKYiwq5mbfk2oQh0O2E6X2Wkn+g/aa1gQPKXnc2GO85SlzGOZpEKU1gr9 V1r6vWSXEeM9eTcZ3Vv2Y1xWEu+ck67a3HprQ2wM/4nr3tFoDjB6pJkq8CqjV0us826a QBcRyHLkPsXweeuI1/5qAlb5gtAadnvrVvFa9fUjnGeoES2a98/zb9uNtkbdsJG/Rg5X gp6RPRGoCChZtIVfSAGZ1whD54HR3FnHiwbFX9g8hKAg+AGXnH6H05zZjWTyCQK2cnu7 SlHatv0V8KgxD58TM3iqzB4rYBxoNov/OKP6mop/7kIQe/ELSwnW/qgGC1oNMo6i2yTl +9dg== X-Forwarded-Encrypted: i=1; AJvYcCVZwQoXbLNzyvjqXzyKORcAb1qInXXJoBY5/UcYcdilN1wYQ+BTAjg9L2zNwkL3zo/0kKk78C0p/fMFIQI=@vger.kernel.org X-Gm-Message-State: AOJu0YyyWUDLlxl8d81oe/7SSS78n/bQfqQTQKoSE6ZhH6E12eRHFDpv XdKnM+/94d+9moxHpQlJY/zoPGkMPOev9hlLaAwCtOCsB6dmfDcDNTuji/DaiBY= 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 Cc: luka.perkov@sartura.hr, Robert Marko , Nicolas Ferre 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> 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 --- 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: 842446 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 1845E1F4704 for ; Fri, 8 Nov 2024 13:59:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731074346; cv=none; b=hyCW9cVoh4tCtsQw5uApHrK65PEHE2/CvFvrNdcjtHdVxCCaH3OXw4LezRxa109pSv7LKPlrk/RSuk8tU1yMAIpNsCsFG2VVvD0/n9JbLLpRmAPpsQpqpqyWolcPMOm3k1Hpgl+UQg3PeKDufkM8OMn/q5KdZT2bnl+NKxDPX44= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731074346; c=relaxed/simple; bh=0qYOjG+PxUVuapY8Zq6vV+DKT4rZuCwk4o65LvIXdhM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NqyhmBxBMdcepp1nAWVJMGtdSyzOFeP8VT382I3zMNpBzwnBCipmKEocOjmd77sK7as9o7lLncWcmFDfKoT49h1QkOkQKta825cvq5au7tfuZ3fniSdAkEUSdND1JT+ox51tI70w13iXI0pKoFMbamr9G4erm1EFTRZ/yQvEh2A= 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=CHG3r8G3; arc=none smtp.client-ip=209.85.221.52 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="CHG3r8G3" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-37d518f9abcso1426999f8f.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=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=xdZLopVjyjhT5RSAFFKohTizpIqPLaJt6XK15njFe6c=; b=CHG3r8G3Ma4CTi1T9MagF9MzWOZlrdsvhB42Ic5qQKy0nM6yZCY0Q6dlkvWautjMKa ylKiz5Fk6IyzoGBsCiEIAaTmT4U/nljUuFNnnrfjRC9X5GuF9tHlcHB3hfChy8CjOi2C CjiFJT1fn3oS7fsWeBA3EPXbCrfiY/VZ6hnK79LP8S2d15kdInSBsEdS3H6QWAHSdfyR nM4KOVFMpv1ewK1IEG1udSG7ObA1fSeNwwJdU+fzDVR0HZol1xKjsdEDYjMivbv4fdpf iHObXSmJkHR0RExOSEDGVoY6HJ5s99DdIxdKtloFPO2ideGdMkNiQuVnkhCOkbSXWt+k scPA== 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=DkNMqTWVc/LRPxWKIUhSoVsdHckhSINC/ItCBnYZemeTJFMIQtYEMYzUmjkHKuOCPm hraWnB3UweGqzT60N0R5t22RfytTnfvrDeDKo3KPKRyfKFfM80L+dgYgX2FI5skkDUvK mnMaKJGaXmdN1E71eIYAuGM4XU5t5mChWchbLrnRmctO50uc7l6lmUyZQ1jyKh7I9tmY 8iTjASBpFwJ5bZHyZtefKYT448cDbVGT2KS37/B2VWiIWFRb2Q0Y1+5GcslsFUozB92b Wl7c/LM8Z8xXMcnzBVKSNDJDaEaNzXh0Q6T3kysRUGuQykgN8Av4wiYGF/ZKphFkXnD5 PXFA== X-Forwarded-Encrypted: i=1; AJvYcCVPk9hSYE9Mk2sXNh6hnvxZYPvL5ospj0IU4uu0LyC+zANpF7XCDTZlzNIUiboClAe3YXrED6QW+I1/wEg=@vger.kernel.org X-Gm-Message-State: AOJu0YwT/nUElW29tDD/EjMwvRnR5yScCVq0iWBMFXWmHWk+yyTNDZLe YPeg8zJwBozQO/01JC+EVoeoZyaPw4Nep3AaYFSGFVMqTANF/jv6tjy7CLmOydc= 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 Cc: luka.perkov@sartura.hr, Robert Marko , Nicolas Ferre 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> 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