Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp631274iob; Wed, 4 May 2022 04:57:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkmcUd4TxBiV0mnE4i62j0ghc5wPAVE6WONOoIYxlAODozwc1hCr9njew52wViIkEiUBGJ X-Received: by 2002:a17:907:1b14:b0:6ef:a5c8:afbd with SMTP id mp20-20020a1709071b1400b006efa5c8afbdmr20329493ejc.151.1651665463401; Wed, 04 May 2022 04:57:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651665463; cv=none; d=google.com; s=arc-20160816; b=TUub0tyFQQxLv9qXyTwofTjWD7ywKA4fJwNPtliz2WE+sX7Z9bQvLvtF6ZCMkKuCBT H/DYoAyzL3ePx9BYbE5EnvdzMrDM5/MgnVaycGEwJ0YGJfUbhcufXBeJADVsGVg/P9CC XmV/1y52PTp6w8Nmg15IMi/4zdvYOFM+1bRfhPfSatCktXotYkwKl8atO4qH6Ric/uBP FRNLj5PIa7NUnHK8boGgNo8WgBL+Pl1OQjHIPzT/70VIvBpYnuBnVXObaCTUpB+V9f/u BY1HPB7JwFIczudquFz2AWv2JY2PGYXcc24514cGTgTXGLd9+cXxp7JvtHbO2DqYL9ue LV7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=DXHP6XtJ2edDBVmtmWlPHCNOKVWEx+cKxON4AJYKulY=; b=ojY9HhDu9NllSIGgE77R3UBpEgey30SZIrajRyWgfDUmUbNTgyk1osy3CWagLpE+TS 3vwHxyxhTPVSTP5WA8YfFzqkCpuaNZgRIXmcUG3to5x6qgGAIhvtQgeQq8mlqbWz/exy 6A8ngV7gcmgLb4Cr7yRqlf9u0C48ykAgYDBHBvkp7R9nyNPnwAvWV8gt93KvVSKnbBOv 4Pdn7uQkhC1+SDeKkgAy46f7Ci4gzyERTRVJYbTvb2j+7bfeCgswzteL9iv+aOyRHM98 TjBWEha6dvtVHQlSVUB/KtR6eyXxE16q7EwYuS0keiI4dG8BzTKXrnm5FajGrrJ3H9Bh X4/A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k6-20020a50cb86000000b0041d76e18accsi14894124edi.548.2022.05.04.04.57.19; Wed, 04 May 2022 04:57:43 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234092AbiEDHPr (ORCPT + 99 others); Wed, 4 May 2022 03:15:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230402AbiEDHPn (ORCPT ); Wed, 4 May 2022 03:15:43 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 531D822BEA; Wed, 4 May 2022 00:12:06 -0700 (PDT) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nm9Ar-0006s1-Gb; Wed, 04 May 2022 09:11:49 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: krzk+dt@kernel.org, palmer@dabbelt.com, robh+dt@kernel.org, linux-riscv@lists.infradead.org, Conor.Dooley@microchip.com Cc: Cyril.Jean@microchip.com, Daire.McNamara@microchip.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, palmer@rivosinc.com, arnd@arndb.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mail@conchuod.ie Subject: Re: [PATCH v3 5/8] riscv: dts: microchip: make the fabric dtsi board specific Date: Wed, 04 May 2022 09:11:47 +0200 Message-ID: <1814908.tdWV9SEqCh@diego> In-Reply-To: <872a2d30-89ad-b66a-7d03-90d3de85c51b@microchip.com> References: <20220501192557.2631936-1-mail@conchuod.ie> <1892011.PYKUYFuaPT@phil> <872a2d30-89ad-b66a-7d03-90d3de85c51b@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 Am Mittwoch, 4. Mai 2022, 08:48:24 CEST schrieb Conor.Dooley@microchip.com: > On 04/05/2022 00:47, Heiko Stuebner wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > > > Am Sonntag, 1. Mai 2022, 21:25:56 CEST schrieb Conor Dooley: > >> From: Conor Dooley > >> > >> Currently mpfs-fabric.dtsi is included by mpfs.dtsi - which is fine > >> currently since there is only one board with this SoC upstream. > >> > >> However if another board was added, it would include the fabric contents > >> of the Icicle Kit's reference design. To avoid this, rename > >> mpfs-fabric.dtsi to mpfs-icicle-kit-fabric.dtsi & include it in the dts > >> rather than mpfs.dtsi. > >> > >> Signed-off-by: Conor Dooley > >> --- > >> .../microchip/{mpfs-fabric.dtsi => mpfs-icicle-kit-fabric.dtsi} | 2 ++ > >> arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts | 1 + > >> arch/riscv/boot/dts/microchip/mpfs.dtsi | 1 - > >> 3 files changed, 3 insertions(+), 1 deletion(-) > >> rename arch/riscv/boot/dts/microchip/{mpfs-fabric.dtsi => mpfs-icicle-kit-fabric.dtsi} (91%) > >> > >> diff --git a/arch/riscv/boot/dts/microchip/mpfs-fabric.dtsi b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi > >> similarity index 91% > >> rename from arch/riscv/boot/dts/microchip/mpfs-fabric.dtsi > >> rename to arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi > >> index ccaac3371cf9..0d28858b83f2 100644 > >> --- a/arch/riscv/boot/dts/microchip/mpfs-fabric.dtsi > >> +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit-fabric.dtsi > >> @@ -2,6 +2,8 @@ > >> /* Copyright (c) 2020-2021 Microchip Technology Inc */ > >> > >> / { > >> + compatible = "microchip,mpfs-icicle-reference-rtlv2203", "microchip,mpfs"; > >> + > > > > I don't really understand the meaning of the added compatible yet. > > > I added it for informational purposes more than anything else. > The contents of this file match the 22.03 reference design for > the icicle kit's FPGA fabric & an older version of the design > may not have the i2c or pwm devices. that makes sense, thanks for the explanation :-) Reviewed-by: Heiko Stuebner > > It will get overridden by the compatible in the dts and also the > > fabric dtsi for the polarberry does not contain a similar thing. > > I did not add one for the polarberry b/c it has (to my knowledge) > no versioning scheme nor fabric peripherals in the design given > to customers. > > Thanks, > Conor. >