Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14985760rwb; Mon, 28 Nov 2022 06:57:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf5LdldCr3P+k+tos56i65oY5vnufkN+GFCB7J1DxVf932eUCSfxDZujSLbVAd+vdR10fHhm X-Received: by 2002:a17:90b:3c87:b0:218:fcd2:68b6 with SMTP id pv7-20020a17090b3c8700b00218fcd268b6mr21791423pjb.154.1669647425448; Mon, 28 Nov 2022 06:57:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669647425; cv=none; d=google.com; s=arc-20160816; b=H9rDPEPsEGDkRDTs2vcm/FtBYlI/CqUQ6/oila9PWzlZb+3AYJDMnu0d4Ov+izxiDz hsPsQypdBc884VxoPcSvxZ8setNO0gGPiVq5DpccJKNgbtaOfKqBxjorIZHkSLTHxPKW aPz4OK2q8xDFqAy4aFw2gojchQw77N0axKHHjxWH++r6QAXxy/8K81imeozU2EBxoqF2 mU4N8/yK90rR/jc6Et2N27cvob/R9sL7JYPPfymn3AfCYRCJHbT5dTzGIxuiFdEx9n1d UJrNxRQ9Y4KhMQsbW7khDozbtZViWoLX6zpWXkGhAd4OGAzov32QzRooTxrppO8yNdUz RGzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Gq9eA2KLdj54ytGnJPLKraVKOfmyIZ3f4d45XgQm9yU=; b=oDI8d1bSwTOZPR84ZEdFB0qkL2hAh2lcsppgKD8G/29czii/rEowC1EHKndFssDspY G5dVDX5CJV/sBxbnDsx9n4L+wx4as5yhejr+0at3pTOSl+49D542VJ9/jvS4pwo6KC51 1MG/kWw2v0RytuF6J2sXXB8zAmLwLQToGq2a3dzCbTMsSO7tz7AFyMyc8qtQLxrtrVf/ 1EUjhajCYVCPZlIveoiEL2yqxLkvmKHuhDXoHnAEdxyCh2PLR5IbYmR7+/x60ViHBXib ocu40LLyrSVE0ZsCqFkwLAXGw0ixQPC+dguwoj292pDo0tdIYVKU4N+CQikHXzi4pdC/ Ds7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=InTULldF; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pf10-20020a17090b1d8a00b00200ad6b1554si16615442pjb.6.2022.11.28.06.56.53; Mon, 28 Nov 2022 06:57:05 -0800 (PST) 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=@microchip.com header.s=mchp header.b=InTULldF; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231889AbiK1Ow4 (ORCPT + 85 others); Mon, 28 Nov 2022 09:52:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231849AbiK1Owy (ORCPT ); Mon, 28 Nov 2022 09:52:54 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D54B81EEE1; Mon, 28 Nov 2022 06:52:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1669647173; x=1701183173; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=Vhgp5H+xO8Wpgp3xe6RQ0CkwZcxSWEbiNdhdyI++Qsc=; b=InTULldFRVcihdTsPtxB3hpvgP2fYEs6WOlvXFiGcl8q5IB24rRm3NG3 dOGWijDIvonZ0bgf11I5Ymyt37IGiHfCSDdfp3xra/m6dzs8svx3iaSDh 0JpiwzOJKU36SUkLxzQNlIkE2SVo7Er91o46k9KQeRpOBz6cnD2pZFfgb FCKg/dWZ+ElWOZZN9v6rj50R7Xw0V1fI58+yMtkslOm2Hg3GM9KHGCGy2 Izyrp6KJyUqHnwHZHaRO3jWuzMpwE83Ks1hx5EBr5Qbn4sjU6dwvltiTg ShPGq5O1jbWIFSZd8wpv67Cr8tENwXB6/cqSOoHsNzLOAd9N8XcC1ngF3 Q==; X-IronPort-AV: E=Sophos;i="5.96,200,1665471600"; d="scan'208";a="188967612" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 28 Nov 2022 07:52:53 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Mon, 28 Nov 2022 07:52:52 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12 via Frontend Transport; Mon, 28 Nov 2022 07:52:50 -0700 Date: Mon, 28 Nov 2022 14:52:32 +0000 From: Conor Dooley To: Icenowy Zheng CC: Conor Dooley , Jisheng Zhang , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Greg Kroah-Hartman , Jiri Slaby , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , , , , Subject: Re: [PATCH v2 6/9] riscv: dts: bouffalolab: add the bl808 SoC base device tree Message-ID: References: <20221127132448.4034-1-jszhang@kernel.org> <20221127132448.4034-7-jszhang@kernel.org> <3ad94a3fc3558da2da80d238d26f29e2c42db5c1.camel@icenowy.me> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3ad94a3fc3558da2da80d238d26f29e2c42db5c1.camel@icenowy.me> 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_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 Mon, Nov 28, 2022 at 05:52:51PM +0800, Icenowy Zheng wrote: > 在 2022-11-27星期日的 17:21 +0000,Conor Dooley写道: > > +CC Icenowy > > > > On Sun, Nov 27, 2022 at 09:24:45PM +0800, Jisheng Zhang wrote: > > > Add a baisc dtsi for the bouffalolab bl808 SoC. > > > > > > Signed-off-by: Jisheng Zhang > > > --- > > >  arch/riscv/boot/dts/bouffalolab/bl808.dtsi | 74 > > > +               plic: interrupt-controller@e0000000 { > > > +                       compatible = "thead,c900-plic"; > > > > Hmm, @Icenowy - should this use your new open-c906-plic compatible > > from > > 20221121041757.418645-4-uwu@icenowy.me ? > > I am against using openc906-plic. > > Maybe I will add "thead,c906-plic", "thead,c900-plic" as an valid > compatible, as there seems to be few options related to PLIC/CLINT for > C906/C910 (at least as the open document of them say). You two know this a lot better than I do, I'll leave it up to you two to sort out :) Either way, we need something changed here to satisfy the bindings. > > As is, dtbs_check gives a: > > bl808-sipeed-m1s-dock.dtb: interrupt-controller@e0000000: compatible: > > 'oneOf' conditional failed, one must be fixed: > >         ['thead,c900-plic'] is too short > > > > > +                       reg = <0xe0000000 0x4000000>; > > > +                       interrupts-extended = <&cpu0_intc > > > 0xffffffff>, > > > +                                             <&cpu0_intc 9>; > > > +                       interrupt-controller; > > > +                       #address-cells = <0>; > > > +                       #interrupt-cells = <2>; > > > +                       riscv,ndev = <64>; > > > +               }; > > > +       }; > > > +};