Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp696140pxj; Thu, 10 Jun 2021 10:24:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+o2j5sh3b5ij+Xnyf3agj8UTCt9dDFO7cfBDdLIpMt09Cfcm/YA8ARoEWmNYn9d5Ut3Za X-Received: by 2002:a17:907:1b11:: with SMTP id mp17mr662540ejc.1.1623345878109; Thu, 10 Jun 2021 10:24:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623345878; cv=none; d=google.com; s=arc-20160816; b=JfYTpEv2bRkslj5QuIi3q4mqtVrnDRsYJ2xDHrduk9nvPku9uwlL3gjRRZpga6kD/D 8zcAh5w/Ory4J1KSPWMOq8EtLff9PeKaiDvZtAPRJzudlxuDnkIzQRyu3MYe84QNtvys /uLw44Po4rPf6H4xrBVxL/Unmi9kqsIVVrsgEqyjdJmw79NDmQelmnU+7WPNkyv0xVQZ b671v8O0pb/InLM8OnIixqKya27KUvZ/XwEOjcoiFuoRnn+OSc/Q4/gn7+lcIdFtWqMK zZzPpjkwJ3O0pxzCcw4dEosg00OOLmyQ88CSnHERHvxHPY/6wKESvlGSQKaDv11voRbd BDyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ifnPsB6wQoNjNoGIoOZ3f4syykDwHdUi4l5zc8NJ55Y=; b=iRBC8hgayVwDGp0Rc6cIt0cw21GtO20fHYh5zkSoMCVVG4Dv+HN9XGm0niOKXzVjR1 iFLgrAf/6T4Xnb0+8kEDsA69hm44Sibaet/EmkdITaDs+BpbBhkl/vUAl8XppcYE19pi w9k0f5Iuv8l2g1rKvqqHZnTogLp6L90aCkXsQRak9CGdSd6uJ9Fp8ZhVYwCpmA1BfyZ7 pBmVJjDOnnd40iLtcN5jqch/tfzb3NYRolQtVS6/lpVM8LlQTnUFq4+29hs9PxjOAHUP JaC6yDYjVz+xJgD57OlIsZ6/C99wuTmfG+g2y23BPcK9QgEUqyca7G7QGxYjjuOUAkRR fyIA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x5si1736368edd.181.2021.06.10.10.24.13; Thu, 10 Jun 2021 10:24:38 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230238AbhFJRXz (ORCPT + 99 others); Thu, 10 Jun 2021 13:23:55 -0400 Received: from mail-ot1-f41.google.com ([209.85.210.41]:45010 "EHLO mail-ot1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229802AbhFJRXy (ORCPT ); Thu, 10 Jun 2021 13:23:54 -0400 Received: by mail-ot1-f41.google.com with SMTP id q5-20020a9d66450000b02903f18d65089fso403495otm.11; Thu, 10 Jun 2021 10:21:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ifnPsB6wQoNjNoGIoOZ3f4syykDwHdUi4l5zc8NJ55Y=; b=O5HFamT9x37XvfLsiphsPUpX1WPPPe1DsNl18GdgX9H4Qcjxo43yF4JUgcnR0xrrDm BVQqraWlD8DA6icCi/2dFTRoSHjZJvg95Pj8vIQBEiUEgUCYfGEmkCBlQN8T4Hocp6/S iAp9/sKBixxmbvmKYS22nZBRmjzKmOvjBRJ+hUuWv/0Ktxj/106RRHVidEWfkSpi7tXz xTaZ+1gLxBQOG1VTdBCT3WrgdvHhNy9CPCFKY5Oa0Cn+aT2gRth7KVpaVMn+UtAdpP8j Em4Maet6xVhbTZHku27k/XhEgpv7mb7ThqNWunhPyPjQcB04/pgP3X+CPBzEQneHNO6L MJMw== X-Gm-Message-State: AOAM533E8kDneaMQW6eJaAFVyl5dvq/1eVyZcB6djpOYhoM/7VMZ1AqY yUNPY7ReDufZEj3t3gOL9w== X-Received: by 2002:a05:6830:43:: with SMTP id d3mr3263268otp.118.1623345704552; Thu, 10 Jun 2021 10:21:44 -0700 (PDT) Received: from robh.at.kernel.org ([172.58.99.113]) by smtp.gmail.com with ESMTPSA id u1sm629502ooo.18.2021.06.10.10.21.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 10:21:43 -0700 (PDT) Received: (nullmailer pid 2054170 invoked by uid 1000); Thu, 10 Jun 2021 17:21:41 -0000 Date: Thu, 10 Jun 2021 12:21:41 -0500 From: Rob Herring To: Nobuhiro Iwamatsu Cc: Alessandro Zummo , Alexandre Belloni , Michal Simek , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] dt-bindings: rtc: zynqmp: convert bindings to YAML Message-ID: <20210610172141.GA1972573@robh.at.kernel.org> References: <20210602000918.779983-1-iwamatsu@nigauri.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210602000918.779983-1-iwamatsu@nigauri.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 02, 2021 at 09:09:18AM +0900, Nobuhiro Iwamatsu wrote: > Convert Real Time Clock for Xilinx Zynq MPSoC SoC bindings documentation > to YAML schemas. > And this renamed the file to compatible string of DT. > > Signed-off-by: Nobuhiro Iwamatsu > --- > > v2: Fix warning with DT_CHECKER_FLAGS=-m > > .../bindings/rtc/xlnx,zynqmp-rtc.yaml | 61 +++++++++++++++++++ > .../devicetree/bindings/rtc/xlnx-rtc.txt | 25 -------- > 2 files changed, 61 insertions(+), 25 deletions(-) > create mode 100644 Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > delete mode 100644 Documentation/devicetree/bindings/rtc/xlnx-rtc.txt > > diff --git a/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > new file mode 100644 > index 00000000000000..c205cb86ef00be > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/xlnx,zynqmp-rtc.yaml > @@ -0,0 +1,61 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/rtc/xlnx,zynqmp-rtc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Xilinx Zynq Ultrascale+ MPSoC Real Time Clock > + > +description: | Don't need '|' > + RTC controller for the Xilinx Zynq MPSoC Real Time Clock. > + This separates IRQ lines for seconds and alarm. The RTC controller has separate IRQ... > + > +maintainers: > + - Michal Simek > + > +allOf: > + - $ref: rtc.yaml# > + > +properties: > + compatible: > + const: xlnx,zynqmp-rtc > + > + reg: > + maxItems: 1 > + > + interrupts: > + minItems: 2 > + > + interrupt-names: > + items: > + - const: alarm > + - const: sec > + > + calibration: > + description: | > + calibration value for 1 sec period which will > + be programmed directly to calibration register. Needs a type $ref. > + > +required: > + - compatible > + - reg > + - interrupts > + - interrupt-names > + > +additionalProperties: false > + > +examples: > + - | > + soc { > + #address-cells = <2>; > + #size-cells = <2>; > + > + rtc: rtc@ffa60000 { > + compatible = "xlnx,zynqmp-rtc"; > + reg = <0x0 0xffa60000 0x0 0x100>; > + interrupt-parent = <&gic>; > + interrupts = <0 26 4>, <0 27 4>; > + interrupt-names = "alarm", "sec"; > + calibration = <0x198233>; > + }; > + };