From patchwork Fri Dec 11 11:47:46 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: 7829191 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BAAA2BEEE1 for ; Fri, 11 Dec 2015 11:50:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CC155204D3 for ; Fri, 11 Dec 2015 11:50:21 +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 B75102057E for ; Fri, 11 Dec 2015 11:50:20 +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 1a7MC4-000352-8Q; Fri, 11 Dec 2015 11:49:00 +0000 Received: from mail-by2on0115.outbound.protection.outlook.com ([207.46.100.115] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a7MBt-0002le-UU for linux-arm-kernel@lists.infradead.org; Fri, 11 Dec 2015 11:48:51 +0000 Received: from CH1PR03CA002.namprd03.prod.outlook.com (10.255.156.147) by BN3PR0301MB1300.namprd03.prod.outlook.com (10.161.210.155) with Microsoft SMTP Server (TLS) id 15.1.355.16; Fri, 11 Dec 2015 11:48:27 +0000 Received: from BL2FFO11FD030.protection.gbl (10.255.156.132) by CH1PR03CA002.outlook.office365.com (10.255.156.147) with Microsoft SMTP Server (TLS) id 15.1.355.16 via Frontend Transport; Fri, 11 Dec 2015 11:48:27 +0000 Authentication-Results: spf=permerror (sender IP is 192.88.168.50) 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 tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD030.mail.protection.outlook.com (10.173.161.40) with Microsoft SMTP Server (TLS) id 15.1.346.13 via Frontend Transport; Fri, 11 Dec 2015 11:48:27 +0000 Received: from localhost.localdomain ([10.214.249.17]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id tBBBlscD023662; Fri, 11 Dec 2015 04:48:21 -0700 From: Bhupesh Sharma To: , , , , , , Subject: [PATCH v2 1/2] Documentation: DT: Add entry for ARM SP805-WDT Date: Fri, 11 Dec 2015 17:17:46 +0530 Message-ID: <1449834467-30283-2-git-send-email-bhupesh.sharma@freescale.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1449834467-30283-1-git-send-email-bhupesh.sharma@freescale.com> References: <1449834467-30283-1-git-send-email-bhupesh.sharma@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD030; 1:y4fcpdiiDO3KPC4BZfwGR1+bWRFzsM8z93/ZxuzLcY+kdqIeoo7CmXILydD7HIylat9oV1bqBlGdeCckTDfXgyffc2vtWvP4iXSwYUbhzDhK7uztNUPt72EWGeCmapET5hb00JTOgTsXQ2u8qdL+5jiauygDmEZ7YDiZhlGQ9PiUITN4DvMbWCoX1vIJuHwhHcgKvmHNIogFWwDyzxEbyKmoABVaTB60nM9lIZdMG2ArAND2Ghq7+3H9petVr+tlvRvJ8UdTM5hZlPeqcbS/BTjLrpAzTEOaXNyFUDs3ooE96TJhev9KVk4bSugKfAfUkLpcxwP0nyq20/seBFLtAjlNNtYEUsuj67iIi3FjKGSv/YNIYTLlLCycMXP2aWBR3xfqvttwxdNEdEdgcA0tfpOTypm0xLyu/D6XdsrXmBZO5TxsAWskVIejlr+Y8cBa X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(448002)(189002)(199003)(107886002)(586003)(97736004)(5001770100001)(81156007)(1096002)(6806005)(1220700001)(11100500001)(5008740100001)(50226001)(50466002)(19580395003)(19580405001)(92566002)(2950100001)(48376002)(189998001)(5001960100002)(4001430100002)(5003940100001)(33646002)(86362001)(2201001)(87936001)(49486002)(85326001)(106466001)(36756003)(76176999)(50986999)(77096005)(104016004)(47776003)(229853001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB1300; H:tx30smr01.am.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1300; 2:lO9KInWB9QGNeE1i7ogWXXgm9w1n+Fpxws1+Xl4DBfZUyVjo5lksLYx4AHSsD/OQhjNd2JDY4hPqCd2Dt7+pAz+XtVOEEGAYW9ZjbajjVPc+wSZ5u90sEJHDU9R+F0hNAEAmaeU4UHdnF+zi40TSkA==; 3:u3TPndBg75Rike0smKfT93sbDFpqvQT9RECRNMfE7JTq6aIvJ+a2+kDke2WgOmqh/4JJ3wFm24cq7X3Ev/yCiMYIOhHpFShtnCDwBo5f5xpjThp5JbZnl77MT4b1EO0df+LDE1zspYBEgJhDmbbv3nvBIUrIw0Tnv12TB3JO88Kttgh8ZxotzMpfq62XKbbD8tNCkVGFSTmR/WeUTCs6vWxdqjrXaoGSYbMmkwNRq50=; 25:3fRf4e5ZPyoekMZtFj0fYtID+lvQBswpt13JjXIj3kQ/RhL7AEgU1tk8cyCm5e+S7E5jO2R+dSwK7vCUoIEii1kIbDYN38Pyro+7bkejNwbCIgO6MhbnJQkIPwKTe/LWCIKdETYoAs28gNR47q/8dHUYu0cakft9QhO1cxixKp1X4SueLXiMDFH5gN/aQOzTVR/sqHZubmb4KH+1x6X3znUo0ZvaL0+entxNRvMgNOyCTdd6ZuJHWzqsHfwr4S+MBW0btNyaRyRkSIpDECcOUw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1300; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1300; 20:A+iEoMZsZgd5CIZcCtfmjZi7BcEDkfE7pXK425pD/HXMyVF+ndE7QAniKUdneAMXHZzg2ev/gcJNMoARCcZXwKq6ZPdXcE+bGWHTlDbu2pTbFZ4/14Xh+WFMflm+EV7zTo7tMWHHqrPfZg4Rd5AWT1yyZt6xfdpcrfQ6NoEWflEFWVEfuG46eGcwEuyrQUyH/QoQ9Xmg84u/dHUU2hXET2CRgYwSVIkPgMin8NT8Pk2vTX0aoMB263M4GPn9L1U35MCSF7EeHXhiX4aTIzigAF+Wql8AYLYq5ZawMhK5G0qDEP3lZUD6oUgfpZMKtyKI+/89YpnhYrRPLanc2tRNrj6C3Lv4eyq9WP2e/fdhxws=; 4:YxjcnQ51PbCc8sf6uIerv12CsdYa+qnCL3VTXTXedi1IsgCbPHUtJUgfyFdsP8Lc99m5BE4pZXjf8TyH0EhGH431WBrk0RiHOCRjQR79iKPBBJt0qqZ54bxomxpxAuDaA7oPGu+WLEr0sUDlhU6+NAWpBeIPqdMxiSfn0cuTjll/nAeMiwzkyfmHWvCBhZ6JBXlkJr63xl987vYRt0XRBIc6VZGzNjkzVrmToGtwm7KlqWupP8wRp6y8zjStCcRCK+mJFgdqeKB8Ue4ZiscQ60sMSBLQDLrljA3pPkJlRuvTyajTL2L7H8EfqlI89x6TTC5lsj85eZD/mi0j78iu7Jhi15aKvUvF3CyX7/7FVYQTceNFgV6+8b/h2G2V2aNB+nCHNA08Wq2wRpJ3pUrHGYeZYEKyvYmbBLDpBHGOXKtD6HFqYOhteWoykILdiOym X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046); SRVR:BN3PR0301MB1300; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB1300; X-Forefront-PRVS: 0787459938 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0301MB1300; 23:PoKNaxVYOcTBVtpLC1uAQmTzgVKr4INcZBzjKgW?= =?us-ascii?Q?RyN3No/DZhDfaFIAXV4qFtwAoqzVlOuYMh5Nnbz8h6M/bu6foNNPlPu8O6+4?= =?us-ascii?Q?BbSfR8dth2WNcg2KLFIvAASkOqynoy4BE4Gjy613vYqkPjqTZ08Q48nXWfhn?= =?us-ascii?Q?4a38uRdYSDi4WJQYsbq/ivbbxYd7iHGjwp0z89DCZE+a4GN6BkGK6LTOiXo7?= =?us-ascii?Q?w7nMK6M31NWSq0Z1Wu/NoGrsi/Bi2VZITcuMclXh3pY1pp3/js0lO1yNLP9L?= =?us-ascii?Q?IbWGW1adlTZ9N6jz6MKW2eqEsEsTxEya+xG6UFDGkAax1SadBGxghdOhgwTI?= =?us-ascii?Q?AqcWycoJ7aUBSUT/8XTkskpgDYXdE0tqw85EJ6/SiKL6K7k88xI51qZEOdUH?= =?us-ascii?Q?46PfKelyF80t4zSt4/ng3iOH4VKBAOBHvUZ7TEtXS8C8QcBHGvEZ+QCcXmjr?= =?us-ascii?Q?UtAEWR2VxtEjuBL8tPsove55w/x41wo0aK6nVFiuHlbKlcw3TpcH5YBwGMv2?= =?us-ascii?Q?Fqki+lhzKHJx2dC7F8QphvGT1CIY7DR5+/mFlqw6r3ADMWFSp6qpH2i+7heS?= =?us-ascii?Q?NzmM9P04kfhW7eNXKpq2Yr3gt0fLuOlSv2SoF3y3O/H3eioIXxFI5QoR72PB?= =?us-ascii?Q?VI2TKG+bgF3/ooGZDR/qR6UlRG566W1Buyjow9W07h3yUZBZvS551p+ngSIT?= =?us-ascii?Q?y4ywxqUSBi4hdMRCBaRpmGGKtQwwopDEqYmpNrjRUmZXaQreSzVw3rBT0nCZ?= =?us-ascii?Q?D6N2d826YL/79yvG7S3fZC2XdmMZdZ5lpyS0Sa+qIZ88HvlsQTS60UqkhrMz?= =?us-ascii?Q?emCx5VP5wK13S2eqWXQHZYO6FodbYHKV0gkuTcYzR0Wn6rs3eH0FCPhBn4Fd?= =?us-ascii?Q?RCA3lhGBMDcvF8bbtQIiuYbwfA1eDPFE2LgQ6M/dMljVatqJdmH4OjVF/Tai?= =?us-ascii?Q?sy9p+hWWk/iNN0l3os+RAXYBGQqhqicpcfbvhYEYmdM8cw/UTnHBxm0bAWlh?= =?us-ascii?Q?+KbtdmfL4WRUrhaJpz70R4lHt/6NJ95QT2nE8Fydj1VhaOQrTKgNBI/RuE4f?= =?us-ascii?Q?/WrICnab4jIPmsDkbZ/+k3hlPQ6uI?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0301MB1300; 5:oGamP1vkBJPGkhnRrpOGoR6jiIRQR5XT+bqHHYsx23Tk6YMZS8HmqP9fqxaA6Aq8jDcmP4xsjAu+jpwS3qBV+TTe8ZRPnzWpDPqvrs2jI9JVQLhC/Mp3D19QPvGYPNVuhh04go/T5ww6LUgouj+06g==; 24:tXkwQGQ242bKe4CRogFgtxnk5E2t8OL4wSaO/DgDfjkt/PZqcBTUzKlzGhBGdU252e3OdaMYK41jyQ5iemgHkd1bnsuDQZdGvOx0RN2Ij/U= X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2015 11:48:27.2993 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1300 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151211_034850_313001_B9BFA0E0 X-CRM114-Status: GOOD ( 16.04 ) 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, T_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 --- .../devicetree/bindings/watchdog/sp805-wdt.txt | 29 ++++++++++++++++++++ 1 file changed, 29 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..45b5afc --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/sp805-wdt.txt @@ -0,0 +1,29 @@ +* 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. + +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"; + }; +