From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A438EC77B7C for ; Sun, 21 May 2023 15:38:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229497AbjEUPiO (ORCPT ); Sun, 21 May 2023 11:38:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjEUPiO (ORCPT ); Sun, 21 May 2023 11:38:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1291FE4; Sun, 21 May 2023 08:38:13 -0700 (PDT) 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 8B8B560F15; Sun, 21 May 2023 15:38:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D32B6C433EF; Sun, 21 May 2023 15:38:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684683491; bh=rsSKWKgzrdYi2+QrzmaBdQMUeBWsskCgLQSydAupoTA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Qwf0/ZmwhQxctn5etWjGtdfBtb/GIBXYMstyBmUVcWUeuK97EZ9JtBxCOg6P6JGFP 16PgRDFIPKLJuGMutO6bTM+dG5HsRzlCTRLvZ2owrreWQoZYYq3ZW2PcJMOiYEtJ6+ ts1y5yoiiy3k9zYJ3X2Zop7FRhEjwfRotnH1Azlq6IYVacEr0NLfi6jFiUfPYbvC+F 0AJXjTSyg+sm0GhjLhwXO9aIKfzms+4vSrNnreCzacw5AsmUeRlz+UqO/hAj9HSURD QpK7ojClyvqWNL5mBqVzOT6ettQeyT3azhbX3dg4n7dRVJy032xdUjV52KJTgoiram 3ZxtzDuKIwQHQ== Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-96fb45a5258so166601566b.2; Sun, 21 May 2023 08:38:11 -0700 (PDT) X-Gm-Message-State: AC+VfDw5WLlOjo2Qe3gg3+bIPby9M0hxM9VrDIqsunHoj/9AlSp9G89/ mAOu/Xh1KWhoxMpdMDdytp66pj/h1zk91yG2ZO8= X-Google-Smtp-Source: ACHHUZ5CViNXL356WnB7eKprukgeq44eBPyn5myooMQtHmUvgxxC0NILsR5aCx0KAsnQjkJfL90u7zWhy3vKUUMJml8= X-Received: by 2002:a17:907:26c3:b0:94f:2a13:4e01 with SMTP id bp3-20020a17090726c300b0094f2a134e01mr7498092ejc.74.1684683490097; Sun, 21 May 2023 08:38:10 -0700 (PDT) MIME-Version: 1.0 References: <20230507182304.2934-1-jszhang@kernel.org> <20230507182304.2934-4-jszhang@kernel.org> <20230507-calamari-gentleman-bbe62af06f92@spud> <20230508-unmoved-unvocal-9a6c5fc0c629@spud> In-Reply-To: <20230508-unmoved-unvocal-9a6c5fc0c629@spud> From: Guo Ren Date: Sun, 21 May 2023 23:37:58 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/5] riscv: dts: add initial T-HEAD light SoC device tree To: Conor Dooley Cc: Jisheng Zhang , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Albert Ou , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, heiko@sntech.de Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Tue, May 9, 2023 at 12:44=E2=80=AFAM Conor Dooley wro= te: > > On Tue, May 09, 2023 at 12:26:10AM +0800, Jisheng Zhang wrote: > > On Sun, May 07, 2023 at 10:35:12PM +0100, Conor Dooley wrote: > > > On Mon, May 08, 2023 at 02:23:02AM +0800, Jisheng Zhang wrote: > > > > > > > + c910_0: cpu@0 { > > > > + compatible =3D "thead,c910", "riscv"; > > > > + device_type =3D "cpu"; > > > > + riscv,isa =3D "rv64imafdc"; > > > > > > Does this support more than "rv64imafdc"? > > > I assume there's some _xtheadfoo extensions that it does support, > > > although I am not sure how we are proceeding with those - Heiko might > > > have a more nuanced take. > > > > > > > + reset: reset-sample { > > > > + compatible =3D "thead,reset-sample"; > > > > > > What is a "reset-sample"? > > > > This node is only for opensbi. The compatible string is already in > > opensbi. Do we also need to add dt-binding for it in linux? > > If it's to be included in the kernel's dts, then yes, you do need a > dt-binding. If you remove it, then you don't :) > > That said, "thead,reset-sample" is a strangely named compatible, so if > you do keep it it may end up needing a rename! How about compatible =3D "thead,reset-th1520" ? > > Cheers, > Conor. > --=20 Best Regards Guo Ren