Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1918631rwd; Sun, 21 May 2023 08:52:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5LEUXVV3lrije7rgIclrBH5KN2jEx4/NfANvMcTJnRwZRLuBYMB1CyRyowCEc96bMB5xW7 X-Received: by 2002:a17:90a:17a6:b0:24e:1b19:867f with SMTP id q35-20020a17090a17a600b0024e1b19867fmr8016955pja.37.1684684339775; Sun, 21 May 2023 08:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684684339; cv=none; d=google.com; s=arc-20160816; b=cSQGdezkB9utEbRyuEk4Pj0DGJVimSpsJML86QtD+zMHIV/F58DntcNXvcDtHnrNRf pi8RT5TWd7CiJZGkNp61+DdWyoYmVAjFxIXgJ3c/j5K+K3zin+08XnpcHj3uoRGVVZKq VHakVTpM2BKtnhqncuR0jHAe/WdMeqhezpBlv2GNoUoxw9oycOlQcbGwILTrnVR9ZU2O 1Zm+94KeuHyHnq9N+ayN4SwY8HiFrDnvgwOKHdc0ss1OLOt9W20FmLk7gH2zzrtQy+R4 Wtwl6brRiPgTdbHo08mCuF9wtbhjpqISFXW3UCedRQSxgL0eFN/Mh4DxvNsfD9AENv6f 2hbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=IgVEG7dtrmCdYLPU3Pm6YFDQW04IB3L8JTpYR0WGSPQ=; b=AvTDsP1ziASp6a/TWX+VTBD0E0kPUylFOOZyhK1tcWt5LblaFhHML4E3+Qv9FMzUNR VkNugWINOj9odbGAgHoiPTIURh3Dq3Bfc9cUzWGTr8+8gr7DfOGNJBvP133fCEWgnsDh eQpQY/g3pjcNhbOWmiDzV9N36W4CT85Yt0BNNWaDUWz/e0h4QuPLDUkCDP5bNoRItKQp EUdM/L6VX5ZLT3pgcuOvmwBtQCYBk0VatDrUxt6NcnYyTsIsokAyDF++tcvkuJWfnnrt 8tRINSpWU3DRsrdGCiX0kKPlP8XC/FkdHj79ueq8WLIrY7KRYo8OaqgQFE+PIdElWfG8 NaDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Qwf0/Zmw"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o10-20020a17090aeb8a00b002532f02f026si682624pjy.57.2023.05.21.08.52.05; Sun, 21 May 2023 08:52:19 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Qwf0/Zmw"; 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 S229528AbjEUPiP (ORCPT + 99 others); Sun, 21 May 2023 11:38:15 -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-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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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