Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7774769ybl; Thu, 16 Jan 2020 05:29:04 -0800 (PST) X-Google-Smtp-Source: APXvYqy20QhwpdgNukFIaIgb4LtwRG11Yxz/YTCfmZ2EQgryz83+54yC69M8nUuzB8og/jwnzPxT X-Received: by 2002:a9d:3c6:: with SMTP id f64mr1981337otf.334.1579181344759; Thu, 16 Jan 2020 05:29:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1579181344; cv=pass; d=google.com; s=arc-20160816; b=YEOht7qbVpRFFy1aw0Hz5D4RXelkZJIv4JJ4qjgKxF47l3YGmLC3L9impPy/PR9XET hdJTCfQD4uEEndVE1DHVEzoZCUme4+x/D/5J3aAHpKFrn4lcOrZj6hufNWQiQhvxCMAq 64mq+slmCV1EXqRk3zQVOfMh4zQfuh8Y7xIlQWhl3kbjQ9QTcvxmkZEIAl/iF2bxKDat rSyYHE1isXTuvXDMRVYp9K3SH9NiQbvDcX/tfX3hDb5bgfLgzeddRuTmK86cN69AhWY9 sM1DPbSZ1/tMN2azc2HCPYCSS00IztQNtaWq4ZbCrVKH4SgazssvI9cdvQcK3HK7/q/S SMZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ICmQRM8Ttcu3nE+FhN8Dk1r9yi7i5Pj3cKYog5AH4uo=; b=MjgiQJPs0Zg8NN6DTNUCmijqqt81VS5NJ3uA6w2NYhSj+I/MRYTU2Fljt1cvkn3F+u XnoQZlQs1U/pPYqDB9rRj257XtEAvyg14vS6+1H9/TjgOqQpcYq3oGSqGZ0KlT9cSDSr CXs8AcrkpOWRl64swNq4BcQzkXLcQedFp6FkY56Ux0GUeMjE9EC7BDvDYxlj8VGIThff 4oLAWJWpX54y/vedDJK2rkaaUFogbSPeLyUHQwHd8WclmiqIxoUVpuXIe0zsdAqc7dj7 htEnN/AccMQmHV6k0PQlN4yXYIasj6oY/EtUuR+T9qIYZnxgzfsxMZ1vgMPQgSkCAAaB SDyg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=HJyxnAQb; arc=pass (i=1 spf=pass spfdomain=xilinx.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p20si13850711otk.73.2020.01.16.05.28.52; Thu, 16 Jan 2020 05:29:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=HJyxnAQb; arc=pass (i=1 spf=pass spfdomain=xilinx.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728982AbgAPN1j (ORCPT + 99 others); Thu, 16 Jan 2020 08:27:39 -0500 Received: from mail-mw2nam12on2087.outbound.protection.outlook.com ([40.107.244.87]:19584 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727040AbgAPN1d (ORCPT ); Thu, 16 Jan 2020 08:27:33 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WwpnR1rINxyC+fq6RCRdZbm/KKbE4LmtDdw3EKCBJDaOWBMGPFO/WT2rDPpLPTa6pnKbkN5BtAUSpha7D5EKmOWioR6y+mIl7azJK9PsA/UjKt2wT4MYgbB8UFq94qdxfbSCU8QJSgJW8Ytn68o9br/3y+K5GqQx+PIQ4AxiA6f+P0W7Z0xrUoQ5IGLyiBdSEvXwr/yVviUm7BKpZ8Wga9kgHNvFoq3ZDfa1CtFUf1qCTzugYteDT+i8BbCy8uKUIWV4V5mXaaedlHlTYKjJ2+YVJBrSlqaMmcQIfYcJkrmbSNDLzdGZE+lTZamAZh1LCMPVaz0/T7U30pEurWZ0LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ICmQRM8Ttcu3nE+FhN8Dk1r9yi7i5Pj3cKYog5AH4uo=; b=VBx8YvQvwT/6OWBn4jEeUqeT0cEdOJP7yLzcq9FkIchTx89w76BBXk79XMJIxt58J2JbLLHWuhJwPUSMY77U43MonD+qS7PqeumhZjtiLHXuJoUCLhqVUPK+A4hodX/PCuBlAqxEn0t6B8Zn2zokaVx+K7VLGIQh9MOPHNqrQNm4gDS3hK0Py+pHrIjHtQf2GKVbC7f4YVSfam2f91dwebAI5ddxQhvQaDV4w+ukkdIiteIp6hhnG37WmhZhTlsEGK9PtWaTYDRDgdq94CdIO2vSnBHE8yGIMKhTZcpbn4BgwkhzsBs218J6p9yzvOD8bCgbfl7YftrgqlAbOCaQ0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.60.83) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ICmQRM8Ttcu3nE+FhN8Dk1r9yi7i5Pj3cKYog5AH4uo=; b=HJyxnAQbZyStUYRnqHo3oZApB/Tr4GGA8ClEwSgswRerIIL6cY5Un+7SBGvT2VKC2Hhh76Q5NKBNvYoDcIjFv1Ytu4Ph1Xu8fnt9i9XsCL1GVeFtXoSSHrpG3icgLnUsZIw7yLOwS6nWzRE2mHXo3rT+PLXdHXWDStQqQJIWkA8= Received: from BYAPR02CA0014.namprd02.prod.outlook.com (2603:10b6:a02:ee::27) by CY4PR02MB2198.namprd02.prod.outlook.com (2603:10b6:903:a::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.17; Thu, 16 Jan 2020 13:27:30 +0000 Received: from CY1NAM02FT004.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::200) by BYAPR02CA0014.outlook.office365.com (2603:10b6:a02:ee::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.13 via Frontend Transport; Thu, 16 Jan 2020 13:27:29 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT004.mail.protection.outlook.com (10.152.74.112) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.2623.9 via Frontend Transport; Thu, 16 Jan 2020 13:27:29 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1is5BI-0005vn-J8; Thu, 16 Jan 2020 05:27:28 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1is5BD-0001Df-FJ; Thu, 16 Jan 2020 05:27:23 -0800 Received: from xsj-pvapsmtp01 (xsj-smtp.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id 00GDRIQo016384; Thu, 16 Jan 2020 05:27:18 -0800 Received: from [10.140.6.6] (helo=xhdappanad40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1is5B7-00018J-It; Thu, 16 Jan 2020 05:27:18 -0800 From: Srinivas Neeli To: linux@roeck-us.net, michal.simek@xilinx.com, shubhrajyoti.datta@xilinx.com, sgoud@xilinx.com Cc: wim@linux-watchdog.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, git@xilinx.com Subject: [PATCH 6/9] dt-bindings: watchdog: xilinx: Add binding for Versal watchdog Date: Thu, 16 Jan 2020 18:56:54 +0530 Message-Id: <1579181217-31127-7-git-send-email-srinivas.neeli@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1579181217-31127-1-git-send-email-srinivas.neeli@xilinx.com> References: <1579181217-31127-1-git-send-email-srinivas.neeli@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(4636009)(396003)(39860400002)(346002)(136003)(376002)(189003)(199004)(2906002)(70206006)(356004)(6636002)(6666004)(4326008)(70586007)(9786002)(36756003)(2616005)(8936002)(81166006)(5660300002)(81156014)(186003)(7696005)(316002)(44832011)(478600001)(8676002)(26005)(426003)(336012)(107886003);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR02MB2198;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;LANG:en;PTR:unknown-60-83.xilinx.com;MX:1;A:1; MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dc2c748b-ff66-4342-ea33-08d79a87d5a3 X-MS-TrafficTypeDiagnostic: CY4PR02MB2198: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:3826; X-Forefront-PRVS: 02843AA9E0 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: N1REqIkAVvb90qxPgZTt4TxUuC77SkeBY9nUrswVcFj5oRcmE5wHgkHiy5ONs+pfEJM1cFDi6ViRGIUxFsZA60JSNowpgq/pv860mdsdUDkaNDcH4LF3F/4aDev+iyjVIFK8BJlfO6/Wqbf9hGaP0LkCrzmWmx0tfPF9aNffHnQPf5p7QVBYit5MOZoSujw1xVm67gZNL8kYWdUapVUHc47KCcEzabQEtt9+Pg1VeAb3Z3A4BrvBkjBwlJcr79pYE8HeRCtG5xR/Vcb0KAOuaIORlCPYXcClqHpeySbJXrEi5xo9R/92It2S9qKyDijbfV5p+0IMivOmKSDfIQWf71KIREZhiJ1+QXcntTJT5zIql2WkcbpsBgR828+sB8NWC6cRNZv+Zri3JIDcRCRlbgq36nCJwur93QWDVIU/TXMzgwhURLN0yWP/iGgyVGkx X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2020 13:27:29.0445 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dc2c748b-ff66-4342-ea33-08d79a87d5a3 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR02MB2198 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Goud Updated watchdog binding for Versal window watchdog. Added timeout-sec DT property. timeout-sec is optional property for Versal window watchdog. Signed-off-by: Srinivas Goud Signed-off-by: Michal Simek --- .../devicetree/bindings/watchdog/of-xilinx-wdt.txt | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt b/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt index c6ae9c9d5e3e..10d68003158d 100644 --- a/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt @@ -1,21 +1,28 @@ -Xilinx AXI/PLB soft-core watchdog Device Tree Bindings ---------------------------------------------------------- +Xilinx AXI/PLB soft-core watchdog and window watchdog Device Tree Bindings +-------------------------------------------------------------------------- Required properties: - compatible : Should be "xlnx,xps-timebase-wdt-1.00.a" or - "xlnx,xps-timebase-wdt-1.01.a". + "xlnx,xps-timebase-wdt-1.01.a" or + "xlnx,versal-wwdt-1.0". - reg : Physical base address and size Optional properties: - clocks : Input clock specifier. Refer to common clock bindings. - clock-frequency : Frequency of clock in Hz + +Optional properties for AXI/PLB soft-core watchdog: - xlnx,wdt-enable-once : 0 - Watchdog can be restarted 1 - Watchdog can be enabled just once - xlnx,wdt-interval : Watchdog timeout interval in 2^ clock cycles, is integer from 8 to 31. +Optional properties for window watchdog: +- timeout-sec : Watchdog timeout value (in seconds). + Example: +Xilinx AXI/PLB soft-core watchdog: axi-timebase-wdt@40100000 { clock-frequency = <50000000>; compatible = "xlnx,xps-timebase-wdt-1.00.a"; @@ -24,3 +31,11 @@ axi-timebase-wdt@40100000 { xlnx,wdt-enable-once = <0x0>; xlnx,wdt-interval = <0x1b>; } ; + +Xilinx Versal window watchdog: +watchdog@fd4d0000 { + compatible = "xlnx,versal-wwdt-1.0"; + reg = <0x0 0xfd4d0000 0x0 0x10000>; + clocks = <&clk25>; + timeout-sec = <10>; +} ; -- 2.7.4