Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1450638ybk; Thu, 21 May 2020 07:11:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy91oBpflxNXLuVdSw9YmJHiSMPUNaHMU78vxmhqsA6pGzi+rF07ojiNnNqjjnxmKdWhHqx X-Received: by 2002:a17:907:2711:: with SMTP id w17mr3994125ejk.8.1590070318263; Thu, 21 May 2020 07:11:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590070318; cv=none; d=google.com; s=arc-20160816; b=ptliGHyl/3dY/Nm/4rFNIt+cZG+PLMZQviBI2AuNJGmv/5dDqwN1cEljZGcvOY/GJw FzG9yPEjjVXhk1emEFrZMU1H8RG/lJpyAtxiHaFfKL/UvBQo3CFXhQdUuZECCnlO+XqT Jgcde/FT8pZ8thBZhMgP9NVH0WWnx/IFpvJFBEi8oLmBRkvnZxRFDNI659U9unbJu7Zh ZK5Ifh/azaRYXsx452XzoZs6GTtVHUWKVMX67Sv9c2+2x+2on1eTL7pRtrzQZQlFnyYM rEfyTavW5RJI1OT8qJqHh7m5MgzCUycQW9viTKX6+ZhxOqkb2Sk63OgjyTAMaeQqqMBv yPbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=yowg3fZtexGDqG8wiwfs9Jj2f/VkEyISyE0+jP1l3O0=; b=Z9vbtA5vZlnpZEYdFYeYKxg9EoqRmWKPqKewFBMfT58VJdn8+IMRbk1VqH/ZT+4YU2 OA2C1FXMu+Kvj8Vp/bHWysefMAUv1Gv29+cvbgL84NJpGk1YeVBuOmoAT63Gd8bXhK7T Tozos3cGirJI2gbLL0/nEPAi2aIRxjfwh5m582zlv7KXwZ0q9mn2JkxFA3MQpKzKGlAq pt0+ONhLyvEvPUNMvHtGd6hcV3YTX/bieg9hbb6kXgTx+0fZI6Q6c/ON3EyBa2F4/1Rc YoYlHGqST3mxmr3fQtEDErpWOAyDp8DYn79rfWLcpYLeGU3cx6EykWZt5JwkV7LHasGH IfnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l30si3816473edj.293.2020.05.21.07.11.35; Thu, 21 May 2020 07:11:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729753AbgEUOHp (ORCPT + 99 others); Thu, 21 May 2020 10:07:45 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:38286 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729728AbgEUOHk (ORCPT ); Thu, 21 May 2020 10:07:40 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id BC46F8030791; Thu, 21 May 2020 14:07:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at baikalelectronics.ru Received: from mail.baikalelectronics.ru ([127.0.0.1]) by localhost (mail.baikalelectronics.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sop25_UHIheO; Thu, 21 May 2020 17:07:36 +0300 (MSK) From: Serge Semin To: Thomas Bogendoerfer , Paul Burton , Rob Herring CC: Serge Semin , Serge Semin , Rob Herring , Alexey Malahov , Ralf Baechle , Arnd Bergmann , , , Subject: [PATCH v4 01/13] dt-bindings: power: Convert mti,mips-cpc to DT schema Date: Thu, 21 May 2020 17:07:12 +0300 Message-ID: <20200521140725.29571-2-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20200521140725.29571-1-Sergey.Semin@baikalelectronics.ru> References: <20200521140725.29571-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's a Cluster Power Controller embedded into the MIPS IP cores. Currently the corresponding dts node is supposed to have compatible and reg properties. Signed-off-by: Serge Semin Reviewed-by: Rob Herring Cc: Alexey Malahov Cc: Thomas Bogendoerfer Cc: Paul Burton Cc: Ralf Baechle Cc: Arnd Bergmann --- .../bindings/power/mti,mips-cpc.txt | 8 ----- .../bindings/power/mti,mips-cpc.yaml | 35 +++++++++++++++++++ 2 files changed, 35 insertions(+), 8 deletions(-) delete mode 100644 Documentation/devicetree/bindings/power/mti,mips-cpc.txt create mode 100644 Documentation/devicetree/bindings/power/mti,mips-cpc.yaml diff --git a/Documentation/devicetree/bindings/power/mti,mips-cpc.txt b/Documentation/devicetree/bindings/power/mti,mips-cpc.txt deleted file mode 100644 index c6b82511ae8a..000000000000 --- a/Documentation/devicetree/bindings/power/mti,mips-cpc.txt +++ /dev/null @@ -1,8 +0,0 @@ -Binding for MIPS Cluster Power Controller (CPC). - -This binding allows a system to specify where the CPC registers are -located. - -Required properties: -compatible : Should be "mti,mips-cpc". -regs: Should describe the address & size of the CPC register region. diff --git a/Documentation/devicetree/bindings/power/mti,mips-cpc.yaml b/Documentation/devicetree/bindings/power/mti,mips-cpc.yaml new file mode 100644 index 000000000000..9cd92a57130c --- /dev/null +++ b/Documentation/devicetree/bindings/power/mti,mips-cpc.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/mti,mips-cpc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MIPS Cluster Power Controller + +description: | + Defines a location of the MIPS Cluster Power Controller registers. + +maintainers: + - Paul Burton + +properties: + compatible: + const: mti,mips-cpc + + reg: + description: | + Base address and size of an unoccupied memory region, which will be + used to map the MIPS CPC registers block. + maxItems: 1 + +required: + - compatible + - reg + +examples: + - | + cpc@1bde0000 { + compatible = "mti,mips-cpc"; + reg = <0 0x1bde0000 0 0x8000>; + }; +... -- 2.25.1