From patchwork Thu Apr 6 20:57:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 13204234 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 EEC6EC76196 for ; Thu, 6 Apr 2023 20:58:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DJxhOYpzYIlLo4q+HGFjjZgyiSUDF6dOeu634ub1rJw=; b=0kmTf037rnWpgg FSc/e6RtptsIWuqukC1FekegD8Hv3AMRso+MeEoM4uOo1IXM3mjmtQC7PHcDf0+MFs3sA41sHRihH VCKLRlhN1YmJm0ceUOJgUQfISR5aU0MQrqOxfwYVnYGdG3MPvN/HftT2/IIW6lbjtemWZTes6pll8 0g8dkMPzb5DdOG135WBqXq+N9eIf8zk0nRlenZUS2TyGS+TYUVfRSXdqndMSPLRiCuaaTCRNGUQDw ZdLrUQVCIJ8sHNw3JGYMVviYxg7gveD5tVcoq77cppf52aTtieaRF4vNcvQeWVlzBk08tGdqzo1D8 8cRjFnCvvMX09OdeJsEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pkWgi-008avg-17; Thu, 06 Apr 2023 20:58:32 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pkWgf-008auT-0F for linux-riscv@lists.infradead.org; Thu, 06 Apr 2023 20:58:30 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5205160FCC; Thu, 6 Apr 2023 20:58:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DC87C433A4; Thu, 6 Apr 2023 20:58:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680814707; bh=IKUc7m06MHBX8fQN+6StDGew/WwB4gSFHqXLMoZdc6s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hE6EUmXBvB/oapBU6JQz1G86QwvtKJsyIQrGqZuTbbye8d/bew9rj99Axy3eaj7iB SzQrJC5gnG0eGKqFFYGvUw9lBGloxOhGIjRoG+PdGj9ewEMlLWnPQjDHBnjubZzlny 6kNb9/XkK3FwgSLtf6Lm3MRiKlcr5YxTh00BdQqANtc4HSOYKZR6rxlrOOR5P93IdG viQVGlPFf3lzqodvII69nW/6WoWgOySNkHYpJps7JDUI7Fwh9Dax20lcCN/uF88oxb gVOyGDqMyjehnSKl8RueqNEuhQq/4t8UUY0Qix0MDdNGzjUAS1D4qEaJaWxKm4UG0H yvX9dvGxV6kpg== From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: conor@kernel.org, Conor Dooley , Michael Turquette , Stephen Boyd , Palmer Dabbelt , Paul Walmsley , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Bjorn Helgaas , Greg Kroah-Hartman , Jiri Slaby , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v1 1/4] clk: sifive: make SiFive clk drivers depend on ARCH_ symbols Date: Thu, 6 Apr 2023 21:57:47 +0100 Message-Id: <20230406-groovy-trustable-15853ac0a130@spud> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230406-undertake-stowing-50f45b90413a@spud> References: <20230406-undertake-stowing-50f45b90413a@spud> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1021; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=sO1/UT/w7gYjWlZwOHP0tQk4JgO6l6TlBFVZlWRWj+w=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCn6Rl6X+g7uXuuY+r/Cd6Lg4qlBUjfuP9/Cbrv91v1vJ xZsa63x7ihlYRDjYJAVU2RJvN3XIrX+j8sO5563MHNYmUCGMHBxCsBELi9iZFgSuGedsIZ+3E+B rPCSuVOVz8UluTYt+ntqsYrClc4zPEqMDH+nqlRInzv/e3HH0tPrDrFcCZrqMFE70UK6u+5h2vS C2+wA X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230406_135829_155204_1C65DC77 X-CRM114-Status: GOOD ( 11.91 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Conor Dooley As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the use of such symbols on other architectures, convert the SiFive clk drivers to use the new symbol. Signed-off-by: Conor Dooley --- drivers/clk/sifive/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/sifive/Kconfig b/drivers/clk/sifive/Kconfig index b7fde0aadfcb..2322f634a910 100644 --- a/drivers/clk/sifive/Kconfig +++ b/drivers/clk/sifive/Kconfig @@ -2,8 +2,8 @@ menuconfig CLK_SIFIVE bool "SiFive SoC driver support" - depends on SOC_SIFIVE || COMPILE_TEST - default SOC_SIFIVE + depends on ARCH_SIFIVE || COMPILE_TEST + default ARCH_SIFIVE help SoC drivers for SiFive Linux-capable SoCs. @@ -11,7 +11,7 @@ if CLK_SIFIVE config CLK_SIFIVE_PRCI bool "PRCI driver for SiFive SoCs" - default SOC_SIFIVE + default ARCH_SIFIVE select RESET_CONTROLLER select RESET_SIMPLE select CLK_ANALOGBITS_WRPLL_CLN28HPC From patchwork Thu Apr 6 20:57:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 13204235 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 0B8BFC77B6C for ; Thu, 6 Apr 2023 20:58: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JjgPelUdsEYfqw2nAZMGMNXIMrj7yuVvt9ruNpO0sD8=; b=ui19NglWM/t/4Z 87bIERySzj12bDLplF2NxBPDcOmrnh98SPLt2qu+nY9J+5p7RF9HGmZoE75J4mLo9LXBfVhUlUnFT gn46n3ZrF34533cJida4FWikMf9GWetdU5gku52Md6P6M7aJzZtti0X5UozKdVnbTsVDfY2RfDBBx wDzFKPSwuc4GuLKmIKQImSWWNEIieAGzZwaA027v5Ijr5w5uI3w3zq3MMhC5Nk8WACxkOJP9JXLYB pGhcxLWIpTWHW2BGHcQsDjdA2S+w2BN7tF+TmcjemdQoxTf4D2fvak0XbfXs6OFFRF6K6J4lUdisP DOHcACg7IZoBOnWkZPMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pkWgk-008awg-30; Thu, 06 Apr 2023 20:58:34 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pkWgi-008ave-19 for linux-riscv@lists.infradead.org; Thu, 06 Apr 2023 20:58:33 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F29E064CA1; Thu, 6 Apr 2023 20:58:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CAC5C433AC; Thu, 6 Apr 2023 20:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680814711; bh=/eevk9xUiKe/1mZGgG08xIjAaIv7WJjn8F+AGiH1IgU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NjmHF6hwUGR/yuQH0N/dyFnQq7Rbr66z21aS+6spQezESiffNwDM6Mxq+VRMPmnny tFjWxZJwYroT1Lto7k9VzZZhPtDTHCuC6CX4ymH41mqTwWAsltP4Edm/hdHvDbkBst 5SsZNTmbrY/EzXiHf8qav9t0mbU+EgFF/bZA+8XFgkQm8yy324SxZyZqcSlz3Xe6dc KuKlMF7TjEYjN2Nv6EtQuHynTHklrMswGaACU5rgwD3xMEYqfI51uNmYvR6upBE1a/ x483aZntpgUzwkZ5FvPmix6/tx0BOBq66YNnfQPLWg4ZxY+Pg7BvDKd+p2ocheHp9A Um3km2Zxvaxaw== From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: conor@kernel.org, Conor Dooley , Michael Turquette , Stephen Boyd , Palmer Dabbelt , Paul Walmsley , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Bjorn Helgaas , Greg Kroah-Hartman , Jiri Slaby , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v1 2/4] PCI: dwc: make SiFive's PCI driver depend on ARCH_ symbols Date: Thu, 6 Apr 2023 21:57:48 +0100 Message-Id: <20230406-banshee-issue-db90fd3fafe0@spud> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230406-undertake-stowing-50f45b90413a@spud> References: <20230406-undertake-stowing-50f45b90413a@spud> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=859; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=qmcM2Yt7tg8pV2eIGJVXVJi3kTv/CdbcEGHBnd4Yhd0=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCn6Rl6bFtq8LciXemaaMsXmYB3PszarprP+0/5vOi/o2 fznj9O7jlIWBjEOBlkxRZbE230tUuv/uOxw7nkLM4eVCWQIAxenAExkRzzD/+zP8q6bDX4bOPR6 z/HLOJ33vijw8Snzdee4NyswrbugJMLIMIc/3LgiKD748N4tU654OP3euKg6dnbjkfm+tU8NboR t4wUA X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230406_135832_435174_335443B5 X-CRM114-Status: GOOD ( 12.58 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Conor Dooley As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the use of such symbols on other architectures, convert the dependency on SOC_SIFIVE to the new symbol. Signed-off-by: Conor Dooley --- drivers/pci/controller/dwc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig index d29551261e80..7d670be44073 100644 --- a/drivers/pci/controller/dwc/Kconfig +++ b/drivers/pci/controller/dwc/Kconfig @@ -409,7 +409,7 @@ config PCIE_AL config PCIE_FU740 bool "SiFive FU740 PCIe host controller" depends on PCI_MSI - depends on SOC_SIFIVE || COMPILE_TEST + depends on ARCH_SIFIVE || COMPILE_TEST select PCIE_DW_HOST help Say Y here if you want PCIe controller support for the SiFive From patchwork Thu Apr 6 20:57:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 13204236 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 1FF86C77B6E for ; Thu, 6 Apr 2023 20:58:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kJSuu/pIWsb0BW9/Z2QkjREmq7/nRTynuN0yG7R4bLQ=; b=YZ5TX1ZDvpLOq/ 8bk86PvlHztnd9EoDGNR6hjyc5i9OUDBdfItoH97igeCL0GvxAz9cDGr659EiYSG7JGAGyHM7tU0A brYNxLiKAt6dVEOAQGyIeCOOwNzczoCmZ34V6VWM+dL9GueLEkgg2aEfiaM1GTEbs5EWPtWuOeZ8a SLMTsqau+mEKAaEnC1pa8CDLG15SNJmi1bLgHbhLek2GkM7uTaYJAITTB2P4mIr+XS1YSYq6jNTb6 Tr9nmGtIbih7k8v6klcV9JYM7XyswNQNb9h7KkhHFVNFWvsPztXdbYZtxpDn9sn3K8Uwd41VlZdB+ kPtumyMFZ76WurEdsx4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pkWgp-008axe-0H; Thu, 06 Apr 2023 20:58:39 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pkWgm-008ax6-2O for linux-riscv@lists.infradead.org; Thu, 06 Apr 2023 20:58:37 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5952664BE1; Thu, 6 Apr 2023 20:58:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1C4DC433A4; Thu, 6 Apr 2023 20:58:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680814715; bh=GUOoSqrJ3HEphPnioWv++YNspCVNct6juRt4rZsQ5Zk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RwqiZWFhztmW9W3iOP/4ITXmX+Joly7WG9QWptavLAFppW9wM9gEvqsIQiqAlHwex Uw91P1eGGLH71clAFgPvovbgcywLj7mvYplgab6i1Zwi456AjwBqpLuljm+GwPXitq HzE1zAVb+x3pRTaHV3njmQQhkZJHQVPuhjWkNLkK4thfmETQ2L3hIAr+RDWLyLhAFl xK7UYvuVDoTkrK3v5KAUa3RY1EiemOsqowy+QS++JtNEwg5/u8nesj5t0vxiaiE7gJ YI0zuN/7Hylh35WHhyBHjN7rMmw4JqiO0I6ywHu8y33rn8zIQ5CRd/d/Np1txcP+ZG zQ/WsNEyoYnIQ== From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: conor@kernel.org, Conor Dooley , Michael Turquette , Stephen Boyd , Palmer Dabbelt , Paul Walmsley , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Bjorn Helgaas , Greg Kroah-Hartman , Jiri Slaby , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v1 3/4] soc: sifive: make SiFive's cache controller driver depend on ARCH_ symbols Date: Thu, 6 Apr 2023 21:57:49 +0100 Message-Id: <20230406-subdued-observer-cbb0e2f72cc7@spud> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230406-undertake-stowing-50f45b90413a@spud> References: <20230406-undertake-stowing-50f45b90413a@spud> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=718; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=9Il+wlZDZcYvFbiMxYuYNQnDgGowSqAh6MrzvX34VSo=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCn6Rl7Xa0sar/bLGTzU1X7Xa/VrrZdyuYlbkKlinvGcU t8v+9d0lLIwiHEwyIopsiTe7muRWv/HZYdzz1uYOaxMIEMYuDgFYCJtQYwMx2/Zz59+bt29s1w7 +s7pGE6qNclY3aGzI2hi77trW1lLWBkZNnl8Vl5dvaZRUmSO6Dbet34f3SI/f3rwcT6DxcrCfeb lvAA= X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230406_135836_819077_262AC211 X-CRM114-Status: GOOD ( 11.46 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Conor Dooley As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the use of such symbols on other architectures, convert the SiFive soc drivers to use the new ARCH_FOO symbols. Signed-off-by: Conor Dooley Reviewed-by: Palmer Dabbelt Acked-by: Palmer Dabbelt --- drivers/soc/sifive/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/sifive/Kconfig b/drivers/soc/sifive/Kconfig index e86870be34c9..139884addc41 100644 --- a/drivers/soc/sifive/Kconfig +++ b/drivers/soc/sifive/Kconfig @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 -if SOC_SIFIVE || SOC_STARFIVE +if ARCH_SIFIVE || ARCH_STARFIVE config SIFIVE_CCACHE bool "Sifive Composable Cache controller" From patchwork Thu Apr 6 20:57:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 13204237 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 A1B2CC76196 for ; Thu, 6 Apr 2023 20:58: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TviLHQobkITiy9nczQcOz4Mph/1mCEfKd6WYLGPI/sY=; b=K5kYmxpBR404Qq 6w1GpCCp8k25Ker3efz1oGvlpkebB11f1UjY1CyF5wCv3RUJlfxU52TsosifdxGNnpkH1GG7oi77q sFzi77dvKlR6XaIvXYBzk48vo0hvvw7B2tfW1vii6IbGE4AurZCcI49cyYS9EACR/GR/o1ZgB0Qr5 ulaUY23bseWrHrRuDAn2i2yBJ2OrI922lxxgdPyhy8T0022Mt1boO1KxeijNvkvxudK5rs925KoC4 TExnTG+p9Y4pRJtNv88V1BWX+MCwEIXBQ5BLpLw/+XS+MDTWerVvbuHjXqd8h+QKpxr+KfpAtc5Us EQE1waIcnqX4vNDr0OWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pkWgr-008ayv-37; Thu, 06 Apr 2023 20:58:41 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pkWgp-008axx-2P for linux-riscv@lists.infradead.org; Thu, 06 Apr 2023 20:58:40 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5083764BD9; Thu, 6 Apr 2023 20:58:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7FAEBC4339C; Thu, 6 Apr 2023 20:58:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680814718; bh=hPhh8oTx1kYLc913G4HIdxuV/0cdfFWp2HgdjSh+vKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uExbzvaTeBK8FlkbTfXpl+myDNnYUfc3M+u9y5qwGUKWlFphYo/+osPoZLU/y+oMl muWRLkrK2GuHVwNFIul5kMhjhgkkEoHmutbFJb1n5Ga/MgeVhFG4IpbrQcfXL4li7l kRpeUyrWe2U1g9ehZ3RDwmSzdMy70t1MZCMXsuSufSJjtAY6VQdfSupVK06PkLLn+u POzOU6xTsqPl1C0fARDoPfY8MproJ8TT6C4+mT0hH+2Nppwjm3RLqtJUaKGMXIQpoD 3LRmwrvFcLyJ5p9wdRwpfY34JaAu7c43C5E2vpJ1LU5kweXBPdCK6JRYGtZYzK3DCk MDUccGPJH+FmQ== From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: conor@kernel.org, Conor Dooley , Michael Turquette , Stephen Boyd , Palmer Dabbelt , Paul Walmsley , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Rob Herring , Bjorn Helgaas , Greg Kroah-Hartman , Jiri Slaby , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v1 4/4] serial: make SiFive serial drivers depend on ARCH_ symbols Date: Thu, 6 Apr 2023 21:57:50 +0100 Message-Id: <20230406-carnival-aspirate-fcf69a30078c@spud> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230406-undertake-stowing-50f45b90413a@spud> References: <20230406-undertake-stowing-50f45b90413a@spud> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1169; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=/uqEAT4mwA891sbEf4x2pVtUF/+D0Dq2ST7GwztNFHQ=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDCn6Rl5R2spbv9u90F5UuaaO5erlaZvmnu/cxvSQ9Wjqm wslG1cadpSyMIhxMMiKKbIk3u5rkVr/x2WHc89bmDmsTCBDGLg4BWAiB6sZGW4uq/Y16WEukDZk rKlvKHrFfXKHYWP422dLndbMbSgRmM7wV3K/9/yq1/9j5l+vnZulbCLz9NVmu7Mmq9/7K7892BT MxQwA X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230406_135839_826438_BD2AB5FE X-CRM114-Status: GOOD ( 13.30 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: Conor Dooley As part of converting RISC-V SOC_FOO symbols to ARCH_FOO to match the use of such symbols on other architectures, convert the SiFive serial driver Kconfig entries from the SOC_ symbols to ARCH_ instead. Signed-off-by: Conor Dooley --- I hope you like the message-id Greg ;) --- drivers/tty/serial/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 39a0078f54f6..398e5aac2e77 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -951,7 +951,7 @@ config SERIAL_OMAP_CONSOLE config SERIAL_SIFIVE tristate "SiFive UART support" depends on OF - default SOC_SIFIVE || SOC_CANAAN + default ARCH_SIFIVE || ARCH_CANAAN select SERIAL_CORE help Select this option if you are building a kernel for a device that @@ -961,7 +961,7 @@ config SERIAL_SIFIVE config SERIAL_SIFIVE_CONSOLE bool "Console on SiFive UART" depends on SERIAL_SIFIVE=y - default SOC_SIFIVE || SOC_CANAAN + default ARCH_SIFIVE || ARCH_CANAAN select SERIAL_CORE_CONSOLE select SERIAL_EARLYCON help