Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1042104pxb; Wed, 6 Apr 2022 07:21:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvYtbSNmezv56TP1tTPiNxrW3uThzStzIaI7/Y27jIefMS48I7IvSAogvhd36KvfFVFPTm X-Received: by 2002:a63:5013:0:b0:399:5816:fd0d with SMTP id e19-20020a635013000000b003995816fd0dmr7324965pgb.68.1649254890094; Wed, 06 Apr 2022 07:21:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649254890; cv=none; d=google.com; s=arc-20160816; b=Ka2ft2vLCjRplqRqr5riVg9uMtaOail4UJL4Wgr5O7mVI6fZogIsbs35kMk8UhVmZR YUTAEaiNWLpdsGBvMDgsEV/R264iLRpde8AE9CUrpzDmYC9C0dQSIbqh05BIfxv3HgDF JeNYz94dlZN7IyTb6xawd95zmLDagro1UCSUNa0ld2xnjP41SeMlwzyFRJxjI1sPoY9G rZj5ii+SYgQxsZCeE1xyrMlX443I+BVDaWU8pHIJOb96POWqSGl7MWFxceC1yPwRcjXB /8D0IwwUqgOSbgpr+sFX8b4ATsc7CZVvRmIiDVB17B0CQna9veWtfPw2Hx+txbBpYaE9 eYzQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ICa/IWH+ehfp9epJCcXxHXliKVHkWaAEwWXDaXCfBEs=; b=rvG6pt1Bb3ZR0EE8uYCD/gwJl964GPR3SVJCgCUybjGBtPRu+FY3XxSKyV20IVOukw PphLWZ8sM0OH5mmCxp4FiIOrma7M6K3ucD3QTP5rsFaShkaH0uFUTvzQPeBGNDJZjoyF hGr3tgv6J06vT6c/szzu+lm7b4qbhUyT2u6ze5uFtun8k+kHVCSjCbDOdmKrfEwEhdHL Nlc4jy+tBpxBFANaOS86ugJmJiKWeGRd+z1cGZElordXqHuBwgoYTC5JnIyscdDb5za6 rlEXJoJTTPDNsKmz4uUPi2WZxqsDvACRZ14TWaUtTQYL/ii8K/xegVyawvrgIUtHmhEG iG4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Xo3xLn4K; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id a38-20020a056a001d2600b004fdeb623920si11972845pfx.171.2022.04.06.07.21.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 07:21:30 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Xo3xLn4K; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 072D5279302; Wed, 6 Apr 2022 05:06:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229902AbiDFLtI (ORCPT + 99 others); Wed, 6 Apr 2022 07:49:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229911AbiDFLsi (ORCPT ); Wed, 6 Apr 2022 07:48:38 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9A945A1C9E; Wed, 6 Apr 2022 01:40:37 -0700 (PDT) Received: from pendragon.ideasonboard.com (117.145-247-81.adsl-dyn.isp.belgacom.be [81.247.145.117]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 12D00482; Wed, 6 Apr 2022 10:40:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1649234436; bh=81bA4B1fv1s0Zy6Ey/vfR4zUq7LStfbbNy+qsp4lTpk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Xo3xLn4K56FonZN30OlKTFutA2r3s4YXNx1z0yyIV/1CMncfjjO+DjvZg9Z2+57b6 bhAyj1irTo1TgzWXWrC47x/JvNGbbqP7ktaMlnw84/J88N4MAI5pprKagEAzHPUxR6 i/LBzjZy6WBegyKt12lzSTisO2hCU4GSNfN1xF3w= Date: Wed, 6 Apr 2022 11:40:32 +0300 From: Laurent Pinchart To: "Peng Fan (OSS)" Cc: djakov@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, l.stach@pengutronix.de, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: Re: [PATCH 1/5] dt-bindings: interconnect: imx8m: Add bindings for imx8mp noc Message-ID: References: <20220406082330.2681591-1-peng.fan@oss.nxp.com> <20220406082330.2681591-2-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220406082330.2681591-2-peng.fan@oss.nxp.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Peng, Thank you for the patch. On Wed, Apr 06, 2022 at 04:23:26PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > i.MX8MP features same NoC/NIC as i.MX8MM/N/Q, and use two compatible > strings. > > Signed-off-by: Peng Fan > --- > .../devicetree/bindings/interconnect/fsl,imx8m-noc.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/interconnect/fsl,imx8m-noc.yaml b/Documentation/devicetree/bindings/interconnect/fsl,imx8m-noc.yaml > index b8204ed22dd5..0923cd28d6c6 100644 > --- a/Documentation/devicetree/bindings/interconnect/fsl,imx8m-noc.yaml > +++ b/Documentation/devicetree/bindings/interconnect/fsl,imx8m-noc.yaml > @@ -26,16 +26,22 @@ properties: > oneOf: > - items: > - enum: > + - fsl,imx8mp-nic > - fsl,imx8mn-nic > - fsl,imx8mm-nic > - fsl,imx8mq-nic Alphabetical order would be nice here, maybe you could sort those entries while at it ? > - const: fsl,imx8m-nic Why do we need both -nic and -noc versions of the compatible string btw ? The imx-bus driver matches on { .compatible = "fsl,imx8mq-noc", .data = "imx8mq-interconnect", }, { .compatible = "fsl,imx8mm-noc", .data = "imx8mm-interconnect", }, { .compatible = "fsl,imx8mn-noc", .data = "imx8mn-interconnect", }, { .compatible = "fsl,imx8m-noc", }, { .compatible = "fsl,imx8m-nic", }, > - items: > - enum: > + - fsl,imx8mp-noc > - fsl,imx8mn-noc > - fsl,imx8mm-noc > - fsl,imx8mq-noc Same here. > - const: fsl,imx8m-noc > + - items: > + - const: fsl,imx8mp-noc > + - const: fsl,imx8m-noc > + - const: syscon Do we want to support both compatible = "fsl,imx8mp-noc", "fsl,imx8m-noc"; and compatible = "fsl,imx8mp-noc", "fsl,imx8m-noc", "syscon"; or we can pick one of the two (the latter one in that case I suppose) ? > - const: fsl,imx8m-nic > > reg: -- Regards, Laurent Pinchart