From patchwork Sun Nov 20 08:21:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 23391 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1028266wrr; Sun, 20 Nov 2022 00:32:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf5hCW/K5/A6LIcpTseriS8yEoENl39vqnd/wEqMJkGTkeiM7AYSXz4cSNuFf71BwSZY36Gx X-Received: by 2002:a05:6a00:1d8e:b0:56c:c538:f100 with SMTP id z14-20020a056a001d8e00b0056cc538f100mr15503328pfw.58.1668933143502; Sun, 20 Nov 2022 00:32:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668933143; cv=none; d=google.com; s=arc-20160816; b=tanEsJ67zXKobagzNfSgONo1WWnTSmHFDQNCoC9lHHkO9ir5KrTmnJdeNzRO/5v/4P c5rcww1uMORxXSu0bZp2WyiK2tE5HYdg6CvcEnbyg32okwydeKtmDHCOIyeGhnN3QwQ0 TBzrK8jGvKdIGpqvaHLkA2Fnb/scj3+1sXlSiN7S76gIoNsOVD7hoIEouJHvepnHYFKY mNTytSCV4U3J/8j9+7ck81EVC6g0MdQxaGO/GQAeu7nh2FexeGI2mTK9sHH18jBti+2W 14DEoMXKo40O2DGHf04XJK/uKQ6NcgEpN8J0Io4nMD1OuGm/erDKCfLqXCQeAlxZ/Ryo YROQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=03CRDWDIQIkjrnFUKvRiNg7119g2Kcng+ZVccK8vJBA=; b=Z41WsmDcI21f0Zs8lSKQ+MymBgwChKYDVsZrUN4OH3vCho3wtpTon8YR1kpEu1ES7V GPHlvBVxtRAtCfNNY5kwCW95oP5+J1IAmmhjAy9ytqYXNEHByVmZwTwhUAa4H5AGQwvr xJhNooAWkI5vZjBMO8FmTHUZ5709fzy+Z2hzDUghdOhyKwW1jEtZF+Sk1jdT8jSMeWsD EF7Z/MOtPBPajFlmiazrRe40XdzaaPPRmvOGSbhygTY8AaPGJ0fLvsynYs7t4PlIcGWY OSTetvGuWASQWVFN7xSfKMTMkhnB5szAs5+qgKLr/9EzHnjQNiDykiXgZgYKEsRqromE 06fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ts4sR6+/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j70-20020a638b49000000b00439f026cf5dsi8148081pge.612.2022.11.20.00.32.10; Sun, 20 Nov 2022 00:32:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ts4sR6+/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229593AbiKTIbp (ORCPT + 99 others); Sun, 20 Nov 2022 03:31:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbiKTIbT (ORCPT ); Sun, 20 Nov 2022 03:31:19 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C1059A5F1; Sun, 20 Nov 2022 00:31:18 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 3ECC4B8094C; Sun, 20 Nov 2022 08:31:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 931AEC433B5; Sun, 20 Nov 2022 08:31:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668933076; bh=ZIyxtDK+5wX/gBokLdTl5DvntJdJCnlFQwtz1yaZio0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ts4sR6+/pZZaUipGd83QQ/CEzfvA0M1VKs6GeRoST3/w0zSjXFPfA5YVlTCmLuTGE wNJmnIcPVnYHzWPbsU5SLxhWGAm3vdNFgXMRye8/mgw+GufcRgqfyMfFPhM5ySRy/I gJPzyfCDa2NrqVw7mDCQzAHMclbtJrr+7Tzy3s3h+SvVlmzsaZ+dXJA9NAZ8jz1IsW aOzTADAaHzlvBXrjzzpNubDgIjY9Amk9yfJJj0Ejp8zO2KIF3KVB/6br/achcyKhf4 2JuEzAinCyiiCIvadXVz/Nqdz71X5PQcTAFiuTIgYC3ZKVtSjDBiYDSbPXWaaByZII u5sAI/KJfbSNQ== From: Jisheng Zhang To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jiri Slaby Cc: linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH 4/7] riscv: add the Bouffalolab SoC family Kconfig option Date: Sun, 20 Nov 2022 16:21:11 +0800 Message-Id: <20221120082114.3030-5-jszhang@kernel.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221120082114.3030-1-jszhang@kernel.org> References: <20221120082114.3030-1-jszhang@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750003239426244271?= X-GMAIL-MSGID: =?utf-8?q?1750003239426244271?= The Bouffalolab bl808 SoC contains three riscv CPUs, namely M0, D0 and LP. The D0 is 64bit RISC-V GC compatible, so can run linux. Signed-off-by: Jisheng Zhang Reviewed-by: Conor Dooley --- arch/riscv/Kconfig.socs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index 69774bb362d6..90256f44ed4a 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -1,5 +1,11 @@ menu "SoC selection" +config SOC_BOUFFALOLAB + bool "Bouffalolab SoCs" + select SIFIVE_PLIC + help + This enables support for Bouffalolab SoC platforms. + config SOC_MICROCHIP_POLARFIRE bool "Microchip PolarFire SoCs" select MCHP_CLK_MPFS