From patchwork Fri Jun 4 20:57:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 454172 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp750810jae; Fri, 4 Jun 2021 13:57:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjWMUgT9uwOEDZEMqr6J+jf+1bVp7LPLmcz12t5vFjW1ShDmLe6po98iX6PY1mmL80NXkp X-Received: by 2002:a17:906:7b4f:: with SMTP id n15mr5928588ejo.220.1622840252849; Fri, 04 Jun 2021 13:57:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622840252; cv=none; d=google.com; s=arc-20160816; b=q5HUREm3DUxyHl7USxRCth0Crx2XfudQ2Oz59ThXocRE5a63YyIozSRSy0S7OBBxRm ND7nREm/2oFKTHR/9Gt9og/V0e/+hLUOzkTmgJU3KPCJHilxTy78u1h6R9JXl5T8BLPu ujE5GDYQwIiFXKI9my/le0o+TIpCAvKuefsrn/ztxc1CLENzhExSXWBYXIGbLPi5lwxv ZqIhTk3hS2JjMIMDriAjR6AG1HwwDQXTN7omTPI7+5r0PNQJyEZDcJykyD4HPQ7qRseM Z7dbsTjP0lOCpH6bCHFc/Ac+PdEm+pRI1mINa574SRKilfGGSjZ33px98uQXzTP3tpl+ sNCQ== 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 :message-id:date:subject:cc:to:from; bh=U4ZOXHBJrVIgLOcSH3JxsW14Jzb59cJDmaLkthPDR6E=; b=z8pxZ8Z6M21IWEq2E0VwYMu+GspGQkt3ur0+GmijwE6iSYX6ISjGNLtGZlnHZMtwyG BWrZBvxAnyoneJ0aS0wSeEj8izghvITjFF5qnkbBVQFB/nHFLseDqa0kRZGgc9vpJ58+ 57ZPNZlkoIi3EbyASXm9s5QnoWO39KwNVBl2G23fvH6q47wWv6hbE1HrttsWV9V+AEf5 jpr7NiqW4k9nqyIuLn/wQLbK76cheYDE8JaKKAAuUGDIvglO3HN8JHh6cvExAoXjHHSG MhkCZPdqjCN1LRrUAGSZwp61y9f1w2NWL5pJ55+sKVwb+vAzWJQ2eXfxHL91NX/5QEbN dZ7A== 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.32; Fri, 04 Jun 2021 13:57:32 -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 S230041AbhFDU7E (ORCPT + 7 others); Fri, 4 Jun 2021 16:59:04 -0400 Received: from foss.arm.com ([217.140.110.172]:48006 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229982AbhFDU7E (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 CE0AE2B; Fri, 4 Jun 2021 13:57: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 0C49D3F719; Fri, 4 Jun 2021 13:57: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 v3 0/6] dt-bindings: firmware: Convert SCPI and SCMI to json schema Date: Fri, 4 Jun 2021 21:57:04 +0100 Message-Id: <20210604205710.1944363-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Rob, Thanks for the continued review. I have fixed couple of example in arm,mhu schema, so at the end of this series 3 warnings must disappear :). Patch 1 and 5 can be squashed, I didn't want bot to flag more errors hence have kept it separate. Regards, Sudeep v2->v3: (mostly addressed all the review comments) - Dropped the 4 patches from v2 that are applied already. - Removed some of the connections in example as there are not really needed. - Fixed examples in arm,mhu and arm,mhuv2 - Moved SCMI protocol@ under properties with const reg values. - Removed numbering for sensors and power-domains and renamed power-domains to power-controller as expected. (need to fix juno-base.dtsi, will do that separately) - Added additionalProperties: false at all required places - Fixed SCPI clocks hierarchy. v1->v2: - Fixed wrongly used "arm,scpi-shmem" with correct "arm,scp-shmem" - Fixed support for "arm,scpi-pre-1.0" only - Added example for amlogic,meson-gxbb-scpi - Added regulator support, expanded all the protocol@* patters to mark #*-cells as required property Sudeep Holla (6): dt-bindings: mailbox : arm,mhu: Fix arm,scpi example used here dt-bindings: firmware: arm,scpi: Convert to json schema dt-bindings: firmware: amlogic,scpi: Convert to json schema dt-bindings: firmware: arm,scmi: Convert to json schema dt-bindings: mailbox : arm,mhu: Use examples with matching schema dt-bindings: mailbox : arm,mhuv2: Use example with matching schema .../devicetree/bindings/arm/amlogic,scpi.txt | 15 - .../devicetree/bindings/arm/arm,scmi.txt | 224 ------------ .../devicetree/bindings/arm/arm,scpi.txt | 204 ----------- .../bindings/firmware/arm,scmi.yaml | 338 ++++++++++++++++++ .../bindings/firmware/arm,scpi.yaml | 249 +++++++++++++ .../devicetree/bindings/mailbox/arm,mhu.yaml | 48 ++- .../bindings/mailbox/arm,mhuv2.yaml | 25 +- MAINTAINERS | 2 +- 8 files changed, 641 insertions(+), 464 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/amlogic,scpi.txt delete mode 100644 Documentation/devicetree/bindings/arm/arm,scmi.txt delete mode 100644 Documentation/devicetree/bindings/arm/arm,scpi.txt create mode 100644 Documentation/devicetree/bindings/firmware/arm,scmi.yaml create mode 100644 Documentation/devicetree/bindings/firmware/arm,scpi.yaml -- 2.25.1