From patchwork Mon Jun 4 10:00:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 10446233 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E6027603D7 for ; Mon, 4 Jun 2018 10:02:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D5FF628BCF for ; Mon, 4 Jun 2018 10:02:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA92028BD0; Mon, 4 Jun 2018 10:02:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 623E628BD9 for ; Mon, 4 Jun 2018 10:02:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PCCspeD/pfxjwOXencQOVWD8uJzoffMDI4HucVqfh48=; b=dcxt3d7hlhci3T +2RuFpnlrV0TXYyiIVVqSjldYUIF9SgnVT6hqlEV/mIwAaFtSJ/L97zr4N6mFqrzHOj7lKIvtxklW 4XCXxvNuOkhlWkApYUcqgg2XHnszIrBq1Rx0IwnBAmzKqm5lfTXkwLYP0E82mdg2sD0EEQuh7X/uW 9DVUUSu8lVhw7sEjvSXbDARm2Bj+I3mlbmT73ZS7yQMMvms3dEsJWzQMLOPWJo79rGYUjYZb2W9M0 AzG3ITjQwqzx1JEvB6jYgFEsDfuM7wJYEnTIE7qWKob6SdJx91X/k2w1/Na2xOzRZfKPd40UDQKIw vLp2/w9bLr/CI4bf06Hw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fPmJx-00030B-IY; Mon, 04 Jun 2018 10:02:37 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fPmIb-0002Ie-1c for linux-arm-kernel@lists.infradead.org; Mon, 04 Jun 2018 10:01:32 +0000 Received: by mail-wm0-x244.google.com with SMTP id e16-v6so2970121wmd.0 for ; Mon, 04 Jun 2018 03:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=M+mJ+vQCM+jDzkqohgZahT05FhcjmB1E1b6hL0Ii17E=; b=bPQjGGXMU46N6sSh0+7GHGhYbdRn0crbeKN/L/mzi1m91jJyzzAQJLat+4RXknINFH 17qcO5kYnBTyeGfDz2hNIDosb1rfsBF0Hi3gh3jlErhicmvgnkMu/RveEJYhFTzEP7sy bplZLWkj1LJJPmfYjBUxb+0/sIsmxWtsV4UCGmr2Gc+8bBGbzZqMfuuSk3EFSvBUabJ1 BbgO3vRlM4gXKqIdGJNW+Ltr5Ca+y7yT3PxpXBbgS7PObExp8FE7njizkKMrHy7HQHWS 1ZHRh0W+cCnepF6J5gPFk/2PhABETgL0XAUXLDm4ABFBYei1+ocNVSKO4NZ6KiEyRxwc OlHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=M+mJ+vQCM+jDzkqohgZahT05FhcjmB1E1b6hL0Ii17E=; b=uHkPS4AJtHkXkNPwPXxAG0FlsQDwsX1+OzZdlLeqysC1m3NwYzw4jPWV3XNrc2v29n nhUOInb2hUma8J2AnOUcRbM+sFuuCtWxtd51MwDq0/o/ZWlYXn+XJ0HOBli/VnD9uD91 RCMGkbSLofkgxJwpZSQeqZpoF9uceA+7rKZq8O6k4fEr8kmDdqRlneb0A1DzM/iainGH wS2eyOt7g2vVBCtRU6As9720k+5CSHjyaGo7K/MisAaD3yEvCMm9DwbbJa5I7i5dK6dk Vxjah5JhJKe5lPEpKv2jQXnQoWfyHA1vn95hBp2TrxNvz678LNeG0wJR9LzrreMxAgfv r95w== X-Gm-Message-State: APt69E07Cuq4GW0NDPtGbpW3e7Nr5EZFCXWEQZWus4lAq9VB48rG2GEJ Evtg6zHa/m/anA7XxElxAxc= X-Google-Smtp-Source: ADUXVKLalu4C0UVr2imLfwojd8O/kpWOrGf2EM4zgPdEeWB8ScJFnLh6DcHg4/+y/sGYd8w5vVEFyA== X-Received: by 2002:a1c:16ca:: with SMTP id 193-v6mr8386273wmw.37.1528106461222; Mon, 04 Jun 2018 03:01:01 -0700 (PDT) Received: from cperon-Latitude-7490.lan (static-css-csd-151233.business.bouyguestelecom.com. [176.162.151.233]) by smtp.gmail.com with ESMTPSA id r10-v6sm1075345wrm.66.2018.06.04.03.01.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jun 2018 03:01:00 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Colin Didier , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 2/4] dt-bindings: timer: add i.MX EPIT timer binding Date: Mon, 4 Jun 2018 12:00:33 +0200 Message-Id: <20180604100035.19558-3-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180604100035.19558-1-peron.clem@gmail.com> References: <20180604100035.19558-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180604_030113_123069_E74AE948 X-CRM114-Status: GOOD ( 12.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Sascha Hauer , Daniel Lezcano , =?UTF-8?q?Cl=C3=A9ment=20Peron?= , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , Thomas Gleixner , Vladimir Zapolskiy Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Clément Peron Add devicetree binding document for NXP's i.MX SoC specific EPIT timer driver. Signed-off-by: Clément Peron --- .../devicetree/bindings/timer/fsl,imxepit.txt | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/fsl,imxepit.txt diff --git a/Documentation/devicetree/bindings/timer/fsl,imxepit.txt b/Documentation/devicetree/bindings/timer/fsl,imxepit.txt new file mode 100644 index 000000000000..de2e6ef68d24 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/fsl,imxepit.txt @@ -0,0 +1,21 @@ +Binding for the i.MX Enhanced Periodic Interrupt Timer (EPIT) + +The Enhanced Periodic Interrupt Timer (EPIT) is a 32-bit set-and-forget timer +that is capable of providing precise interrupts at regular intervals with +minimal processor intervention. + +Required properties: +- compatible: should be "fsl,-epit", "fsl,imx31-epit" where is + imx25, imx6qdl, imx6sl, imx6sul or imx6sx. +- reg: physical base address of the controller and length of memory mapped + region. +- interrupts: Should contain EPIT controller interrupt +- clocks : The clock provided by the SoC to drive the timer. + +Example for i.MX6QDL: + epit1: epit@20d0000 { + compatible = "fsl,imx6qdl-epit", "fsl,imx31-epit"; + reg = <0x020d0000 0x4000>; + interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX6QDL_CLK_EPIT1>; + };