From patchwork Fri Oct 21 15:15:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eddie James X-Patchwork-Id: 6744 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp754885wrr; Fri, 21 Oct 2022 08:18:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4CSXfzbqmASdLlk1Q98L49CVPsFitFmXZmd6nZQ0fLjzXN84d/9npaZU6Lv/Wr0BNShLJ1 X-Received: by 2002:a63:211d:0:b0:44e:f294:8440 with SMTP id h29-20020a63211d000000b0044ef2948440mr16412950pgh.103.1666365497285; Fri, 21 Oct 2022 08:18:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666365497; cv=none; d=google.com; s=arc-20160816; b=MkCnPyPmD0YWOMvRY9t4c95Y8j28ZjtCRa5N4B9hcWqFaZU+z/Srhf2KkMx1AKdtSg l+tgspbkj0VNrl4WnIeTw1Te/CfNM75jaFvAWPLvjZd2fZSvmLv4BDhZigProdKBv0SH +b9GjfQtcMSf+TPkETxLrh8yyn6F8n55Cllt22nbbFf5qZezr2tbvdG3adRIcHfKQWFT 7+LZ96hczSxO8xifeDeUcM93k5LBfuplP/QuOdUepXASMvnqbfjIsfeZvR60VeVuOcVH pegCMB8ZEuYdwI//0vZtlHfWb9LsUbhGhyeYCn6ftMXLiByIXDFUIeQkEABudiZl22RZ jvZw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=w7DOAZ7bjYd5DlCK+vTzZ8rrvZ0nNvNBR+CY5uDp6Lk=; b=mHMB1FDX0WUU0OEfpYQI8FPrDjF2bxe5PwSYedN0rx8zcDBesL3NqR+pswr1Iedmr2 c2hF7JIE1b+zxdJTx/WN4pIW74RQwrvtVApw2SOufRS4Kie9Ksw3RdJrr0dvJ+lWj9Hu bJh2+DizeOM40U0At5Ik4GiqUrjzqu0xmMzzqu3ePJ+jguATsX2Ix3aG7CsNPLgIMARu s3W22b4vS3kNHdyKjpo4Tjq9qzESSPX2RzltzYxC1mQngcnqzJTiRk6IJnSe8SnujMxr Gq/LUBRAkc7+FiYSv9Oc8fSQ91tWyi8neUPlL0twuRwSaUcDdcAtGC0C05n9TdB60Fht 83sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=JVpR8N+I; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s73-20020a632c4c000000b00434f938b9efsi25121716pgs.4.2022.10.21.08.18.04; Fri, 21 Oct 2022 08:18:17 -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=@ibm.com header.s=pp1 header.b=JVpR8N+I; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230292AbiJUPQs (ORCPT + 99 others); Fri, 21 Oct 2022 11:16:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230226AbiJUPQj (ORCPT ); Fri, 21 Oct 2022 11:16:39 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AF7427212E; Fri, 21 Oct 2022 08:16:37 -0700 (PDT) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29LF99ET031173; Fri, 21 Oct 2022 15:16:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=w7DOAZ7bjYd5DlCK+vTzZ8rrvZ0nNvNBR+CY5uDp6Lk=; b=JVpR8N+IRvPmSCCKUh6dCI4r+99Chi5ys0rmn0xh9CkzOjwzgn127GHaYvm7XY/X8+30 GNmdVpLOFttqnnXNjeot56OOoRMZqoZK+U+I9odt0ywBvwrm3JjQPDKudEkACkyqAwie ilDo1Ol6fH8JDgUJbe5IFCfsenSbUZrVuhnwlyWGzOrbrE45NBbXwq977l9MQW2EDIwa AmMJSxaWJem5mpQZTXwnW1RStu/0D6Qw3xfH+CzySUNr50EM2vHpyZYfKDL7glof3QEj mGhDn+pyQTTvM/nnAt0nU2ndxOs5XUjJXI9UgV8hQXNDo3zc/mN4eM0SW27IGFLtXfwB BA== Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3kbw7dsedq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Oct 2022 15:16:14 +0000 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 29LF5IBV019500; Fri, 21 Oct 2022 15:16:13 GMT Received: from b01cxnp22033.gho.pok.ibm.com (b01cxnp22033.gho.pok.ibm.com [9.57.198.23]) by ppma01wdc.us.ibm.com with ESMTP id 3k9be2gvd8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Oct 2022 15:16:13 +0000 Received: from smtpav04.wdc07v.mail.ibm.com ([9.208.128.116]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 29LFGCbo47120718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Oct 2022 15:16:13 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 533D858060; Fri, 21 Oct 2022 15:16:12 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AA15D58058; Fri, 21 Oct 2022 15:16:10 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.160.163.86]) by smtpav04.wdc07v.mail.ibm.com (Postfix) with ESMTP; Fri, 21 Oct 2022 15:16:10 +0000 (GMT) From: Eddie James To: linux-watchdog@vger.kernel.org Cc: linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, wim@linux-watchdog.org, linux@roeck-us.net, andrew@aj.id.au, joel@jms.id.au, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, Eddie James Subject: [PATCH 2/2] dt-bindings: watchdog: aspeed: Document aspeed,pre-timeout-irq-us Date: Fri, 21 Oct 2022 10:15:59 -0500 Message-Id: <20221021151559.781983-3-eajames@linux.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20221021151559.781983-1-eajames@linux.ibm.com> References: <20221021151559.781983-1-eajames@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: Ws9Ti4BoPPa3Tw667wsCxzljzGpSvnbA X-Proofpoint-ORIG-GUID: Ws9Ti4BoPPa3Tw667wsCxzljzGpSvnbA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-21_04,2022-10-21_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxlogscore=999 suspectscore=0 bulkscore=0 malwarescore=0 phishscore=0 impostorscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210210090 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747310867444970183?= X-GMAIL-MSGID: =?utf-8?q?1747310867444970183?= Document this new property for the pre-timeout interrupt. Signed-off-by: Eddie James --- Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt b/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt index a8197632d6d2..81d2c35ca7e3 100644 --- a/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/aspeed-wdt.txt @@ -40,12 +40,17 @@ Optional properties: specified no external signal is sent. - aspeed,ext-pulse-duration: External signal pulse duration in microseconds -Optional properties for AST2500-compatible watchdogs: +Optional properties for AST2500 and AST2600 compatible watchdogs: - aspeed,ext-push-pull: If aspeed,external-signal is present, set the pin's drive type to push-pull. The default is open-drain. - aspeed,ext-active-high: If aspeed,external-signal is present and and the pin is configured as push-pull, then set the pulse polarity to active-high. The default is active-low. + - aspeed,pre-timeout-irq-us: If aspeed,pre-timeout-irq-us is non-zero, the + pre-timeout interrupt will be enabled for the + watchdog. The interrupt will fire the specified + number of microseconds before the watchdog expires + and trigger a kernel panic. Example: