Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4111039pxb; Wed, 13 Oct 2021 21:23:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzO5h0RooN3lHzXMUm+H5tmxTls7PHDtwxQlCBpLoYhvJLBTfhbE7kDJvZcYhsMYn26JIbS X-Received: by 2002:a05:6402:1e8c:: with SMTP id f12mr5194140edf.71.1634185396335; Wed, 13 Oct 2021 21:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634185396; cv=none; d=google.com; s=arc-20160816; b=SSiS5nI0cjP0mw+PKK7aJl7Hp73jS2+fN536wx+Uj0XJ7NUdw9ns+tF0SyjNN+VwzQ rLifl5dwJjkNLwwSVu+vLLHLf3pivaaYaPE7lm6a+s9QKUNoZobKErDjTeTsg4MaPdGq dxOzsvBu/emlU5/Yzzoo8OKiS1ZzHH28PAZJyl1jccV7MoLjaK1cyuMfc7dW1F6T5he4 Ysp6o3nDD5VjZg56tbAh7iKzztDsha0opcT1h/40VUP0lCH1pRBVJB22uNXZrjvSVh2/ nCHlHkRxi0HsUIqJMLjMIwIyDfFRN+3mOckr06DJN5pVsiud5ZmadLDcFqd/haDbHvNL dPMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to:dkim-signature:dkim-signature; bh=uqzOZZz/9vc/TqZeIFjYvMXtaliYQ5uBgCj+mfMcLxk=; b=wR5XcgEfMWF8E9YQCXzMHToxs3KeNQziP2itXi3EKxaNr76q9ybhPKC7ISKBrVLxx1 59aXRh1KIUBe3+FUucyiOkZ8BPLlrlq7xrjrwEUfDtWzeQy5KNLDwTWsA+goeNsuX+aU Dbmvev/18nC8bMhnHf3531G0eMqshflxQi/ycgdaYRmM4FFnhsE9HHmg+BaMaIFFEKhI mh00nNzoHTS68VxfN8ZyAKUZKQEh+0IlNboRaX1nRNZyEKZQKf9mR2MhIffipQZBXMGb NwNnzbgwO8N5UsVIuzpL22LyB+mdYm/NwxY49Z4KoAl0XwFBrFo/+RVPBdlncI4umyWz jHCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm1 header.b=lWV2Cka9; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=mfhJaY4u; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si2804515ejv.782.2021.10.13.21.22.52; Wed, 13 Oct 2021 21:23:16 -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=@sholland.org header.s=fm1 header.b=lWV2Cka9; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=mfhJaY4u; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229472AbhJNEXP (ORCPT + 99 others); Thu, 14 Oct 2021 00:23:15 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:44395 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbhJNEXM (ORCPT ); Thu, 14 Oct 2021 00:23:12 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 8EE74580E8C; Thu, 14 Oct 2021 00:21:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 14 Oct 2021 00:21:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= to:cc:references:from:subject:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=u qzOZZz/9vc/TqZeIFjYvMXtaliYQ5uBgCj+mfMcLxk=; b=lWV2Cka9t1PKMYuyf ofDip9RtHUqtnB/80isuPb0hEvPO+MRhBBqmxHTnIJ6wGNlml4ZpTZgi68O3CenU w4J0NPIFiWgBbx/3PJcfO7dBHiO1RfV2d8JoLQvNh8i82rxsbJ8bcwpLxmuMvJ0r ohmOfgF92mzMP3jmgV9oxNBBYtsISjET4MHuZFgvjwLAMlCykkW3pzjEKgvYAVL4 qnJJomscyOcyfRAlQCTvhmqqr2rNBYsMj60nbN8CK/ITILZvCdGHi9E87hPUSrZA KZOvT5PfE/abacvpQpBn1bZVK926Sa5qtWCnLgjtSHww5wtYiIjUO5nUb+EIfyLl 4dcTw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=uqzOZZz/9vc/TqZeIFjYvMXtaliYQ5uBgCj+mfMcL xk=; b=mfhJaY4uAJ6gAdEusHNedUEk+Mnk5hHnaGWnCSC7RiL4yTzqOISpb1iL3 MlCLnUoMRa9XD3BHE9JIC8RSQfOTymLfi7wQ11uBMz2wzwGwS6ED/35uMIndAI4s jB1Pzo2V5Ck1y651ZLUcXfAA99uz+Rm0zBP47D1vVLO7fwnc4kP8zJd/RoFA6/wl Dr7CK/+s/9gcD6Ah6MValXgF3F2pP1qGS5w5YMob+nMU2p8UORtybjJK5Jf6pqyf fxaVA43lHQCp7a0SAaGoo1vwwJz0pCuS7KCBZ9i4+jQ+6Pbu/KfcHt7gO1crYT+p OgouDbhMs3ksZJNFq/S3cjyRppj1Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdduuddgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepvfhfhffukffffgggjggtgfesthekredttdefjeenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepvddttdejieduudfgffevteekffegffeguddtgfefkeduvedukeff hedtfeevuedvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 14 Oct 2021 00:21:06 -0400 (EDT) To: Guo Ren , =?UTF-8?Q?Heiko_St=c3=bcbner?= Cc: Anup Patel , Atish Patra , Marc Zyngier , Thomas Gleixner , Palmer Dabbelt , "linux-kernel@vger.kernel.org List" , linux-riscv , Guo Ren , Rob Herring , Palmer Dabbelt References: <20211013012149.2834212-1-guoren@kernel.org> <4245323.jvX0RauA9x@diego> <4027415.QZv1u5a1DM@diego> From: Samuel Holland Subject: Re: [PATCH V3 1/2] dt-bindings: update riscv plic compatible string Message-ID: <693a609c-4278-84ab-8a9b-448936bb13d0@sholland.org> Date: Wed, 13 Oct 2021 23:21:05 -0500 User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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". Otherwise, this looks to me like the right thing to do. Regards, Samuel