Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1462797rda; Mon, 23 Oct 2023 13:26:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF/5BgT734PdsTmdWKFIKE9HQRjc3rRW2Ir4g5ZoWfQHIm84ahVTbKK2zX0sd8JgJ/xnb8G X-Received: by 2002:a05:6a21:6d94:b0:157:1b5:61ce with SMTP id wl20-20020a056a216d9400b0015701b561cemr796675pzb.4.1698092816111; Mon, 23 Oct 2023 13:26:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698092816; cv=none; d=google.com; s=arc-20160816; b=YeAZ9u8L9PUj1b88ir0zPh5Lon/BPmOk/VvTeqfi56eja23EYycUApIvmG6a4UhEJT lwx00fFOVFplcsVEZP7L6y6Hei9QVXEbdMdD1t4DaBPnhGXTC4TVUdqCHPN8gSNVcT3T fJLNQ2H9tDQW9jNarLeF0JD1fM//2DE5UeN9eMUlGbbzM1+MruIjurip/CcSj1oa0ix3 t+s3xmCkJXBWwiQVUyKSWe3B+j4Q/EGcPanI1gaQdc2jheSHJ6VwCjrW+HharyB0ylz2 cBUJYY7raJZf+eh6rLIXGXU4BUec2IVPUiWeRdfV0UE4f5/U76oqJ27WA7qBB1auEytD OHUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=A009epGh9BGNMcw+mtBy+K3MSkhtuedVQ3bAIozMsTc=; fh=KK7WaS5Ls/8S83AdZw/dcEAq/qZmml5jxA5Cauidcpo=; b=rL4TzyWKLD/f78/E9/RlNh8m6TDYFUjrN4V2qug5Keoy3p4J3fw+q20Cb4gTic7ep5 OD6opdamo2wkh2oY/aJuRXUOACE1+Onoxc9BiSSUHOyxEfOYGqtchKlciXodIHMz8eyQ Ss/6s5BetpvIfG7OX8WI4nr25yO2oJ7JNB4MHm0yMGprLLBH5Vwj8pQ003WeFHI5KFq1 is1l4t/oobU6KPmnj9+gfI2fWiTwEsbcZuakSz1YSuaUkzryTwaHmbkH6w2fgI+ry59l u1R+wBti5oCwk7W8SOMfOMusZY6Md0IBrcyJbNt+ij5oCJjgC4tVxhhlENGnxATRNZ8w vg8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TxGEJWaU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id pi7-20020a17090b1e4700b0027d37bb12a6si7165994pjb.49.2023.10.23.13.26.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 13:26:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TxGEJWaU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 478D5803215A; Mon, 23 Oct 2023 13:26:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231194AbjJWU0n (ORCPT + 99 others); Mon, 23 Oct 2023 16:26:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231131AbjJWU0l (ORCPT ); Mon, 23 Oct 2023 16:26:41 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9E39D68; Mon, 23 Oct 2023 13:26:38 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-99c3d3c3db9so554008366b.3; Mon, 23 Oct 2023 13:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698092797; x=1698697597; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=A009epGh9BGNMcw+mtBy+K3MSkhtuedVQ3bAIozMsTc=; b=TxGEJWaUu5xb+4JhfT6VjZpY1UUjmXI6vixcYl50GzPJfyYui2usTLVRM0LjFr7hfy uJnIG0LevAHgkOvq7Dnpv2dQa/C5K1eIRgekqoAt84XLCxIADRtZ/VkjQxVJZZVj9Qo7 vD9DjoCUi6tDRK7WYJgqGFXTyS1KQGfw/0x8VF9jU/2ikQzQ0QoAw/ahmzeki6gygyKi cQYIkBd0Ar6SEqxIQbYcT2bpyTwHl2gtV3gIEW9W+VfPgBGzXrv2pLjTPColplyd6tCq Xjzl4qk1p1tTMsNf8haAeEFZkfjPCJjNh9W4cVQN1wHmZkIt+adKCetmxsCuwKTCcU0Y 8X6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698092797; x=1698697597; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=A009epGh9BGNMcw+mtBy+K3MSkhtuedVQ3bAIozMsTc=; b=MMna3AH1yFjdjYXtDKQ3gnOfyoeG9yJI02KpNHiLgd3Ir871Oh4mXky6bjaapfsKJH h9Ob53AEJLDOIQpkCqlAzNA1/SlDt3l92QaQj5qcd3363KFXfCXvXGnCpVb28J6joYe/ jMO5QAHyCmpdIoDxwD1W7yJfk/v6ktMoZfrfugW0ozYm1meMB3bHai5uEIieHhPNSgqE zYC6EECpASUtVe0ifOUcX/5W4/YbNhjbfqJsHw8r2ZB4FRFTxI8wtctyjdtl3Rw1R6Gb NBQDA3l3aPmZ9UwXOZ0F4dt4y+5ss9+7P0mvlAY0YF6YdQcLcIXGzcFsLWph11F1oliv MOrw== X-Gm-Message-State: AOJu0YyE9vqBZkj5wLC2f664Wvqbg3xXRDg+iHEigoQ5+ZlbFbUJuLnH hYm2C8/CjCedCJn0UoMNEFE= X-Received: by 2002:a17:907:9618:b0:9a2:139:f45d with SMTP id gb24-20020a170907961800b009a20139f45dmr7238702ejc.43.1698092797042; Mon, 23 Oct 2023 13:26:37 -0700 (PDT) Received: from localhost.localdomain ([2a02:8109:8c00:3664:b198:95f4:ac2c:9085]) by smtp.gmail.com with ESMTPSA id n13-20020a170906088d00b0098ec690e6d7sm7113428eje.73.2023.10.23.13.26.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 13:26:36 -0700 (PDT) From: Nik Bune To: wim@linux-watchdog.org, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, skhan@linuxfoundation.org, baruch@tkos.co.il Cc: Nik Bune , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] dt-bindings: watchdog: cnxt,cx92755-wdt: convert txt to yaml Date: Mon, 23 Oct 2023 22:26:22 +0200 Message-Id: <20231023202622.18558-1-n2h9z4@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 23 Oct 2023 13:26:53 -0700 (PDT) Convert txt file to yaml. Add maintainers list. Signed-off-by: Nik Bune --- Changes in v2 (according to review comments): - Updated clocks property to have only maxItems without $ref and description. - Removed timeout-sec explicit definition, as it is defined in watchdog.yaml. v1 patch: https://lore.kernel.org/all/20231022120328.137788-1-n2h9z4@gmail.com/ .../bindings/watchdog/cnxt,cx92755-wdt.yaml | 45 +++++++++++++++++++ .../bindings/watchdog/digicolor-wdt.txt | 25 ----------- 2 files changed, 45 insertions(+), 25 deletions(-) create mode 100644 Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml delete mode 100644 Documentation/devicetree/bindings/watchdog/digicolor-wdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml b/Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml new file mode 100644 index 000000000000..1844d7e026fe --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/cnxt,cx92755-wdt.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/cnxt,cx92755-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Conexant Digicolor SoCs Watchdog timer + +description: | + The watchdog functionality in Conexant Digicolor SoCs relies on the so called + "Agent Communication" block. This block includes the eight programmable system + timer counters. The first timer (called "Timer A") is the only one that can be + used as watchdog. + +allOf: + - $ref: watchdog.yaml# + +maintainers: + - Baruch Siach + +properties: + compatible: + const: cnxt,cx92755-wdt + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + watchdog@f0000fc0 { + compatible = "cnxt,cx92755-wdt"; + reg = <0xf0000fc0 0x8>; + clocks = <&main_clk>; + timeout-sec = <15>; + }; diff --git a/Documentation/devicetree/bindings/watchdog/digicolor-wdt.txt b/Documentation/devicetree/bindings/watchdog/digicolor-wdt.txt deleted file mode 100644 index a882967e17d4..000000000000 --- a/Documentation/devicetree/bindings/watchdog/digicolor-wdt.txt +++ /dev/null @@ -1,25 +0,0 @@ -Conexant Digicolor SoCs Watchdog timer - -The watchdog functionality in Conexant Digicolor SoCs relies on the so called -"Agent Communication" block. This block includes the eight programmable system -timer counters. The first timer (called "Timer A") is the only one that can be -used as watchdog. - -Required properties: - -- compatible : Should be "cnxt,cx92755-wdt" -- reg : Specifies base physical address and size of the registers -- clocks : phandle; specifies the clock that drives the timer - -Optional properties: - -- timeout-sec : Contains the watchdog timeout in seconds - -Example: - - watchdog@f0000fc0 { - compatible = "cnxt,cx92755-wdt"; - reg = <0xf0000fc0 0x8>; - clocks = <&main_clk>; - timeout-sec = <15>; - }; -- 2.34.1