Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4169680ybg; Fri, 25 Oct 2019 14:28:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCk8Fkh5So3JIhmkg36X80Mdded5X1gGmwGE8WRu16aM05ldhvXW72Maw/XW9P+nsXLydY X-Received: by 2002:a17:906:2cca:: with SMTP id r10mr5669970ejr.108.1572038883611; Fri, 25 Oct 2019 14:28:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572038883; cv=none; d=google.com; s=arc-20160816; b=nnBbQiAHjR87pegMeiH08+p8Uc1KNuqpGy2eifiB+RxjLZTm5+VPTOeTJbvcVdzPz8 r0f77py/Z7tRfg7oK+XZeOOJQRLhSUAbTWXK8wiCp4xgVGIkCgpaHn3qhSmLBtPIfDKg bRDJ/g0LX9eidQO3KlSPVW6qzXKPbXtSfoLTJOx/OR0XQ5cdQs5nLr/SHRlTOxgGYVwo iMEbUxFpmmHJv36O2o8gTlQ9T/WrhsthmvJYn2zRJMrRuUKEKyCe28eJAyhXMQOdQaV+ J1dFuVAJgwIOd07clgUQottAfbfkhWOVuMHA6H9aFgSFKJ5M3kk8An5xzHixYu5oFfFt 2rSg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=I98aH6pOPSdC4RqMkr2HpZNV6qqlU+KiywCnihuncQU=; b=QP+H0XxR1F5uGcKgrpCqaSd3GHAUCBxlzbGxbAGAANW/r62SBaKMFp358//I4w0v0U +vOQ4nCF36tJRkj5SsvGLhZJsax1otOcBBTDebDOMtQyi1uUoZmISDQxCGghG2d2lmP3 v18v1M4BhK4/21YCX9O80rKLzOoLse9l4/Of4phAaG3TrUkY8NSlTBeavgi378gmFk6H XoZNqY3no1hO9J3ApvnHxeWDiCii0whgFIaL0cpfVMUmwwQw0lpJN8ZkrdXJZ3O1SATR ANN0MPMhvEZHj/Cinwa4fFxfHBb6VoDgNWEEpj1Y/TaNusUWwcJiP2vBbXbkVElZhs5A cUpg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11si1792672ejw.201.2019.10.25.14.27.40; Fri, 25 Oct 2019 14:28:03 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726210AbfJYVYM (ORCPT + 99 others); Fri, 25 Oct 2019 17:24:12 -0400 Received: from mx2.suse.de ([195.135.220.15]:41466 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725283AbfJYVYM (ORCPT ); Fri, 25 Oct 2019 17:24:12 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 040CDB1C1; Fri, 25 Oct 2019 21:24:09 +0000 (UTC) Subject: Re: [PATCH v2 1/8] dt-bindings: watchdog: realtek: Convert RTD119x to schema To: Rob Herring Cc: linux-realtek-soc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Wim Van Sebroeck , Guenter Roeck , Mark Rutland , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20191020040817.16882-1-afaerber@suse.de> <20191020040817.16882-2-afaerber@suse.de> <20191025211638.GA28819@bogus> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Organization: SUSE Software Solutions Germany GmbH Message-ID: Date: Fri, 25 Oct 2019 23:24:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <20191025211638.GA28819@bogus> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 25.10.19 um 23:16 schrieb Rob Herring: > On Sun, Oct 20, 2019 at 06:08:10AM +0200, Andreas Färber wrote: >> Convert the Realtek watchdog binding to a YAML schema. >> >> Signed-off-by: Andreas Färber >> --- >> v2: New >> >> .../bindings/watchdog/realtek,rtd119x.txt | 17 ---------- >> .../bindings/watchdog/realtek,rtd119x.yaml | 38 ++++++++++++++++++++++ >> 2 files changed, 38 insertions(+), 17 deletions(-) >> delete mode 100644 Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt >> create mode 100644 Documentation/devicetree/bindings/watchdog/realtek,rtd119x.yaml >> >> diff --git a/Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt b/Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt >> deleted file mode 100644 >> index 05653054bd5b..000000000000 >> --- a/Documentation/devicetree/bindings/watchdog/realtek,rtd119x.txt >> +++ /dev/null >> @@ -1,17 +0,0 @@ >> -Realtek RTD1295 Watchdog >> -======================== >> - >> -Required properties: >> - >> -- compatible : Should be "realtek,rtd1295-watchdog" >> -- reg : Specifies the physical base address and size of registers >> -- clocks : Specifies one clock input >> - >> - >> -Example: >> - >> - watchdog@98007680 { >> - compatible = "realtek,rtd1295-watchdog"; >> - reg = <0x98007680 0x100>; >> - clocks = <&osc27M>; >> - }; >> diff --git a/Documentation/devicetree/bindings/watchdog/realtek,rtd119x.yaml b/Documentation/devicetree/bindings/watchdog/realtek,rtd119x.yaml >> new file mode 100644 >> index 000000000000..5d92cfdfd046 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/watchdog/realtek,rtd119x.yaml >> @@ -0,0 +1,38 @@ >> +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: "http://devicetree.org/schemas/watchdog/realtek,rtd119x.yaml#" >> +$schema: "http://devicetree.org/meta-schemas/core.yaml#" >> + >> +title: Realtek RTD1295 Watchdog >> + >> +maintainers: >> + - Andreas Färber >> + >> +allOf: >> + - $ref: watchdog.yaml# >> + >> +properties: >> + compatible: >> + oneOf: >> + - const: realtek,rtd1295-watchdog > > You can drop the 'oneOf' here unless you're planning to add another > entry with 2 compatible strings. It's a preparation for adding rtd1195-watchdog when needed, to make future diffs smaller. There's also RTD1395 and RTD1619 to be tested. > > With that, > > Reviewed-by: Rob Herring Thanks, Andreas -- SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer HRB 36809 (AG Nürnberg)