Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4221855rwb; Fri, 30 Sep 2022 15:04:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7N+PcVB/gP2Tl4ny747ofYMjq+L1vafDuAsYGcoYb0y19ymHyPK51NBlW3LDjJGAWxg99e X-Received: by 2002:aa7:c054:0:b0:453:98c6:f6c4 with SMTP id k20-20020aa7c054000000b0045398c6f6c4mr9351062edo.2.1664575442372; Fri, 30 Sep 2022 15:04:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664575442; cv=none; d=google.com; s=arc-20160816; b=MT65bN3L1FirIPFgjsYXtTHvZ/4/QzVT300t4OPmCu1r2hdZrXQkuscezrvsWREhyC i9tCas1h5mREbDLyPAzytGXV3SbLHxtHn7j7H9yFB8FEZ45pL0AO9ejYqSCqIB1f+t9F omy2tEjCoDfCJInX+8Rsqj8RN/5My7bJMTcwrKjmrb3BaGKRaNkiPLe2WGIipKT65CsF Y7KpzoTJjqeGqToe3mP9qrKeW9h2iEphsdi3sI+yGy6g0eC0zsL/mDg/4GPXaEpbS5Q1 hOoDkindXZXO/vxPUZTpBRErL8Jy21mA/KI7+SLbn6l35L5fTuXFwtJM58VbalxeFXSO wwgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id; bh=Glhfw9niiQ/2lSPNqmGdm/4losAss6cR2C+FSLVgDE8=; b=AdfTQbYBIoIq7yQNMIEmj2JzCR1eRXTGpp9j9wS8g+Pb8CQ3GsyazUb3/NGtOsFCjp G049d/Ox79hgjixqTxfyO0xQPkTeDE7J/RJ/gwIkXiWkdBGX/hnlBHu1grBZ2vMNgbKH r81D+27+/lppqsFH+GSUy3QdZ3DniLQnrmimbN5EoES6ydfJdqNHjtDWg3U7XOnbYXVK L4hxCGFT4I2gvlBEmOqueNUgZp5Sc2uFO1C7tQBoimcG+7pgHqGUDLJ9otgekD2nGlNq Y6z1WJQkPWFKtBD5Stiq0IvaoWFMN/kcyRZlaR8llpZ5xyQt2UBuiT1IOmyJmscklLEa wHoA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j9-20020a50ed09000000b00458732e7abesi2539290eds.389.2022.09.30.15.03.12; Fri, 30 Sep 2022 15:04:02 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232229AbiI3VcU (ORCPT + 99 others); Fri, 30 Sep 2022 17:32:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232169AbiI3VcN (ORCPT ); Fri, 30 Sep 2022 17:32:13 -0400 X-Greylist: delayed 2250 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 30 Sep 2022 14:32:12 PDT Received: from imap5.colo.codethink.co.uk (imap5.colo.codethink.co.uk [78.40.148.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE3701C9E3C; Fri, 30 Sep 2022 14:32:11 -0700 (PDT) Received: from [216.9.110.4] (helo=[172.31.242.38]) by imap5.colo.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1oeN1g-001NRG-OY; Fri, 30 Sep 2022 21:54:28 +0100 Message-ID: <01c658ad-7f73-20fc-03c0-c82dcd820aa4@codethink.co.uk> Date: Fri, 30 Sep 2022 21:54:14 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v1 29/30] RISC-V: defconfig: Enable CONFIG_SERIAL_8250_DW Content-Language: en-GB To: Hal Feng , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Daniel Lezcano , Thomas Gleixner , Marc Zyngier , Philipp Zabel , Stephen Boyd , Michael Turquette , Linus Walleij , Emil Renner Berthing , linux-kernel@vger.kernel.org References: <20220929143225.17907-1-hal.feng@linux.starfivetech.com> <20220930090653.7449-1-hal.feng@linux.starfivetech.com> From: Ben Dooks Organization: Codethink Limited. In-Reply-To: <20220930090653.7449-1-hal.feng@linux.starfivetech.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,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 On 30/09/2022 10:06, Hal Feng wrote: > Add CONFIG_SERIAL_8250_DW=y, which is a necessary option for > StarFive JH7110 and JH7100 SoCs to boot with serial ports. > > Signed-off-by: Hal Feng That might be useful for other users at some point an I don't think it adds much code. > --- > arch/riscv/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > index aed332a9d4ea..0c44484cd3a4 100644 > --- a/arch/riscv/configs/defconfig > +++ b/arch/riscv/configs/defconfig > @@ -122,6 +122,7 @@ CONFIG_MICROSEMI_PHY=y > CONFIG_INPUT_MOUSEDEV=y > CONFIG_SERIAL_8250=y > CONFIG_SERIAL_8250_CONSOLE=y > +CONFIG_SERIAL_8250_DW=y > CONFIG_SERIAL_OF_PLATFORM=y > CONFIG_VIRTIO_CONSOLE=y > CONFIG_HW_RANDOM=y -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius https://www.codethink.co.uk/privacy.html