Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1995339pxm; Thu, 24 Feb 2022 13:53:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqcb4g5IUA84QIEOMjBVFWxQMz5De1+SKs9MVEnabiDegyYTr5Wc1HOo6qUTo14+mW8H5P X-Received: by 2002:a05:6402:177b:b0:413:2822:1705 with SMTP id da27-20020a056402177b00b0041328221705mr4268142edb.270.1645739604496; Thu, 24 Feb 2022 13:53:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645739604; cv=none; d=google.com; s=arc-20160816; b=QjjhBbfXs0o602xRZrnbF+0roqf3BU1vaiG8uJEE1iTZf95NuQgoLfPvXQxJTji4VF 3fJ7dsEOxEcBTN8Xr2DRGgwWv13/MphAaFD4KleUPBGzB3wzpg7FboBXnyWS+4Vm6MR0 bD2oeMQbvsBPmyxqmA1R2bESe5v1X7OwG7v64bthxUE1CUCVqXOJ2R+1sTXR9zaCBPDi UrTWOGK0OclVGF1Zh4i6arKEx2QGqoqPwf6VIaqLNLwRFT3jU7sI7BNcRFaRHJyQ5Hj0 MsxqYxhow7L5/rWVZ5kA3wacjVz62oY+b2mHbTlo34GT9DHl1AMETHvl1djsWkPVyq2l 6dVA== 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; bh=9vXsvKJlW7AxtBGaO+YUrlsDVwA2t7tuHb+ZPnQHnEo=; b=YHdGf4j5S7z9HC2+E6CADzrm9CnRLhhn737LbgOpFG3p1NuXxa3qg8/AaqLOVj1wjx zgPhiz9tvPOtw2QPP/mxQEa9r3Zf30x9f+OkHghgekAuwajaOFCFub7xlNVzlpX9flaJ PNFJG9NcFnS1LIdPNHQKNe0cDA6Qq4nWqT9Egwz/YaO5xYiYXMRdEdWS+5vPSX7/CYSp utIxc1pgxRz8TSEDUrf+XRY/Gxd0cEhBYluqOhl7QxyUhnDw3THaVPcOGhaJd5o0Cihs glu5Dk/0QW/nBcOigTuQx1YPnanh9/LWPnoykGPgyYfc9DYZrM5sxM0nK9lxlT9tOuq/ rQkw== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kd1-20020a17090798c100b006d10a678129si386109ejc.155.2022.02.24.13.53.01; Thu, 24 Feb 2022 13:53:24 -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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233705AbiBXTXi (ORCPT + 99 others); Thu, 24 Feb 2022 14:23:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232351AbiBXTXg (ORCPT ); Thu, 24 Feb 2022 14:23:36 -0500 Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A13C420B16E; Thu, 24 Feb 2022 11:23:05 -0800 (PST) Received: by mail-oi1-f173.google.com with SMTP id 12so4351727oix.12; Thu, 24 Feb 2022 11:23:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=9vXsvKJlW7AxtBGaO+YUrlsDVwA2t7tuHb+ZPnQHnEo=; b=lAG4qt7sf0vmmmGz0f75kNpOhl9lzOOFYRILikP76o15PUuGvgQNsr1tvOKp8DtygD y5L+CV5nOQqnklw3cUDLhsEgJsll2YER4iS9e6orMW6HQnHzSJSvj5deEaQmzRBrvx2p qeOA+DODZAQRwEMc6kOiwasxu3lv0myk69ZghJB6rX1OX19cLHPdcWwD5F9UqNX5XIOd Qf1L7mAq23j77F1rkECD5ufEZayTeO8rWoeJFqe0YlmIjFEUVRT+DJTNuAteJZjpVNJO yueV5cyLXKMuKWNKUun6VSniDugwJl3mNlyt3NuQeBdVDI3N0TquzRiGDdTm6tl6Wc3m dkDg== X-Gm-Message-State: AOAM530jOm0d9cNEjoAEKerjU+UbbcRTvSqcHPiOoCKgyQI0x16ClYDx zCOFYbpN6n4swdblKy2aNA== X-Received: by 2002:a05:6870:1b0f:b0:b4:10eb:c070 with SMTP id hl15-20020a0568701b0f00b000b410ebc070mr1908975oab.161.1645730584925; Thu, 24 Feb 2022 11:23:04 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id bc24-20020a056808171800b002d722aead50sm176027oib.27.2022.02.24.11.23.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 11:23:03 -0800 (PST) Received: (nullmailer pid 3438427 invoked by uid 1000); Thu, 24 Feb 2022 19:23:02 -0000 Date: Thu, 24 Feb 2022 13:23:02 -0600 From: Rob Herring To: "Peng Fan (OSS)" Cc: jassisinghbrar@gmail.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, krzysztof.kozlowski@canonical.com, daniel.baluta@nxp.com, Peng Fan Subject: Re: [PATCH V4 2/5] dt-bindings: mailbox: imx-mu: add i.MX93 S4 MU support Message-ID: References: <20220223023157.3478540-1-peng.fan@oss.nxp.com> <20220223023157.3478540-3-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220223023157.3478540-3-peng.fan@oss.nxp.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,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 On Wed, Feb 23, 2022 at 10:31:54AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > Similar to i.MX8ULP S4 MU, i.MX93 MU is dedicated for communication > between Sentinel and Cortex-A cores from hardware design, it could not be > reused for other purpose. > > However i.MX93 S4 MU use separate tx/rx interrupt, so update > interrupts and add interrupt-names property. > > Reviewed-by: Krzysztof Kozlowski > Signed-off-by: Peng Fan > --- > .../devicetree/bindings/mailbox/fsl,mu.yaml | 27 ++++++++++++++++++- > 1 file changed, 26 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml > index 6d056d5e16bf..f5f9d501845d 100644 > --- a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml > +++ b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml > @@ -29,6 +29,7 @@ properties: > - const: fsl,imx8ulp-mu > - const: fsl,imx8-mu-scu > - const: fsl,imx8-mu-seco > + - const: fsl,imx93-mu-s4 > - const: fsl,imx8ulp-mu-s4 > - items: > - const: fsl,imx93-mu > @@ -55,7 +56,13 @@ properties: > maxItems: 1 > > interrupts: > - maxItems: 1 > + minItems: 1 I still don't think you tested this with 2 items. You need minItems and maxItems. > + > + interrupt-names: > + minItems: 1 > + items: > + - const: tx > + - const: rx > > "#mbox-cells": > description: | > @@ -90,6 +97,24 @@ required: > - interrupts > - "#mbox-cells" > > +allOf: > + - if: > + properties: > + compatible: > + enum: > + - fsl,imx93-mu-s4 > + then: > + properties: > + interrupt-names: > + minItems: 2 > + interrupts: > + maxItems: 2 s/maxItems/minItems/ > + > + else: > + properties: > + interrupts: > + maxItems: 1 > + > additionalProperties: false > > examples: > -- > 2.25.1 > >