From patchwork Wed May 26 18:28:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 448217 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5476337jac; Wed, 26 May 2021 11:28:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwj8dW7J+Jgrw8I2JB1dPY6txV1NQ21kKO0BAIun9YuNWjdFm3nq90KQ2xN1lvvgMvge16q X-Received: by 2002:a05:6e02:1bae:: with SMTP id n14mr30076376ili.129.1622053703507; Wed, 26 May 2021 11:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622053703; cv=none; d=google.com; s=arc-20160816; b=JbYTHLWlGnuCEeQbadv5fy4fG+1jR4PA+PBs/XGYX30q2i4MQVGUo5ge0I5MBvboIn VXZIvmdIqUjKshqOnyzhnacz+WbmfbgcjAVaLDuVXB9jKvhnoAZtUSJdFzIpqxbg63tD 80BRKzviIoSLPLOwm7anv+oMC86N5iEDQoLjEBZ4nCiO2hf91DMdKlethAjENAOj/aSU ye3W6JLTey4PUjOtvosPqOpJiDgJFIpIYpe8RmiXKCWQND3eLG1e49gPaVT850CrmeA7 TMOFOWLBRtnCCQlyLW6sbxe4x+yFVKYDz4zZZjEO28C3U7qXc41xh5UPBmThsUw3LZAE EEdg== 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=PUSozmQlnSgWGUGxr365XVYLhNHnb5b5uTwuweNtNyg=; b=MrViYyzIzCkAeHmbkmkPLYeHmWrxwTSSp+7SGSE9l9FKt4yxkGCbkYKFubxM8abWEi ydFg9H0BjWQbG6z64GKhl1TxzPUr8eF90mQjhWkWKjL9z8rnzsPyfdKlll6yTuliWQrD z2p/r9nNe1+Ick9hiveEqGmTWcH2jOEvVWFiw43uAPQwPltRE+PH/nTXS2S8DrPNUpYi +bhnbV0uEZ/gADRKxNjPnu4qOsRcWk3tEE8/zb6Pu3mvM+HY6Y6NRpBL4eZUKDgBlXou ZYtVu7u+tsZiPfmCWAYGuH0Qdt52q+JgyRW+631lovbr1ZxNmeGyQpes74/n10SaGWma 2j5Q== 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 n12si99222jat.1.2021.05.26.11.28.23; Wed, 26 May 2021 11:28:23 -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 S235513AbhEZS3y (ORCPT + 7 others); Wed, 26 May 2021 14:29:54 -0400 Received: from foss.arm.com ([217.140.110.172]:48524 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232262AbhEZS3x (ORCPT ); Wed, 26 May 2021 14:29:53 -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 759991477; Wed, 26 May 2021 11:28:21 -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 A721A3F73B; Wed, 26 May 2021 11:28:20 -0700 (PDT) From: Sudeep Holla To: devicetree@vger.kernel.org Cc: Sudeep Holla , linux-arm-kernel@lists.infradead.org, Rob Herring , Cristian Marussi Subject: [PATCH 6/8] dt-bindings: mailbox : arm, mhu: Fix arm, scpi example used here Date: Wed, 26 May 2021 19:28:05 +0100 Message-Id: <20210526182807.548118-7-sudeep.holla@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210526182807.548118-1-sudeep.holla@arm.com> References: <20210526182807.548118-1-sudeep.holla@arm.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Now that the arm,scpi binding is converted to YAML format, the following errors are seen when doing `make DT_CHECKER_FLAGS=-m dt_binding_check` >From schema: Documentation/devicetree/bindings/firmware/arm,scpi.yaml Documentation/devicetree/bindings/mailbox/arm,mhu.example.dt.yaml: scpi@2f000000: $nodename:0: 'scpi' was expected Documentation/devicetree/bindings/mailbox/arm,mhu.example.dt.yaml: scpi@2f000000: reg: [[0, 788529152, 0, 512]] is not of type 'object' Documentation/devicetree/bindings/mailbox/arm,mhu.example.dt.yaml: scpi@2f000000: 'shmem' is a required property Fix those error following the SCPI bindings. Cc: Rob Herring Cc: Viresh Kumar --- Documentation/devicetree/bindings/mailbox/arm,mhu.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/Documentation/devicetree/bindings/mailbox/arm,mhu.yaml b/Documentation/devicetree/bindings/mailbox/arm,mhu.yaml index d07eb00b97c8..bfdc3e33565e 100644 --- a/Documentation/devicetree/bindings/mailbox/arm,mhu.yaml +++ b/Documentation/devicetree/bindings/mailbox/arm,mhu.yaml @@ -126,9 +126,15 @@ additionalProperties: false clock-names = "apb_pclk"; }; - mhu_client_scpi: scpi@2f000000 { + scpi { compatible = "arm,scpi"; - reg = <0 0x2f000000 0 0x200>; mboxes = <&mhuB 1 4>; /* HP-NonSecure, 5th doorbell */ + shmem = <&cpu_scp_hpri>; /* HP-NonSecure */ + + scpi_devpd: power-domains-0 { + compatible = "arm,scpi-power-domains"; + num-domains = <2>; + #power-domain-cells = <1>; + }; }; };