From patchwork Fri Jun 4 20:57: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: 454171 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp750815jae; Fri, 4 Jun 2021 13:57:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziipuUyzQE+ePbxRsX4zxklTSFSoMjLc9HTevkHi/nCy0V8fcKe+d6/6SFmALm6c+Ll3kE X-Received: by 2002:a05:6402:311c:: with SMTP id dc28mr6750236edb.291.1622840253196; Fri, 04 Jun 2021 13:57:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622840253; cv=none; d=google.com; s=arc-20160816; b=MyuFZy8mkuIsY0BzFSqkDgt3WvV1c8MVH74Q/07MGwXFwSeNh/pMscdyMan+G1y5rK Xa3uzm5r2Y6Cagc9Na7htvmEBATfJgfQ8n4SIOAnkLnYEW0OEDXVT07DVI6qUvq6peVz K4fVQcqslc5m/s9iWLEkVEk0MqhaCrwEmpPb2+UXoHmvpKzm0vhv+G4fpBtxanm0gzkd N1k//BQjj0I+Tr4csIQ3eMAX8PWst6a5SovxV1o2h5iMzN5Apf6pPvxePa36G1eJRiAw AUpH3u1TbaLF9Zgd9XQEEmSW+rMA1oXxP7OTpYlwtSOYm4rb0ciMCYZg9s0PcVoDuFtD ZOlQ== 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=O2TaGQeY2TCbVCfmhem/hAZbP/bo6axQne6K+adcdKo=; b=oG/dQxVCdIP6ee/0GK+bkzTg8QOuqX/mhZViXG5CmrKlu5aLFaxNMvFqvNylkbek0l gCINSNz/a4G4xKiU7tlnONQVHRGrxOh4SnUQ+p41c67Hwsmx0QYyZco+Hhumf+Efvcrb pB4lHd7i0Q+YOYcl0NjshPLSQ8oY40Jb/vummj1tgP5SL0SlPNl/3yz446Cm7JW+3Gta G7ileN6qzyQb5zT2JsrXbTD6zskQH3KKl5JjBtcPtcjvunFPTHbmkt4rhVKebUYEF7Kd 38cQjzcPxCKbH7zoowPm7JZdFVQ1nRuBo6orJiRE+zGThrw9FT2PxitZEUVNJb9iLdKr tHTA== 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.33; Fri, 04 Jun 2021 13:57:33 -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 S229982AbhFDU7F (ORCPT + 7 others); Fri, 4 Jun 2021 16:59:05 -0400 Received: from foss.arm.com ([217.140.110.172]:48014 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230177AbhFDU7E (ORCPT ); Fri, 4 Jun 2021 16:59:04 -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 E731412FC; Fri, 4 Jun 2021 13:57:17 -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 0BA873F719; Fri, 4 Jun 2021 13:57:16 -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 1/6] dt-bindings: mailbox : arm, mhu: Fix arm, scpi example used here Date: Fri, 4 Jun 2021 21:57:05 +0100 Message-Id: <20210604205710.1944363-2-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 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 Signed-off-by: Sudeep Holla --- 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..496308d91a86 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-controller { + compatible = "arm,scpi-power-domains"; + num-domains = <2>; + #power-domain-cells = <1>; + }; }; };