From patchwork Fri Apr 22 07:25:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 12822880 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 39C17C433FE for ; Fri, 22 Apr 2022 07:26:27 +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=hEm1pbM594Z/YBlAlQ/ZgR7/RSDO27Vv4Voqg5nvhA8=; b=sratNBt8+vZLoP yscQVKbZ1xi+0Ds6MV4dTkB2XXH5hFystoL5zrN9iC6ZtvxQyH1FaLfwKNE6Ja+KdB6aSRBc4noCY uedOqhR0/ir2CpiKpx8w48lF/iMVdHh96rXG2Puh3ZW+l7ipsei0pj31mEFFZhQLnKXDvBa3zS1vC 14AkMmnBmShg1TMe6in514JjQfjqozVT7U2P3pPZv2K2EdB4RKXacszMLuHXXVJsF+Z1YIWSLyF+9 //X1OWnBpLHI31FEWj8gJPVcuWllib6kHgQxfoiqb2Us6Xx894N5y5t0Hl9ZZ3T75Y/weFZc5/KgR yWOp8mJj+JtMDXekdMEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhngB-00Gn93-Au; Fri, 22 Apr 2022 07:26:11 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhng3-00Gn5b-3z for linux-riscv@lists.infradead.org; Fri, 22 Apr 2022 07:26:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1650612364; x=1682148364; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jpQn21lfBJqxHASJ0XDepMTCjpzWE4fmKlR+6b/wZig=; b=rGqsSPmVKnYwWHkeWkO4SmRAQZpF8Pw4Ye7RUKuci6jngm/r4s+GqTo8 /1h0aChTFVd4weZNwwuw5TE4i/zDJSrxsRuCaGWS8csCdFqgtRO/fk4YQ mcxEOzYGUXXJWHFo+DbPrN11eoiEdtwOvpndcY5E5gUSEXuBRGtZEk443 ezdfWfxdxdUv7zmYqIyRcQOUxqjhNfWerJgdKh3jW3EU72u9Bhmqitne1 0EKnLm+BLxLIUWJOS12qyBXliUO9o23yGxHDg48xgXopzkqSU50erK0k4 H2K31ZUFxT5UyNcdzsskQxPFcR+3CmKKDZ/dzvYP8/AsmpbfMeFnF75qh w==; X-IronPort-AV: E=Sophos;i="5.90,281,1643698800"; d="scan'208";a="153462798" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 22 Apr 2022 00:26:01 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 22 Apr 2022 00:26:00 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 22 Apr 2022 00:25:58 -0700 From: Conor Dooley To: Palmer Dabbelt CC: Paul Walmsley , Albert Ou , , , , , , Conor Dooley Subject: [PATCH v3 1/4] riscv: select peripheral drivers for polarfire soc Date: Fri, 22 Apr 2022 08:25:30 +0100 Message-ID: <20220422072533.2582084-2-conor.dooley@microchip.com> X-Mailer: git-send-email 2.35.2 In-Reply-To: <20220422072533.2582084-1-conor.dooley@microchip.com> References: <20220422072533.2582084-1-conor.dooley@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_002603_306533_CAE945B5 X-CRM114-Status: UNSURE ( 8.17 ) X-CRM114-Notice: Please train this message. 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 Update the SOC_MICROCHIP_POLARFIRE kconfig entry to select, where applicable, the supported drivers for the SoC. Signed-off-by: Conor Dooley --- arch/riscv/Kconfig.socs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index 34592d00dde8..7f93c729d51c 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -3,6 +3,10 @@ menu "SoC selection" config SOC_MICROCHIP_POLARFIRE bool "Microchip PolarFire SoCs" select MCHP_CLK_MPFS + select POLARFIRE_SOC_MAILBOX if MAILBOX + select POLARFIRE_SOC_SYS_CTRL if MAILBOX + select HW_RANDOM_POLARFIRE_SOC if POLARFIRE_SOC_SYS_CTRL + select PCIE_MICROCHIP_HOST if PCI_MSI && OF select SIFIVE_PLIC help This enables support for Microchip PolarFire SoC platforms.