Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B46D7C433EF for ; Thu, 17 Feb 2022 23:25:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uFbFTQomLbwgxbcVAYBHKSDDsEhcKcOOrYPyzy5Ac1A=; b=Oxx1PFsU/mHh6b iCXydBf6vpjyOPb5KAgnCve6YM6s7152UxrFcQ2U8SUhGzjjuVHcaCyCHDj1l7D42x8Q6zqv0KfEp mv5qsi5tREr9oqVobKdEPAeihfakKCvchtyDwOn8hgTFPn4Qt5G8alOBwrXtrwvqhy/bF1Ve1pNiv Mi4sZKYkrb5GW+JnP+6VzYvGjVmt5r25p7HPooQHcA5Rg+YjnTAvWsJRb8C3Glz4yPb/QfZ1+kFti aoy/mnh5HT2o+1O+SLYV2D0f+MpDfk6kYK2Sgn+oAau1zCWfDVqcjkxdMW6j3drsE07SDU6YQl2Wu vnuN6HbaW7RwomKVWfLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKq85-00CR4N-L0; Thu, 17 Feb 2022 23:24:05 +0000 Received: from mail-il1-f173.google.com ([209.85.166.173]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKq82-00CR3y-9B for linux-arm-kernel@lists.infradead.org; Thu, 17 Feb 2022 23:24:03 +0000 Received: by mail-il1-f173.google.com with SMTP id f13so3432138ilq.5 for ; Thu, 17 Feb 2022 15:24:01 -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=SoRwOTnJQj6kK0mSNjv2umu6XpU3nx+Y+EN/LPgrWOM=; b=F8HsumyfmKuhfpx9RGZVPcSaVz5IwmaM+MhnZ+kyqe7+glHELsDSEaAss/HoeJFi/x +TvTaX3reFQamHglwCaja5wIwlN3u6USiWft9K3YtWr6pCcv+9F8BVvx10JqzXgwkLtv DXLLxrOiKoOFZN6//Vl5omaKzAM5uG9k+xMyfl2jYml35SfwSh/KiB+fXcuhibqLIhMt pg+cwNPbiaKnimbVCWFDCqed5/u7bFMy2OGJHm7WItEXW2cX0wXUQPrBTdyDaEwhcE87 KZdUhCmRMQWVK11gqeF644TMlGSc/z0jOb7Q2T6UgZDYBsakpOVpp58kbCo6el9ORwyN Az4w== X-Gm-Message-State: AOAM533f4nDIpJoh+tAJQRn3jKJszRDlR9uwAs52E/mGYRHCU/vGgcqa n8yt1BKLvpfZhFIK+hYMd7G646v4+g== X-Google-Smtp-Source: ABdhPJw/kmEhnBfh2GFirjwVXPImHpsMauK1etqmp7WpKmzDJ+NCY4z+VfpN7NxiRwz0dTmGV2nSkw== X-Received: by 2002:a92:c610:0:b0:2bf:b493:3425 with SMTP id p16-20020a92c610000000b002bfb4933425mr3441704ilm.166.1645140240853; Thu, 17 Feb 2022 15:24:00 -0800 (PST) Received: from robh.at.kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id r13sm2810676ilb.35.2022.02.17.15.23.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 15:24:00 -0800 (PST) Received: (nullmailer pid 3964338 invoked by uid 1000); Thu, 17 Feb 2022 23:23:58 -0000 Date: Thu, 17 Feb 2022 17:23:58 -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 V3 2/5] dt-bindings: mailbox: imx-mu: add i.MX93 S4 MU support Message-ID: References: <20220211060301.1852772-1-peng.fan@oss.nxp.com> <20220211060301.1852772-3-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220211060301.1852772-3-peng.fan@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220217_152402_344533_B2DC00CF X-CRM114-Status: GOOD ( 15.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Feb 11, 2022 at 02:02:58PM +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 | 21 +++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml > index 6d056d5e16bf..f0a7e693ebf8 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 > @@ -57,6 +58,12 @@ properties: > interrupts: > maxItems: 1 > > + interrupt-names: > + minItems: 1 > + items: > + - const: txirq > + - const: rxirq 'irq' is redundant. Drop. > + > "#mbox-cells": > description: | > <&phandle type channel> > @@ -90,6 +97,20 @@ required: > - interrupts > - "#mbox-cells" > > +allOf: > + - if: > + properties: > + compatible: > + enum: > + - fsl,imx93-mu-s4 > + then: > + properties: > + interrupt-names: > + minItems: 2 > + maxItems: 2 minItems is enough. > + interrupts: > + maxItems: 2 You haven't tested this with 2 items. It will fail because the main section has a limit of 1 item. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel