From patchwork Tue Jun 1 22:48:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 12292389 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FA6DC47080 for ; Tue, 1 Jun 2021 22:51:04 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E02F2613AD for ; Tue, 1 Jun 2021 22:51:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E02F2613AD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XCQIIq+XRrTKIEgtUEcPKNkcSlRcPRFsUoKzPEggPQc=; b=GgrKw8t6pd1A04 S8hcHWzSfpnDAncO2ArH+7F6iMlqPrvdoXdfdpPrKyKulE9i40cMVTjpIERRbnqOWl7rYIHf5Ead0 y0bftCtWacbKwIjnheIE275cJym3vC29xOi1x9XsJcljt5CfGvnGVhxxQBlJQvXO8c1ufwtqVY/ym Pw1zeVzqCkM4242Tp7epVUgOYklqZl/ToDxZw/JnUpZC8ZRQVTAKBq+YJHZDaZra8m5hTZXgYRXtB /9rqz4s0/G9WJ7KaEnu/RsS12tkWdsCy5Yw1D2JisEsRKmGlCq5HuxaGGsCdia/FDKMWgkkjcXOGW xb4LZWttDqVop0NtRd7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1loDCr-0015ek-6q; Tue, 01 Jun 2021 22:49:53 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1loDCG-0015U5-Nj for linux-arm-kernel@lists.infradead.org; Tue, 01 Jun 2021 22:49:21 +0000 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 A2BA96D; Tue, 1 Jun 2021 15:49:10 -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 D35F73F719; Tue, 1 Jun 2021 15:49:09 -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 0/8] dt-bindings: firmware: Convert SCPI and SCMI to json schema Date: Tue, 1 Jun 2021 23:48:56 +0100 Message-Id: <20210601224904.917990-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210601_154916_854094_3A1103D0 X-CRM114-Status: GOOD ( 12.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Rob, Thanks for the review of v1. I managed to add regulator support. Exploiting the explicit pattern, I have used protocol@*, to make #*-cells as required. Lots of repeated schema except the #*-cells, not sure if there is any better way to collapse or take the common out. Regards, Sudeep 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 (8): dt-bindings: firmware: arm,scpi: Move arm,scp-shmem to json schema dt-bindings: firmware: arm,scmi: Move arm,scmi-shmem to json schema dt-bindings: firmware: juno,scpi: Move to sram.yaml json schema dt-bindings: firmware: amlogic,scpi: Move arm,scpi-shmem to json schema 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 .../devicetree/bindings/arm/amlogic,scpi.txt | 27 - .../devicetree/bindings/arm/arm,scmi.txt | 239 --------- .../devicetree/bindings/arm/arm,scpi.txt | 219 -------- .../devicetree/bindings/arm/juno,scpi.txt | 26 - .../bindings/firmware/arm,scmi.yaml | 474 ++++++++++++++++++ .../bindings/firmware/arm,scpi.yaml | 317 ++++++++++++ .../devicetree/bindings/mailbox/arm,mhu.yaml | 10 +- .../devicetree/bindings/sram/sram.yaml | 5 + MAINTAINERS | 2 +- 9 files changed, 805 insertions(+), 514 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 delete mode 100644 Documentation/devicetree/bindings/arm/juno,scpi.txt create mode 100644 Documentation/devicetree/bindings/firmware/arm,scmi.yaml create mode 100644 Documentation/devicetree/bindings/firmware/arm,scpi.yaml