Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4177292pxb; Wed, 13 Oct 2021 23:20:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYqlBcNI5xncdULcrFDI0/93uB6wxPWt1DCUHS5pND45u3emSiys19piFePenWBoxM3Ts9 X-Received: by 2002:a05:6a00:1344:b0:44c:4cd7:4d4b with SMTP id k4-20020a056a00134400b0044c4cd74d4bmr3767701pfu.50.1634192425050; Wed, 13 Oct 2021 23:20:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634192425; cv=none; d=google.com; s=arc-20160816; b=Oi9hHNnGOUUIwkStan6NV/l9mbvJrQXRgMRl3IVEjBr5ZDlNwQT+W0+bIM2FctpKzl UoQ4D629b2ySOhXyiuLMsq/IQ/uGQO5iW1xd3uXuB483xvusLNvSTJiN6Z79WalZcG9y inCSWKMdHPAHwgaV3LbJfKZZ6jVu0GPIOR+6qa+Qn9ETmPQZtV0IlL8k4y91xdDXzQ7+ Al5mpYhm2dx9mwBiQnQyJBbAiVmU1QWYH6mqlVCd3iUF02d7Nl4ktCtjo+6szwZAQRfb rghahkDHNI7nlgiqZQKkWUDBBpJCjHTc2dJAIvJP90Q89tl5yYvQIl+MQ2tqsOV8Twfc r9+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=kWtiSYTEhHy9IhhAOGsO1bYJFLZC5n/n7qA/M4ZFAx4=; b=iS+8FY2VNqk7uUiFIXYg5R6mekVs3CKSf85sb1JQ1EaMfw++R7+idwtQ/Xmzy4u4FS LUG7R6FCi5B8tG+2sI/yYMgTz5PA/sMT/2kfPXQcBsnnCmcUDU5PxyJzUcBON1S16kWB LqL82tskQLXwBmLVao5hwdbnMzU2a/6IG86qHeorlz/HzlTJOea8WdGZh66nVQGM3l1z 4i9QWUAdjzo8p35fLzC5hMMMLoycpESikeH1sYxue/AVfqmIsXRlTbe1/2kuNxzDzkJg QBpnYYXx/S1IPiWeIDbGxxrW3zMu7za/Z+EI+tzAfmTx8RPP+P+883nh7m3BAwg6eaZ9 0sVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U8wjJoIK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m24si10277180pjr.83.2021.10.13.23.20.11; Wed, 13 Oct 2021 23:20:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U8wjJoIK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229613AbhJNGTl (ORCPT + 99 others); Thu, 14 Oct 2021 02:19:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:43632 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbhJNGTk (ORCPT ); Thu, 14 Oct 2021 02:19:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2280A60FF2 for ; Thu, 14 Oct 2021 06:17:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634192256; bh=9oRf2ywKUYIx9o4P7Z9GQDY/5yvvnyq8Qo14mUHKz6o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=U8wjJoIKV5Hx3aW6Q6rZnn35Yrjt/wE6irpvl5z5PZSmYEfRYGANoemBq4D81hXsY UFuEZCYi2sQyM3ZkpoSXxSPoJwRG5HCFctBFG+2bZ6c9WntS4FWwnbQCYWP6y0yD/0 i7F0rJeKF3Xku0aN3iFMjzDfp9+v3ZX1/NR0V04TCPT2MqP4u8xOH6bG4izJIZyHzU MBw/3gpOjDMeK+vX+PlgL1zR496NCZ8G7lAHzYvE9mXB2TJx10J9EO9mtIk5JG8jgz gHyrRLV6nvlL3NXZWmMY359+hlRSTnCrkmXsEsSmAxo8VMHFpdbgRVhgMQZ43QtF5g aoTSrelBZ8TGQ== Received: by mail-ua1-f54.google.com with SMTP id u5so9121862uao.13 for ; Wed, 13 Oct 2021 23:17:36 -0700 (PDT) X-Gm-Message-State: AOAM532JfsXDZFbDIj/4EkSyqPEs06o1Ih6R/n3od85YJH610fuAcox0 nKqpqDKqY1JJ2NifOjjblvqv3HONA/9Z1jt1f54= X-Received: by 2002:a05:6102:32cd:: with SMTP id o13mr4702722vss.50.1634192255197; Wed, 13 Oct 2021 23:17:35 -0700 (PDT) MIME-Version: 1.0 References: <20211013012149.2834212-1-guoren@kernel.org> <4245323.jvX0RauA9x@diego> <4027415.QZv1u5a1DM@diego> <693a609c-4278-84ab-8a9b-448936bb13d0@sholland.org> In-Reply-To: <693a609c-4278-84ab-8a9b-448936bb13d0@sholland.org> From: Guo Ren Date: Thu, 14 Oct 2021 14:17:24 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V3 1/2] dt-bindings: update riscv plic compatible string To: Samuel Holland Cc: =?UTF-8?Q?Heiko_St=C3=BCbner?= , Anup Patel , Atish Patra , Marc Zyngier , Thomas Gleixner , Palmer Dabbelt , "linux-kernel@vger.kernel.org List" , linux-riscv , Guo Ren , Rob Herring , Palmer Dabbelt Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 14, 2021 at 12:21 PM Samuel Holland wrote: > > On 10/13/21 7:49 AM, Guo Ren wrote: > >>>>>>>> - const: sifive,plic-1.0.0 > >>>>>>> > >>>>>>> The PLIC DT node requires two compatible string: > >>>>>>> , > >>>>>>> > >>>>>>> The C9xx PLIC is not RISC-V PLIC so, the DT node should > >>>>>>> be: "thead,c900-plic", "thead,c9xx-plic" > >>>>>>> > >>>>>>> You need to change "- const: sifive,plic-1.0.0" to > >>>>>>> - enum: > >>>>>>> - sifive,plic-1.0.0 > >>>>>>> - thead,c9xx-plic > >> > >> isn't XuanTie the series containing the c906 and c910? > > XuanTie contain two CPU series: > > riscv: c906, c910 > > csky: c807, c810, c860 > > > >> So maybe > >> thead,xuantie-plic > >> for the spec compatible. > >> > >> So doing in full > >> compatible = "thead,c906-plic", "thead,xuantie-plic" > > How about: > > compatible = "allwinner,d1-plic", "thead,c900-plic" > > To follow the -- pattern of existing Allwinner > compatibles, the first string should be "allwinner,sun20i-d1-plic". Thx, Got it. > Otherwise, this looks to me like the right thing to do. > > Regards, > Samuel -- Best Regards Guo Ren ML: https://lore.kernel.org/linux-csky/