From patchwork Wed May 26 18:28:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 448218 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5476342jac; Wed, 26 May 2021 11:28:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4Ol7uXOGZRgtJyA2XWW0GpGqId+qokI08h8y1UTn6ONjXvCG2EQL3hIzX+vPWqCHHwEqJ X-Received: by 2002:a02:6d6c:: with SMTP id e44mr4457365jaf.81.1622053704036; Wed, 26 May 2021 11:28:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622053704; cv=none; d=google.com; s=arc-20160816; b=Uuhb1p42sE8S/sUIeIO7yyKYSsUWmdjDxsp9iYa1WLt0ysEDNePnrsZqQ9dlnEDkeg wpLE8wWa7Coqv+Ib6hgioikHVGq/JcJLTrA+Ckelj0Wmkda7MqPxHgi+YDCNLe+g88ra r0CZJMtrWH/9G+wXO2+UuhM289h+DMNyTXvh0ygNVWg3R3upUvTk+qAMmTRy5FoUnSW8 gpQoUX3BMmv2bQTa4QRjrIXx056ZeX4L/bzDKmzLIrCg/s6J4V6cfVSdJZV4ZWfPNH2i Gk1MoqcCjGapFApmzQ7OjoOX4zX02qLmQB8m58/hYGSVsYf3QEYQqimXPZrqAFSzMajX afDA== 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=ubVc8djZj9EfplbDRjgRePaW9aeIXSLeC7/pNj5AIfs=; b=YhlZgNhjebVh9XVKxnC2s4faDaASVml7FE6BcpIPSx7+GR6EyyC13OQ+ZA/NxydlIQ JxDYy0dFLHHpE1ZrtZNznzee2zcHHUVqYq6FXUz7ejh+H8g1eDbgysXdubqo0wjoztid 9OzpnXLOhCcWNwTtoHezxVWjSiNvLGFMbxrSn0I0wzkRr2Qeg95/SlXVRr6K+p6ll10a jXnhm0sfaO5UZSnanLe0Z4X1IQuDsnaAX1YYh/Cu/jEdg/z7A9LRuKg8ItYzuoRwX7PN BQ2Lg/ZMC1VxTNf9+f15dD0yMwGKdKYoYWe8trLWrDao7Ws/z21vJT44yzA7e9okjVz+ AP6A== 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:24 -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 S235506AbhEZS3y (ORCPT + 7 others); Wed, 26 May 2021 14:29:54 -0400 Received: from foss.arm.com ([217.140.110.172]:48530 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232262AbhEZS3y (ORCPT ); Wed, 26 May 2021 14:29:54 -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 C4D9D13A1; Wed, 26 May 2021 11:28:22 -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 A59933F73B; Wed, 26 May 2021 11:28:21 -0700 (PDT) From: Sudeep Holla To: devicetree@vger.kernel.org Cc: Sudeep Holla , linux-arm-kernel@lists.infradead.org, Rob Herring , Cristian Marussi , Kevin Hilman , Neil Armstrong , Jerome Brunet Subject: [PATCH 7/8] dt-bindings: firmware: amlogic, scpi: Convert to json schema Date: Wed, 26 May 2021 19:28:06 +0100 Message-Id: <20210526182807.548118-8-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 Convert/merge the existing text format SCPI binding additions for amlogic,scpi into the common arm,scpi json scheme. Couple of things to note: "amlogic,meson-gxbb-scpi" is always used with "arm,scpi-pre-1.0" hence no need for separate "arm,scpi-pre-1.0" standalone entry and "amlogic,meson-gxbb-scpi-sensors" is used always with "arm,scpi-sensors" Cc: Rob Herring Cc: Kevin Hilman Cc: Neil Armstrong Cc: Jerome Brunet Signed-off-by: Sudeep Holla --- .../devicetree/bindings/arm/amlogic,scpi.txt | 15 --------------- .../devicetree/bindings/firmware/arm,scpi.yaml | 4 ++++ 2 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/amlogic,scpi.txt -- 2.25.1 diff --git a/Documentation/devicetree/bindings/arm/amlogic,scpi.txt b/Documentation/devicetree/bindings/arm/amlogic,scpi.txt deleted file mode 100644 index ebfe302fb747..000000000000 --- a/Documentation/devicetree/bindings/arm/amlogic,scpi.txt +++ /dev/null @@ -1,15 +0,0 @@ -System Control and Power Interface (SCPI) Message Protocol -(in addition to the standard binding in [0]) ----------------------------------------------------------- -Required properties - -- compatible : should be "amlogic,meson-gxbb-scpi" - -Sensor bindings for the sensors based on SCPI Message Protocol --------------------------------------------------------------- -SCPI provides an API to access the various sensors on the SoC. - -Required properties: -- compatible : should be "amlogic,meson-gxbb-scpi-sensors". - -[0] Documentation/devicetree/bindings/arm/arm,scpi.txt diff --git a/Documentation/devicetree/bindings/firmware/arm,scpi.yaml b/Documentation/devicetree/bindings/firmware/arm,scpi.yaml index 9c115e9c1536..d1179a4ea4e9 100644 --- a/Documentation/devicetree/bindings/firmware/arm,scpi.yaml +++ b/Documentation/devicetree/bindings/firmware/arm,scpi.yaml @@ -34,6 +34,7 @@ description: | to SCPI v1.0 items: - const: arm,scpi-pre-1.0 + - const: amlogic,meson-gxbb-scpi mboxes: description: | @@ -64,6 +65,9 @@ description: | oneOf: - const: arm,scpi-sensors - const: arm,scpi-power-domains + - items: + - const: amlogic,meson-gxbb-scpi-sensors + - const: arm,scpi-sensors "^clocks(-[0-9a-f]+)?$": type: object