From patchwork Mon Dec 28 10:01:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "bhupesh.sharma@freescale.com" X-Patchwork-Id: 7925211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1E7DD9F349 for ; Mon, 28 Dec 2015 10:04:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 28ECF2026C for ; Mon, 28 Dec 2015 10:04:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E8EF52025A for ; Mon, 28 Dec 2015 10:04:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aDUdf-0007yv-3x; Mon, 28 Dec 2015 10:02:51 +0000 Received: from mail-bl2on0131.outbound.protection.outlook.com ([65.55.169.131] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aDUdT-0007w2-Ui for linux-arm-kernel@lists.infradead.org; Mon, 28 Dec 2015 10:02:41 +0000 Received: from BN3PR0301CA0050.namprd03.prod.outlook.com (10.160.152.146) by BN3PR0301MB1299.namprd03.prod.outlook.com (10.161.210.154) with Microsoft SMTP Server (TLS) id 15.1.361.13; Mon, 28 Dec 2015 10:02:17 +0000 Received: from BY2FFO11FD005.protection.gbl (2a01:111:f400:7c0c::138) by BN3PR0301CA0050.outlook.office365.com (2a01:111:e400:401e::18) with Microsoft SMTP Server (TLS) id 15.1.361.13 via Frontend Transport; Mon, 28 Dec 2015 10:02:17 +0000 Authentication-Results: spf=permerror (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: PermError (protection.outlook.com: domain of freescale.com used an invalid SPF mechanism) Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD005.mail.protection.outlook.com (10.1.14.126) with Microsoft SMTP Server (TLS) id 15.1.355.15 via Frontend Transport; Mon, 28 Dec 2015 10:02:16 +0000 Received: from b45370.ap.freescale.net (B45370-01.ap.freescale.net [10.232.40.50]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id tBSA1eXu024562; Mon, 28 Dec 2015 03:02:10 -0700 From: Bhupesh Sharma To: , , , , , , , , Subject: [PATCH v4 1/2] Documentation: DT: Add entry for ARM SP805-WDT Date: Mon, 28 Dec 2015 15:31:23 +0530 Message-ID: <1451296884-7932-2-git-send-email-bhupesh.sharma@freescale.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1451296884-7932-1-git-send-email-bhupesh.sharma@freescale.com> References: <1451296884-7932-1-git-send-email-bhupesh.sharma@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD005; 1:3DLeeeIc8KGEPfMUAc/vv2JxqkfNJAfzU8tfQW47tY+mrjMGWNsxqgJQ3xWNOF57e5v+3M5xMGfY6UVeZ6piMfV59n11X7yqLDhTeAIpJQlZIOs/rAenzqduYPa9Me1xvRdGk1QXTqa2sVt3AEyuYZ5VrisIFg8PK8+qcoFAmZJpGzX18FgydicVd04lRMqFyPT9G5bFsSAXZP/chLL2/HC4YwaVMr9yJGeKBl7fqVhnNtM3N4qtnUlmD2Yf99aMocJhrSlLxMz4JvrghK76QmWvr8hyhB4lFSr+A60T4cv1VUhGiBmnFPQQ979O4eNuf7UNzgBDch0oB1Mnt+Gz5Q3I/KcTBQkEYMiZt+MzsC/W6RBKU4lyC7nNKOqP2yMvN+fx4dOi0wR4mGPnUiHYtO+jRl7mF8f/5kZETgOK1DQ= X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(448002)(199003)(189002)(85326001)(1096002)(19580405001)(86362001)(2201001)(87936001)(575784001)(76176999)(69596002)(19580395003)(50986999)(92566002)(2950100001)(106466001)(229853001)(77096005)(50466002)(50226001)(48376002)(33646002)(47776003)(36756003)(4001430100002)(81156007)(6806005)(5008740100001)(97736004)(107886002)(1220700001)(5001770100001)(189998001)(5001960100002)(104016004)(586003)(5003940100001)(11100500001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB1299; H:az84smr01.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1299; 2:LHbQrlelgCSSLNV/0SyO8eJyVcHJ57E58i88zJ+GHPbawlnB6vXMyTJecDGB9xcIF5DkBfOTDWAgyX1vHRwghxSQOJz9VBEZ+4a85Qi1ySn1tkWzMswCEGEzutvN/Vb6A4Xaaf90ag/itReraVO1vw==; 3:RDaOgjsv1MqwJyrmeFQxeX0DGyo5WOXd7ixbQ02tcwVsQRd0jsoz0nj3riMvmXOGDkowqvssKkhSrOtu9BRl298geswlXufWbYInso3up7c2vqxh1aanWd1s6YlogYmwLjqFzwApT6iVRdM3X/b146Rt8Iidm6OfqHItmbVSwl+JRXr08sQx6FPa4x0SYX+oPxIPBEHD+fZyd/qo3YBewKFDERsuPQ7REYzszBo2RiE=; 25:btBEEErHfMnq8rXNk+0zDay5muWWZVDcARFxcHY/QiEWWJ46ZQN2CGa+AxKbSww4xGsmG26kGHZJasX92cL3icdygagND73DpJ+MxTqXtzqQb03n37dQ42vEoEHbPBmjZnGHof+GDkkStnI+enjKnkbB3kE9az2epCCujDVI6BFODAMMy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101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(10201501046)(3002001); SRVR:BN3PR0301MB1299; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB1299; X-Forefront-PRVS: 08041D247D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB1299; 23:cWObtVOu1oAtqkpnKik311GZW1+Sex0NpTWY9pZ?= =?us-ascii?Q?2+TM0pr0nccJ6VVfy2U71XDsT8qnlhK1lYd7/t0mgevDLDlH9uYIibx+RhTR?= =?us-ascii?Q?l6Z+Nof1e8S7vRdQHDMCzJ5Qdl9Kh+lak8GeG339NroNr8x08TpwbdunIrOB?= =?us-ascii?Q?ptKcT+y63+AbYeVbnCexssVy2CmJJ/afxIjrfFmgU6qCeNORo0lYjZcie6c5?= =?us-ascii?Q?Ua4lXFJ7qv4sG0tGAcSDue29p/H7t3A01WFt/xJNubzIcOt+JWYLT8NSiw8g?= =?us-ascii?Q?leqlDhXD1swlTFDCgtgcFIDAQVpuhI6Svlga1J2+Z5ZMSxLGRnN2Zt4jZTv9?= =?us-ascii?Q?tytkngXm1csnMwFr9OgXyGKtQzO/Ci3N8XilwyKQcAm24sZHJKJ/Wi6eANOq?= =?us-ascii?Q?ChgDab9FX57W6eVR9z+GD0tA/TeUkQy8Y9XCr6FbOQeopQGQuBS1tL3M4L7a?= =?us-ascii?Q?na7gcYTE45acqF74of3O64/Kruf7G9bQNRDaAlbQDAsVsNCVxtXwJflfpkOR?= =?us-ascii?Q?51q2Das4drMlFogZlIwy2gnfbq1TXwRBlJV7TFFZ/r2J3hEVBm77ewGe2Ata?= =?us-ascii?Q?Xr5D0f0QiFqxR62ma9RkYlcsmIn3N4cBtYed8+wTZR9qoah3ZLfwMsSKXtHm?= =?us-ascii?Q?kTrIln14Ln6UScYRqx3eLaK7CQmzpSI54N6I/PtmcMRt6Cd12bRD9CPPry47?= =?us-ascii?Q?/8oXZtxJgdQE1BhJNMlH6Qf4qiXRhEyQMxyHRcvwfwlIi9ovYpbEE5bRMIc8?= =?us-ascii?Q?zePkmm0cCQM2BQlbI5taeCVjTWLvNeDRZMIEmsd2bEzHmeIJCYOZhjSUq/CS?= =?us-ascii?Q?QZEpIfxJ+D7uEGNfjWvZxKrB9sJvEk/TzeJjrLmY4+f+B1i4jArXhqzGkMgg?= =?us-ascii?Q?iU0MOwQ31KnqJ+enEOaSA+Ws/6/PC1bXrHNa+HGV60XCq48LVNi4iQkZiXHT?= =?us-ascii?Q?WjO+Dx/+Sf7Cz5Rcb3Sig2Z9d1tU51oDJ9P2D8N4eeGniC89RlJqHUqiU2y4?= =?us-ascii?Q?63qYLJPFJWsQ0Y8N9ueAOk1ttQ5B5IZTP//eb6OZjvMgq21UBO0d+zWxMGZQ?= =?us-ascii?Q?/EeLsAXrQDAg1Szp5zhOXGKSaLEk8a1XexFCyaiWTjjVTkvF+dg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1299; 5:iiKwJgnTynRH24cV4pJ9VcLKPr7CPfq72eiwm2QIL1IB5+MHJDNq2fk6oLrRhAGFDvV47iWuAEqEGdBsoEBm2dHbDKG9RajjoQe/Kqn3uSbzAG9wOaSHIjjhVpkAb4EBkZn7Hk7/dXTKUcUuvdAWLw==; 24:dmFtfgh7GRjAx+WUGYzNKSY1VDyDRZcOYGMEXQSHYmYqXe8gk9MZ6EzEDNRPqrP2FelQFmaVHP4XIOClTWTA2PU29RTxrKymMZNqL4fZhDM= X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2015 10:02:16.4926 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1299 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151228_020240_348912_FE97A216 X-CRM114-Status: GOOD ( 14.48 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: LeoLi@freescale.com, bhupesh.sharma@freescale.com, Catalin.Marinas@arm.com, stuart.yoder@freescale.com, scottwood@freescale.com, bhupesh.linux@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds a devicetree binding documentation for ARM's SP805 WatchDog Timer. Signed-off-by: Bhupesh Sharma Acked-by: Rob Herring --- .../devicetree/bindings/watchdog/sp805-wdt.txt | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/sp805-wdt.txt diff --git a/Documentation/devicetree/bindings/watchdog/sp805-wdt.txt b/Documentation/devicetree/bindings/watchdog/sp805-wdt.txt new file mode 100644 index 0000000..edc4f0e --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/sp805-wdt.txt @@ -0,0 +1,31 @@ +* ARM SP805 Watchdog Timer (WDT) Controller + +SP805 WDT is a ARM Primecell Peripheral and has a standard-id register that +can be used to identify the peripheral type, vendor, and revision. +This value can be used for driver matching. + +As SP805 WDT is a primecell IP, it follows the base bindings specified in +'arm/primecell.txt' + +Required properties: +- compatible : Should be "arm,sp805-wdt", "arm,primecell" +- reg : Base address and size of the watchdog timer registers. +- clocks : From common clock binding. + First clock is PCLK and the second is WDOGCLK. + WDOGCLK can be equal to or be a sub-multiple of the PCLK frequency. +- clock-names : From common clock binding. + Shall be "apb_pclk" for first clock and "wdog_clk" for the + second one. + +Optional properties: +- interrupts : Should specify WDT interrupt number. + +Examples: + + cluster1_core0_watchdog: wdt@c000000 { + compatible = "arm,sp805-wdt", "arm,primecell"; + reg = <0x0 0xc000000 0x0 0x1000>; + clocks = <&clockgen 4 3>, <&clockgen 4 3>; + clock-names = "apb_pclk", "wdog_clk"; + }; +