From patchwork Fri Jun 4 20:57:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 454177 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp750854jae; Fri, 4 Jun 2021 13:57:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBiPY9QqQKWDWXmR1jzHwzOYuX0OERhvnt/eE4OeieIa++MweXUj8pDlgJ4ySkJXhngYGM X-Received: by 2002:a17:906:e10d:: with SMTP id gj13mr6017074ejb.150.1622840255675; Fri, 04 Jun 2021 13:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622840255; cv=none; d=google.com; s=arc-20160816; b=JIKSEMNF6LwGcyYFdskigZGQe1PdTBu4IWpkHBLO9G12Faz5rQxbtxDcDPTM2fqm8n KY4LAu2GaTNn2wVW/ygOG3FnahYNH8yvU179qUffMuyRq3k9JSXpCD2yv3T5XYO8kCyz jOipyY/3ZR/KwGoAa1o8IAJOSz4eNes8FnQPZoQg4vhcZx3uGtXqCQhw+0KMmmhsELlN 3v8bmltnwUrncANhOiEd3vQBcuwB11pWBRG41qZzGiqxY/yuZxX99/SU+FlIwPevkYWZ G83Y5dr3vN4sW8+j3zx+cSoljQ7EgKm9MLO8spEYtSIzw7CI9QbD0n3GHTpe2teNUOBK /cTg== 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=htKplSQmxyAU+kgVTA0DEVUO/eq20aYrTFQclOKOpB8=; b=ahij8EHbU8c9VymwxyGwS+D4AMwsysUEPhByhCKMpG3vjD7C3n+agZNsWKvEbYGbw9 EX/TP422VCLVAxRbhL4S1hBHbq67ljAJn2SAOa/qJXQ37bCgaFJHHZaToVCjNm/mAPTp G1qDbpp52bfpE+vkqBxo5sF2X2GNleGvx8WPi09OhHqIr5QRSWz4Pn+JhsFbMJWnFB4t rNl4EqTEDVPryHVObi7sDBKnobAdI2OzU0DncbNTB57tGmehBXhB4Ev2jvndmz8mY8fs 6zbqVzCo6xIlIW/xexgMcKYiFpx/caQI444fB1fupCb4hlMnHKySVCTL/mXBznyadohX djdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ho33si4947029ejc.1.2021.06.04.13.57.35; Fri, 04 Jun 2021 13:57:35 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231286AbhFDU7L (ORCPT + 7 others); Fri, 4 Jun 2021 16:59:11 -0400 Received: from foss.arm.com ([217.140.110.172]:48070 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230177AbhFDU7L (ORCPT ); Fri, 4 Jun 2021 16:59:11 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7612F1478; Fri, 4 Jun 2021 13:57:24 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8F7283F719; Fri, 4 Jun 2021 13:57:23 -0700 (PDT) From: Sudeep Holla To: devicetree@vger.kernel.org Cc: Sudeep Holla , linux-arm-kernel@lists.infradead.org, Rob Herring , Cristian Marussi , Viresh Kumar Subject: [PATCH v3 6/6] dt-bindings: mailbox : arm, mhuv2: Use example with matching schema Date: Fri, 4 Jun 2021 21:57:10 +0100 Message-Id: <20210604205710.1944363-7-sudeep.holla@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210604205710.1944363-1-sudeep.holla@arm.com> References: <20210604205710.1944363-1-sudeep.holla@arm.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Currently the example provided in arm,mhuv2 schema complains as below: Documentation/devicetree/bindings/mailbox/arm,mhuv2.example.dt.yaml :0:0: /example-0/soc/scb@2e000000: failed to match any schema with compatible: ['fujitsu,mb86s70-scb-1.0'] Fix it by using an example with a matching schema that makes use of 4 mailboxes that is well suited to demonstrate Rx and Tx channels with both doorbell and data transfer protocols. Cc: Rob Herring Cc: Viresh Kumar Signed-off-by: Sudeep Holla --- .../bindings/mailbox/arm,mhuv2.yaml | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) -- 2.25.1 diff --git a/Documentation/devicetree/bindings/mailbox/arm,mhuv2.yaml b/Documentation/devicetree/bindings/mailbox/arm,mhuv2.yaml index 6608545ea66f..a4f1fe63659a 100644 --- a/Documentation/devicetree/bindings/mailbox/arm,mhuv2.yaml +++ b/Documentation/devicetree/bindings/mailbox/arm,mhuv2.yaml @@ -192,18 +192,17 @@ additionalProperties: false arm,mhuv2-protocols = <1 1>, <1 7>, <0 2>; }; - mhu_client: scb@2e000000 { - compatible = "fujitsu,mb86s70-scb-1.0"; - reg = <0 0x2e000000 0 0x4000>; - - mboxes = - //data-transfer protocol with 5 windows, mhu-tx - <&mhu_tx 2 0>, - //data-transfer protocol with 7 windows, mhu-tx - <&mhu_tx 3 0>, - //doorbell protocol channel 4, doorbell 27, mhu-tx - <&mhu_tx 4 27>, - //data-transfer protocol with 1 window, mhu-rx - <&mhu_rx 0 0>; + mhu_client: dsp@596e8000 { + compatible = "fsl,imx8qxp-dsp"; + reg = <0 0x596e8000 0 0x88000>; + clocks = <&adma_lpcg 0>, <&adma_lpcg 1>, <&adma_lpcg 2>; + clock-names = "ipg", "ocram", "core"; + power-domains = <&pd 0>, <&pd 1>, <&pd 2>, <&pd 3>; + mbox-names = "txdb0", "txdb1", "rxdb0", "rxdb1"; + mboxes = <&mhu_tx 2 0>, //data-transfer protocol with 5 windows, mhu-tx + <&mhu_tx 3 0>, //data-transfer protocol with 7 windows, mhu-tx + <&mhu_rx 2 27>, //doorbell protocol channel 2, doorbell 27, mhu-rx + <&mhu_rx 0 0>; //data-transfer protocol with 1 window, mhu-rx + memory-region = <&dsp_reserved>; }; };