From patchwork Mon Jun 11 15:49:59 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: 927758 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Lc9YzflQ"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="oSK0sRi9"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 414Hnr3KTfz9s01 for ; Tue, 12 Jun 2018 02:01:52 +1000 (AEST) 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=AqX9lF4AZjIkigYyHHpNhon1F1Iy4Dh2Tct+JOWRzqQ=; b=Lc9YzflQEsLF1y Ek0HgCNYHmWXRyhfAHoYcKQds4RazrlN0PtquVu34Qqh5rk+5CcF/yVR89HmNoqMd/Hqx/Bugx0AQ DGJ3VxRY5DXx+o6y9ujyGF3P0OeuSzL2ucrIwmSdzrQFgLPYC4i8MgeEAHyRPVfxSMc/EIz8Iq/V0 FOehuK0GeUhBO8dJCaDnGLrxDYsn5+vSVn6MHTSEjEV3bRFZ3n2GrF5lgiiG6/Uqy3z7UR3I7T1Sx kJLd1GemW8jTdoaSJk4xPdllmo26EQ6Mykeq8LAVoxojjDIzXIFYYc2zcCTIL/Pfbm//46+pwcxkA 5cdJI85BkgKhZH+VJRHg==; 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 1fSPGN-000252-ER; Mon, 11 Jun 2018 16:01:47 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fSP5L-0005NC-MQ for linux-arm-kernel@lists.infradead.org; Mon, 11 Jun 2018 15:50:25 +0000 Received: by mail-wr0-x241.google.com with SMTP id l10-v6so20949625wrn.2 for ; Mon, 11 Jun 2018 08:50:13 -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=SUr+6NOSsNUEwURPfi8G1Ijjt8fnnFLs1nUeW5tCN0I=; b=oSK0sRi9gjEhUiOFhSau5Duy8Jn+N2RtWiCVnCpaju0rfcDg1DT+/ZYdNeki64VvzD qGag8fTdmmp35QTzruP+PYoOw8rdidV1ix1HoCkY7xpQgVVCBBO6QdVtALIZLQBqMjF6 T1o77sCfdbTNVfQ50obL+a/VjjRTxBCSwLxQOoyzkxCE1llFb7h0lZk2ctHAekC15O+h PbGBnJpiAfNpy3NCEkH+wbEfUTlIN/a4+P3xlpsvfisWAyDj4+U8JzQzwd8QPvnJsEhg 5c/bazbG740Phy3xIHvCXGPWamzCHcU9OdZcKQX5Ry/AEs0vEL1M/IfHlgxy/CaVNJdk fW6Q== 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=SUr+6NOSsNUEwURPfi8G1Ijjt8fnnFLs1nUeW5tCN0I=; b=QFfzWB94ScpwdoD4dWYyXSoDbTzNTfJ4lOMr3Pqogktidz1H/MHl5dn9QLBfCXaSZU ZWCgNiXV+a2TUMAog+JKXch11HxIYx0wIqy7utZASXPocordQRHx0jdh7XItEOmqgbrG Id4nw+Xi9c6wdQI5xna3qbE31JivmENwsWveFI/NwLYCbXXshNL9IQ2VCEOxrV4J43Nn VNMCspo+QM7A3fxATDRgDPtroW+mjFP7TGpt4YhLYBx9jybCPm3oSdV7py41bnhEOFDb ZDKyX6pAONmbcc3hZCPLF1hBAb9OYof1xgbDgJgjSIFRZsQ+9tSnjZyBNeCUFy/6A1E4 6Qxw== X-Gm-Message-State: APt69E1eEdmzeuWpoKzw/2DFYfb9XaID+Tv8j8yxU0RhNUP4bbzQzMDt fZ8aiOWmDE7d0+dSrkGqyDE= X-Google-Smtp-Source: ADUXVKLI6WtBEQod9cOLr99RLOhLzxZ7xN2w5cc+oyjlXwABekfDOoj+WL1AG29N8SBwAWrZpsqzAg== X-Received: by 2002:adf:ee91:: with SMTP id b17-v6mr14460364wro.21.1528732211704; Mon, 11 Jun 2018 08:50:11 -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 n11-v6sm30308862wro.13.2018.06.11.08.50.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jun 2018 08:50:10 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Colin Didier , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 3/5] dt-bindings: timer: add i.MX EPIT timer binding Date: Mon, 11 Jun 2018 17:49:59 +0200 Message-Id: <20180611155001.3506-4-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180611155001.3506-1-peron.clem@gmail.com> References: <20180611155001.3506-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-20180611_085023_736850_72EF659D X-CRM114-Status: GOOD ( 12.76 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:400c:c0c:0:0:0:241 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (peron.clem[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Sascha Hauer , Daniel Lezcano , Stefan Agner , =?utf-8?q?Cl=C3=A9ment_Peron?= , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , Thomas Gleixner , Vladimir Zapolskiy Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Clément Peron Add devicetree binding document for NXP's i.MX SoC specific EPIT timer driver. Signed-off-by: Clément Peron Reviewed-by: Vladimir Zapolskiy Reviewed-by: Rob Herring --- .../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..819d6458a860 --- /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: timer@20d0000 { + compatible = "fsl,imx6qdl-epit", "fsl,imx31-epit"; + reg = <0x020d0000 0x4000>; + interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX6QDL_CLK_EPIT1>; + };