Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4164865ybg; Fri, 25 Oct 2019 14:22:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyBwGNEmrhSmONRDJR3DflwO8ud9WjWXeOz8kLu9YNT5ANzUt8k16krboiV0QmPLHO5N+Sn X-Received: by 2002:aa7:d615:: with SMTP id c21mr6282811edr.167.1572038553409; Fri, 25 Oct 2019 14:22:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572038553; cv=none; d=google.com; s=arc-20160816; b=O3COaQyiGBlN9MkMJzp18xnB3hPlIPWnE6B4iWw2Q2Z+png3uxlT5utz2RzvOit3GX EP28epD/FmY4htAsihVxisKWRNDGg39LM4TC6DcMwMSp2QcU3igdvVExRO0wBxr07lT/ YLph2CP45Zzd3PkfVZaZ3M3dr8N4eh3nTzpJKYH0oGmGyZFwY+1YyCGsNkXyxA+TSmpE Bi5DQYtGH9C3rycvKi+JaJCbMTRjBNsWT0U+dqLtSW/ty4IwsuiYCA/LR59Nk4/hKKRe AC/CKnDmbJ8esYJzskRXbneoEdbLSOOLN3DF34T07y6B5wnSkwibpNq3/C9kBw2xVmcL Jpaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=JUXQFIqn/d86Rnbor0L71lToepY+28ApeXSzEW1WrrY=; b=V/qD1iHgKQUfeeI08bGbWXVIZgqkSs5ebYY1UEzcU13joSqhLfFLLdSozVtVp07qj8 Iw6waUVSuO/MlVIjv8CxvoP6kaHSxvZ9xL9cc7nzGzJlJWnurwNfkyvGuJ+mJzaBhJZ9 xSLFeG6SOFAqqHIPLN/An8w8MpYiAuSptb1XPDe37rrC5kbhv1e8S/903f60crwl3ZRB AHR943KYZg6MsRXqTJl+qjqRXXnaN8H4x+sZR1wpajjps2XNTUIv189smVnF1FAmfVoy o7aVHeGryMtqfvpbpblDEl1rFGfqMrIm/KlTJmfD/fA0TILrjZZrybGlZ0NINW6bQEFI gg+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q18si2049810eda.291.2019.10.25.14.22.08; Fri, 25 Oct 2019 14:22:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725958AbfJYVUS (ORCPT + 99 others); Fri, 25 Oct 2019 17:20:18 -0400 Received: from mail-oi1-f195.google.com ([209.85.167.195]:33296 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbfJYVUS (ORCPT ); Fri, 25 Oct 2019 17:20:18 -0400 Received: by mail-oi1-f195.google.com with SMTP id a15so2556579oic.0; Fri, 25 Oct 2019 14:20:17 -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:content-transfer-encoding :in-reply-to:user-agent; bh=JUXQFIqn/d86Rnbor0L71lToepY+28ApeXSzEW1WrrY=; b=Z9YZNCD0qdWPS5D6PmXn3t7lk1x2n5HB2cMpnqPK+AmjVa+HuZuFP7fDOzbRXJ0qsH HgGzMHO/uUpZrqCIxUBbG/CRaSofExMvULktaACAVl3hoxyqzcVYbCm/RgDPtpUUJTUx wqZQUHFxLHV51rhwd0OOR9oQ5Mxr+IiPuUnPIGa1xmP/E9OySsVPlBruWD/C67sbp7kC lQsknTUNgNbj75Q2B1qm/DgAQN8/Ad1j7bH1gC04SiiCfUmskhIN2xdNo/mpbdUgb2f0 xaaEQgng3vcjlPs48gvtdy0cPrYaU++CqkJ71SvRER/ziXIisxHmZp/BWznX99OAom6g nJDw== X-Gm-Message-State: APjAAAU+1Vo3UautgOV7Sul9kk7EcOCQ7LfyIq1CQQubx8ZlCLDx3ogy JjYAzsIB/Sjo8kkHia55BuZE51w= X-Received: by 2002:a05:6808:10:: with SMTP id u16mr4879719oic.16.1572038416910; Fri, 25 Oct 2019 14:20:16 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id x80sm908528oia.37.2019.10.25.14.20.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 14:20:15 -0700 (PDT) Date: Fri, 25 Oct 2019 16:20:15 -0500 From: Rob Herring To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: linux-realtek-soc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Alessandro Zummo , Alexandre Belloni , Mark Rutland , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/8] dt-bindings: rtc: realtek: Convert RTD119x to schema Message-ID: <20191025212015.GA29978@bogus> References: <20191020040817.16882-1-afaerber@suse.de> <20191020040817.16882-3-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191020040817.16882-3-afaerber@suse.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 20, 2019 at 06:08:11AM +0200, Andreas F?rber wrote: > Convert the RTD119x binding to a YAML schema. > > Signed-off-by: Andreas F?rber > --- > v2: New > > .../devicetree/bindings/rtc/realtek,rtd119x.txt | 16 --------- > .../devicetree/bindings/rtc/realtek,rtd119x.yaml | 38 ++++++++++++++++++++++ > 2 files changed, 38 insertions(+), 16 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/rtc/realtek,rtd119x.txt > create mode 100644 Documentation/devicetree/bindings/rtc/realtek,rtd119x.yaml > diff --git a/Documentation/devicetree/bindings/rtc/realtek,rtd119x.yaml b/Documentation/devicetree/bindings/rtc/realtek,rtd119x.yaml > new file mode 100644 > index 000000000000..71b7396bd469 > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/realtek,rtd119x.yaml > @@ -0,0 +1,38 @@ > +# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause Missing () Though I'm not sure it matters other than consistency. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/rtc/realtek,rtd119x.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Realtek RTD129x Real-Time Clock > + > +allOf: > + - $ref: "rtc.yaml#" > + > +maintainers: > + - Andreas F?rber > + > +properties: > + compatible: > + const: realtek,rtd1295-rtc > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + description: Specifies the clock gate > + > +required: > + - compatible > + - reg > + - clocks > + > +examples: > + - | > + rtc@9801b600 { > + compatible = "realtek,rtd1295-clk"; > + reg = <0x9801b600 0x100>; > + clocks = <&clkc RTD1295_CLK_EN_MISC_RTC>; You need the include file here or the example won't build (run 'make dt_binding_check'). > + }; > +... > -- > 2.16.4 >