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: 13868272 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 200F81EF09F for ; Fri, 8 Nov 2024 13:59:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731074341; cv=none; b=KFvOLwquQIN2uMJMFhN88EMBfgRMoPni0EcfRh1evWOpCFSx6qCs8MKpW7R2ay5+0eNxMGDkXRfZ2phGbDAbIhcoik7jj7v4NJQi0dFrJIUAtj6w3LQX+opvcoFt8O6mcD5EAzBNPjQdGWqtZDfy9+UBI7AP+dPEQsyWmyoUdhU= 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.128.54 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-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4315baa51d8so18977485e9.0 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=aiQSPtZMGgEGvTcyK9ps7QGumG4PlXCgBtQ4mnTfbEUtDN/fzjAoH6321uI3HVsMYt 4m57w6EjgtWkC33xX3/WLizja8m/+B0BUxRTqHyAPJn48BfHG7E1kMCfrMUkyZo8Abj8 +qc4qjddQ5geG1tdZTLMrjWYh49ym4XFFmyaAJ5UDLki00E33BhB1rl+SYa2ka2cdkho kY3h5Ikr+YzcjM2l640F7ActxLU+gamJlEI7pZy2TAJ9YA+KIR4lzMh94T0JnjPvTFWV l4yiDUt3akUWups7XGFMfvWFRfwVSCXFROBO8RsXYnR76f+QMJIb7xD0pFOuOknG43/a /T+A== X-Forwarded-Encrypted: i=1; AJvYcCXDewlFqwqlUCNIgw4NVRVEirNVVfjVRHtmMUD+gZkuNjJZTpiYjPbvDWa9zhBzBCht/vw5kwa+yoo=@vger.kernel.org X-Gm-Message-State: AOJu0YzuvM8YJ/lAJXcdDlu965KeQ6QWMRO21KC462KiMKAFWMZQJFHq edHr6EU5R+tTsHbGVFLMBHDx3K+VVY85nOHfFBYlQeskOAcsmXzYUj7eNFMG7UY= 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-clk@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: 13868273 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 82FC81EF0AF for ; Fri, 8 Nov 2024 13:59:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731074343; cv=none; b=exllnoMy6fZ/NwfVowRBTjd3qkiIVgrwqC6aoAHf0NfL6AYSEma/0ueDytj4rQRYT0B17sTM1Li1nbzKgyfTj9M5KVCpuIZ3FO6A9ijVZeTcfQ6W+3ttRBDbO3dHZXhB2oACY+5FLo3+y4E97PLJeeZKjnzIjCqV2Nbsp9l8Ics= 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.221.45 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-wr1-f45.google.com with SMTP id ffacd0b85a97d-37d49a7207cso1525272f8f.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=R9MQLilLGLGsvHR/ITaRJbXwILOYL7JbUSL44fkPYaa7X4jOn+I6obUb4rMXMHRgRn T59T+/SQmGQLXr/S2cWbQ6ETKi2LpEXM/c9wQpxOkmhH2CiiffsvNcq7abbXH2v0TNpT pqXPg9SnYMwVUezwXosTxxGNLBN2LCuWrQs9kM0OIVnPtfR4WSTDm8xx4ybRjDLCCFch 7veFT7nVbyTYJE9HXVArS1x9GVsVDZTNhYxXlnOBK0CvJR1fnWuooH1x2axBy10L8t1E 35u58pFeZHFwumKiQCMtsk9afz3JPr2O+fjTz6fj7O4PbEkp+wwUTx0c9pHIFkm/ll8b wOiQ== X-Forwarded-Encrypted: i=1; AJvYcCWkH6jwDVqMzxbehk+TcGtyWx2mWP0hIya/i80d6Cr265b4BFRqjb8ypsxBYY3YTDeYT1jPo7YccmE=@vger.kernel.org X-Gm-Message-State: AOJu0YwWGovEX4wEAdF/A9LBi5oGQb4ASTT8IAa3nBSaqKh8EjyKQ26v 0nQdtuSqKS+lnBjkPMWavpwx80p0OyXIqq26H5vWOet3iyLJ5fcnSrIS9W+hXZM= 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-clk@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: 13868274 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 A76041F426B for ; Fri, 8 Nov 2024 13:59:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731074345; cv=none; b=HXLd6/9ScDun+IAGDV+F271mHYZWAgXV6+0K9JeeaeR47VzJA9rbf3BHi4cmJ+jUhn372Y2z8ghR1Ov3yau1K0aKJxN/hFeVVsH4oqaq2FY8OoSuvAlPE1GD8bEWas2mPWqNuqtYUK6tbMx4wpXjUd2pSml/3lAsV+cpPrnmMLw= 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.50 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-f50.google.com with SMTP id 5b1f17b1804b1-4315e62afe0so20126565e9.1 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=DjuTgZ8OWoo0mqwhBvVrPabW2NKJUhjQRJ950fuc8z+jQfEHjCorwmcYu6u3a1i4go TJ5XQQ6KGMg0l8IcIUZhkM913QC8qJ0TCUQ2sGOBs5r1NhXh/txOiFu71HkHm0lC/XZV WaR9a0KmfIH6En3IzK8KCej05A09jkpvYyBaeouWAUx4wuiBCJTbtAjoceRCDm3BprOA tvcv0U5OeCUD96yesEFW6fyaoaw/IqF2lJlLZg7x00G3PvewAqV2/ma6OWKvjqr7EOiR y4PGkK/YJQe/lQ1D0XnXm5igyzInbUwRBa/Wq1H4LRyv522HR9eIIJ7L3kOoCLtOs95B UrGg== X-Forwarded-Encrypted: i=1; AJvYcCXkrxY2UBAHyRxPLnYcVWE4fVVANhgxTn+pIvGDc7L+DxuLn16Ag/w31dZUeDqTjjPX9fAsO7rFEz0=@vger.kernel.org X-Gm-Message-State: AOJu0Yw6+2e0p2y3jijzJYkXeS3lLyKeSCfh7O1YITJbbQ7s0c4VQMJo luD1T60qUg1eP2UP++nhyCMTvOTJKqNVVNJykO9sFiF8axFylRCuXKarY3tJ14U= 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-clk@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 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: 13868275 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 1F8F41F470E for ; Fri, 8 Nov 2024 13:59:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731074346; cv=none; b=SeqxrSLYqaSnX4dE1Bz13PlI++/oCos3PCro/0dom7KXu0tKdLWJ4izJQnJGzlzDb1Jjxyu9vJUi+BBFV8dm8vZJznUBqdX2UmF9nPlNy3XWOTGYz2DfJ3BlhLbRBCFnRXQKXdxUQiImpTRd85PLlV8MN9X1JYoZJnekotbxAzQ= 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.45 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-f45.google.com with SMTP id ffacd0b85a97d-37d50fad249so1533771f8f.1 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=xSBacH5NNAl7vY6Vt9sdNpItxVzC+CCPUBghe4qB5BPgyupyQ7UcGechcgpRT0fzWs bX4ynfuq6uaUOY6/WX5A3jfysW4eje7v9UQ4AkI/rSivW35lmlqN9DB7gGhvMEbN7eGu JjGG/P4c8ww8egBBRjgdKiMS0cyEI51NJKO9V6HDRZeY3S3jGIVA/+c4ozjrUulikNvb l90RNX3QF62EJIzBv4LUUY8Q47Kpxm1TvcZm9VSUYaEd+lAMUnAKqShrt2+23n15kFdB ZewLx4l8CSwb8aL5ztRFvfVLqqFLoWhdVPesSozte67cYD0tunKBgEy7/c97co6E0RyR ooDg== X-Forwarded-Encrypted: i=1; AJvYcCUV19Zdl48ZQ9hg4yB2O/PSHgzmhGynjH53WtV97V1XWLeI1kIa012q2zefou0b9QpP6KsjNf2K6NQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yz+5joyrWPVZfM62r3pW2rHtJhjJEWHEEiO5BEsHcT/2W+bIOL8 nvIYqsyfPzycmrACV/LjY4xFhff7HoAuqk7cSz85RcxxZPbRc6ILzNPArAStc7g= 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-clk@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