Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4590350rwr; Sun, 23 Apr 2023 08:42:09 -0700 (PDT) X-Google-Smtp-Source: AKy350bz9cCvgaqaLemwQ16yoXZIxIydeyqtZEXxoPFcmCgKfUzr6s2qY7ySAgrWFtB6ZN8p91wj X-Received: by 2002:a05:6a20:244d:b0:ef:d2c1:62a with SMTP id t13-20020a056a20244d00b000efd2c1062amr14529673pzc.19.1682264529177; Sun, 23 Apr 2023 08:42:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682264529; cv=none; d=google.com; s=arc-20160816; b=bw8OUHBpKOfVH5+z25jmkZF9T64DHPE7EcDm5tcJDpzc2khCSENwh5ozm7IEiydF+j voVK48iSr1ZYGTZkBC0vtoiRzMY1q9BFGVZVT7mQGRo+WVhTMgZIxdyafinWla4OXHzb fttCY0QfCsTtyLPB2471k1IxIYW5RJ//IrlQ2hl4EivN1LyeM3LcSfwXLn4EbP20fCxc WnDRpSwbNQX4QKrl0mzIZayMXAY2JhGZMaMMCv6692o9YqYAbZqbM+ZyGGPJNbQwh8Vw 3SCfVZyDGuRP3HuVblwpHWRYST8OT0CtHWpzUaGHGqdqOemCtqJn4O6gd8U6foEdYrKx xSBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:dkim-signature; bh=3Eu4k72Ucvdn/BUleBlCM3imQ7w0xRLbGLWiYnDOlwg=; b=ykPHLKvRks/Y3mUQ9K3KrUNcyAas0X+AuydVGP34iI0iDENI4/EUIBC8xbqW9ChWfk GVrdX7M+i+ncMtjkXcC3oC5SVThO8lpWVxOznJ7zFvvy+XbalHK59K69S+Z1Wldph+FD JU7Lt8DMU426Abz7yC08eohiV4SxSKi7C9RCUc90PfuI+YXgf1rw8I7UcCO98yIqKHOT 03/zOdc2BgfT2S3aQW83xuLh71XdArQu8psA2b0QSeJ7cQta1VFqX6QEg35R0DQ/kh2F /UwNzL5mfqLG3SuQuUMnHe0SyDNfSw5e5dAZ6y+bgqf/SJiwCD29rc+mEQvHxEPAnDvG uq+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=L5HFsqkR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e132-20020a63698a000000b00524f08d75f5si4329501pgc.567.2023.04.23.08.41.56; Sun, 23 Apr 2023 08:42:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=L5HFsqkR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229658AbjDWP22 (ORCPT + 99 others); Sun, 23 Apr 2023 11:28:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjDWP21 (ORCPT ); Sun, 23 Apr 2023 11:28:27 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C1B510E4; Sun, 23 Apr 2023 08:28:26 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-24736992dd3so2378933a91.1; Sun, 23 Apr 2023 08:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682263706; x=1684855706; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=3Eu4k72Ucvdn/BUleBlCM3imQ7w0xRLbGLWiYnDOlwg=; b=L5HFsqkRB7t6Vs8LoDa9sGnVnWbbaUhWvawz3uOr3N8PxYywaJH4o3ryS/iyIzZ0Mr L+yRc0XT4YNtVOvozFWmWbyon5aOISy1oJFRj7Zhj0AWoNkQLXGhtPK+IsKA+Trqcbzc iNSYK7qhxCrSVDKSvQt5SZw5/oJIMXaYpPM6ZnNhOpzrKLjsem11BdHjmvM78cqU09ka WMyFk6jf7jZQwRUC5fU0+wlQvLlVabCcmEwbVV5ioa98+uIcasGb5iFVf/bQSnUmnEjS gOynuJBGGj5/96Txic6b0O48TKsQBBZuRMJp+LbRBmRqbmrvPHhpj1x8x3fLLgoolsBK pXUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682263706; x=1684855706; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3Eu4k72Ucvdn/BUleBlCM3imQ7w0xRLbGLWiYnDOlwg=; b=A56rx9sXrVZDDLOosKrd1Uujs0YzjJckPGzu2MJ+Xap8oBcrnjiBIkxNi6PPSlnebg +37V3D1dByxEVxry9rOeZcTY+9V67WJwy+NG/B6HHNIAqIVSfkElH0+wfIy9746wONEq egF9/KTf97HkK3EIvihX+5U9pTo8qj+X3JrQ+uXA33sc1GZFSIJOXBgdGp8lKUzLXrW5 pfsC88YrJUA1No6TdIHeJjI7T+UDG6jdtAF3czo2zApLeNaP+r1oAf4O1g8IvN3wW8fH niKVCRGXCGUwkPZpyVsCmhEKnWr9VRhQwyXzYIpXzBGSxoC0MCYsGc/1ysu8rzM0Lgf8 s+Fg== X-Gm-Message-State: AAQBX9fbvV20NwCVzzmAd8Wsv0HG+XIn0H9lKLDnbgP4V2j/6/fWY0ue bHigBviK6Yps0n0y+TrFOfg= X-Received: by 2002:a17:90a:8c85:b0:247:5e62:3288 with SMTP id b5-20020a17090a8c8500b002475e623288mr11051472pjo.33.1682263705712; Sun, 23 Apr 2023 08:28:25 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id l9-20020a17090a49c900b002353082958csm6867290pjm.10.2023.04.23.08.28.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 Apr 2023 08:28:25 -0700 (PDT) Sender: Guenter Roeck Message-ID: <4641afaf-9797-3a29-7eb1-8dadbf3b713d@roeck-us.net> Date: Sun, 23 Apr 2023 08:28:23 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH,RESEND] dt-bindings: watchdog: brcm,kona-wdt: convert to YAML To: Stanislav Jakubek , Wim Van Sebroeck , Rob Herring , Krzysztof Kozlowski , Florian Fainelli , Ray Jui , Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230423143951.GA10743@standask-GA-A55M-S2HP> Content-Language: en-US From: Guenter Roeck In-Reply-To: <20230423143951.GA10743@standask-GA-A55M-S2HP> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/23/23 07:39, Stanislav Jakubek wrote: > Convert Broadcom Kona family watchdog timer bindings to DT schema. > > Signed-off-by: Stanislav Jakubek > --- > RESEND because I originally sent this to the wrong maintainers and > mailing lists by accident. Sorry for the noise. > Is this patch supposed to replace / compete with the other patch doing the same ? https://patchwork.kernel.org/project/linux-watchdog/patch/20230418170341.28805-1-n2h9z4@gmail.com/ What is the difference, and what is the purpose ? Guenter > .../bindings/watchdog/brcm,kona-wdt.txt | 15 -------- > .../bindings/watchdog/brcm,kona-wdt.yaml | 37 +++++++++++++++++++ > 2 files changed, 37 insertions(+), 15 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.txt > create mode 100644 Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.yaml > > diff --git a/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.txt b/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.txt > deleted file mode 100644 > index 2b86a00e351d..000000000000 > --- a/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.txt > +++ /dev/null > @@ -1,15 +0,0 @@ > -Broadcom Kona Family Watchdog Timer > ------------------------------------ > - > -This watchdog timer is used in the following Broadcom SoCs: > - BCM11130, BCM11140, BCM11351, BCM28145, BCM28155 > - > -Required properties: > - - compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt"; > - - reg: memory address & range > - > -Example: > - watchdog@35002f40 { > - compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt"; > - reg = <0x35002f40 0x6c>; > - }; > diff --git a/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.yaml b/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.yaml > new file mode 100644 > index 000000000000..5de1b022847b > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/brcm,kona-wdt.yaml > @@ -0,0 +1,37 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/watchdog/brcm,kona-wdt.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Broadcom Kona family watchdog timer > + > +maintainers: > + - Florian Fainelli > + > +allOf: > + - $ref: watchdog.yaml# > + > +properties: > + compatible: > + items: > + - enum: > + - brcm,bcm11351-wdt > + - const: brcm,kona-wdt > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +unevaluatedProperties: false > + > +examples: > + - | > + watchdog@35002f40 { > + compatible = "brcm,bcm11351-wdt", "brcm,kona-wdt"; > + reg = <0x35002f40 0x6c>; > + }; > +...