From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83EBEC3A5A0 for ; Mon, 19 Aug 2019 18:20:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4A1FA22CF4 for ; Mon, 19 Aug 2019 18:20:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566238845; bh=wxa0LM+vbYgrtuVee7cNQSHuuhlDUGgp7HsBhgwY8lw=; h=From:To:Cc:Subject:Date:List-ID:From; b=py/8QvgesgXAVTG8dvHhdKUoSZULclV8xRUS5l9kO7BffHPKZ2y0NxXuFiEJMfYZI zb1gzqtRIewzKQvuBL6M/93l6IUqnqS9pkvwg9f0v6pHSAiQoKjMfIOs2vZaVEKAL4 XgOAEtIE/eZvq9SnD5jvwkwKjH9+e+KQVGCG+VQU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728177AbfHSSUo (ORCPT ); Mon, 19 Aug 2019 14:20:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:50008 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728029AbfHSSUo (ORCPT ); Mon, 19 Aug 2019 14:20:44 -0400 Received: from localhost (lfbn-1-10718-76.w90-89.abo.wanadoo.fr [90.89.68.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A01D322CEC; Mon, 19 Aug 2019 18:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566238843; bh=wxa0LM+vbYgrtuVee7cNQSHuuhlDUGgp7HsBhgwY8lw=; h=From:To:Cc:Subject:Date:From; b=wJPMkzpuVMW30mhPXbQA+lPzUB8RQ6OFsUg73VIaASOVTa1u6x+8ghSzvaBzyymQE EvPM91etkr5FCYpHVTUjo3XnQYyDeq/u4K+6ymdS0lMbIdlF8JtPxjOjmWN8yB61+7 P6ckND1tXUKFF+UqeZW/ZHfla1lgoUnEyvGAKyJQ= From: Maxime Ripard To: linux@roeck-us.net, wim@linux-watchdog.org Cc: linux-kernel@vger.kernel.org, Chen-Yu Tsai , Maxime Ripard , Mark Rutland , Rob Herring , Frank Rowand , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Maxime Ripard Subject: [PATCH v2 1/6] dt-bindings: watchdog: Add YAML schemas for the generic watchdog bindings Date: Mon, 19 Aug 2019 20:20:34 +0200 Message-Id: <20190819182039.24892-1-mripard@kernel.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maxime Ripard The watchdogs have a bunch of generic properties that are needed in a device tree. Add a YAML schemas for those. Signed-off-by: Maxime Ripard --- Changes from v1: - New patch --- .../bindings/watchdog/watchdog.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/watchdog.yaml diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.yaml b/Documentation/devicetree/bindings/watchdog/watchdog.yaml new file mode 100644 index 000000000000..187bf6cb62bf --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/watchdog.yaml @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/watchdog.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Watchdog Generic Bindings + +maintainers: + - Guenter Roeck + - Wim Van Sebroeck + +description: | + This document describes generic bindings which can be used to + describe watchdog devices in a device tree. + +properties: + $nodename: + pattern: "^watchdog(@.*|-[0-9a-f])?$" + + timeout-sec: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Contains the watchdog timeout in seconds. + +... -- 2.21.0