From patchwork Tue Jun 1 22:49:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 451439 Delivered-To: patch@linaro.org Received: by 2002:a02:c735:0:0:0:0:0 with SMTP id h21csp29189jao; Tue, 1 Jun 2021 15:49:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxB8dfBmWsa33SkIn1Sq48YrezOAdbeBRKVdp83n72B+DVTvJux56IADJYOj6jDGyHQZRcS X-Received: by 2002:a17:906:d967:: with SMTP id rp7mr16992922ejb.424.1622587759023; Tue, 01 Jun 2021 15:49:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622587759; cv=none; d=google.com; s=arc-20160816; b=QY6nFUJAapLSeGXT4GSuBx64yB6HB8RMX0VJs9e8B1RLi2W0TIpiREuvmbqwC9hojf POHJwjd+7T1zov9VKma0WMfg97gk2ibEL6VPYF5ENLgnIjoCGfSMatgjirm1+DGleD1f ea4rlCo1d3XGz1JyPiX3J2ssxJ8cP2M2Yuy4opXNvZ/ydgtB3UDceiGe9qW8xrTlwPlF pb51eWp5Qa6pwsHzU2veorjPKuLp2w/OifefElVhW6kANpcoiY5XIohkk1CwW42EhaXl Y2ws7yA9RvY0rF/YiLq+gA4DcJaW1F0DBMllt9JE2z12SqWn1s7/tQMh+kRyCojJsYQL 1eUQ== 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=vwaFk7IUmH4sLwnqA9GKiD+L0c+aAp563NQBPCUt+0w=; b=kZM5+86foZp23wN4l1zcvJDl4csc4lgHbwrb8xdkjcTaDvTRK8ygNA2Zge7tkrfvI2 QNSouPsOOq9qZDunE0vm7JjzZu8QqlkE8QlibphZx3KoSyYa+mgbbeC6LTBySGXZNHkZ z1ALG7zju9HcK+12vXdtZsseAIjC4AfI5bGZ2RQH8E6LJcbKEpfPlN/G8thrZHfwbDGJ 9XXMhAy3KJCYXK3W/IiOgPI+wtjrjbo/NoBUe4vNpuENfcA5ZrSh93LYdf3z30O6reA7 7lXPCtBM4FIx+/geelOYBmd0h71mfnCOPTwnNXkNuLGfJmkhA7L/rJ4mUInc3Mj6PqFs WElw== 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 w20si9934713ejb.430.2021.06.01.15.49.18; Tue, 01 Jun 2021 15:49:19 -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 S235007AbhFAWu6 (ORCPT + 7 others); Tue, 1 Jun 2021 18:50:58 -0400 Received: from foss.arm.com ([217.140.110.172]:59786 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234766AbhFAWu6 (ORCPT ); Tue, 1 Jun 2021 18:50:58 -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 5EE87143B; Tue, 1 Jun 2021 15:49:16 -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 931FD3F719; Tue, 1 Jun 2021 15:49:15 -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 v2 5/8] dt-bindings: mailbox : arm, mhu: Fix arm, scpi example used here Date: Tue, 1 Jun 2021 23:49:01 +0100 Message-Id: <20210601224904.917990-6-sudeep.holla@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210601224904.917990-1-sudeep.holla@arm.com> References: <20210601224904.917990-1-sudeep.holla@arm.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Once the arm,scpi binding is converted to YAML format, the following errors will be 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>; + }; }; };