From patchwork Thu Apr 21 19:21:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hawkins, Nick" X-Patchwork-Id: 564509 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7F47C4332F for ; Thu, 21 Apr 2022 19:20:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383253AbiDUTWz (ORCPT ); Thu, 21 Apr 2022 15:22:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1391546AbiDUTWv (ORCPT ); Thu, 21 Apr 2022 15:22:51 -0400 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 751D76394; Thu, 21 Apr 2022 12:20:00 -0700 (PDT) Received: from pps.filterd (m0134420.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 23LEnWt9014921; Thu, 21 Apr 2022 19:19:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version; s=pps0720; bh=Q3mq/8xNeFZ0MBDYKmHTFQ+sc5donBVUtRkMO956L/k=; b=otUwunlmHTIIiQMzeAkMo7Ow3fJcYi57+YZovGY8iBIQblraXSCkfpBrC11EAlRkJ3lU 4jKmb7ZtNftWQDr8lYpDM/wj2rPAE1f0usdWj7Np2ccXkoM2IxKxSj4Y4z9FUp9goNae 5goE0uKEGzsSbBzn0oYkmRXfXL0zp2HT/153rJmIBiYcvsBYopeR1jZ41v/P+K/zQ9cB nM4k0X7O2hh43bjGxqGTSUB9KtF9xu2ft14gdY4e7arJbS0+dXbw1hEdW7Zd9S7+Li9Z SQJns0MXJctNtNDCcM94msMWIMURb/QTEgzzXxhMBMmtCDHO7Z8ey7s02EWOhmreHNoJ vg== Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3fk9c8a8uc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Apr 2022 19:19:40 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3427.houston.hpe.com (Postfix) with ESMTP id 7DED36F; Thu, 21 Apr 2022 19:19:39 +0000 (UTC) Received: from hpe.com (cigateway-dev.us.rdlabs.hpecorp.net [10.14.73.30]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 317F14A; Thu, 21 Apr 2022 19:19:39 +0000 (UTC) From: nick.hawkins@hpe.com To: verdun@hpe.com, nick.hawkins@hpe.com, joel@jms.id.au, arnd@arndb.de, openbmc@lists.ozlabs.org Cc: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 06/11] dt-bindings: watchdog: Add HPE GXP Watchdog timer binding Date: Thu, 21 Apr 2022 14:21:27 -0500 Message-Id: <20220421192132.109954-7-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220421192132.109954-1-nick.hawkins@hpe.com> References: <20220421192132.109954-1-nick.hawkins@hpe.com> X-Proofpoint-ORIG-GUID: VMen7TbjJQQF4pvZ2haKczr30IT5c0C2 X-Proofpoint-GUID: VMen7TbjJQQF4pvZ2haKczr30IT5c0C2 X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-21_04,2022-04-21_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 bulkscore=0 impostorscore=0 mlxlogscore=999 mlxscore=0 spamscore=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204210102 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Nick Hawkins Add the hpe gxp watchdog timer binding hpe,gxp-wdt. This will enable support for the HPE GXP Watchdog. Signed-off-by: Nick Hawkins --- v5: * Fixed version log v4: * Made watchdog a child of timer because of same register area based on review feedback * Simplified the watchdog yaml as it will get information from parent device v3: * Used proper patchset format. v2: * Converted from txt to yaml --- .../bindings/watchdog/hpe,gxp-wdt.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/hpe,gxp-wdt.yaml diff --git a/Documentation/devicetree/bindings/watchdog/hpe,gxp-wdt.yaml b/Documentation/devicetree/bindings/watchdog/hpe,gxp-wdt.yaml new file mode 100644 index 000000000000..c20da146352f --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/hpe,gxp-wdt.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/hpe,gxp-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HPE GXP Controlled Watchdog + +allOf: + - $ref: "watchdog.yaml#" + +maintainers: + - Nick Hawkins + - Jean-Marie Verdun + +properties: + compatible: + const: hpe,gxp-wdt + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + watchdog0: watchdog { + compatible = "hpe,gxp-wdt"; + }; +