From patchwork Tue May 29 17:04:34 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: 10436465 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 0529A602BF for ; Tue, 29 May 2018 17:06:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E85702863B for ; Tue, 29 May 2018 17:06:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB8C028A78; Tue, 29 May 2018 17:06:02 +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=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 100E528A3F for ; Tue, 29 May 2018 17:05:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936821AbeE2RFV (ORCPT ); Tue, 29 May 2018 13:05:21 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:40166 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965148AbeE2RFS (ORCPT ); Tue, 29 May 2018 13:05:18 -0400 Received: by mail-wr0-f195.google.com with SMTP id l41-v6so26790292wre.7; Tue, 29 May 2018 10:05:18 -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=1L6xGewvRYmvC9fDfqYSGid+WPvJ7pZvkmFdMqWI/3s=; b=b3nuNJwJTVR6QDYQqrZ0hvRzKgylJ5eSLqA7yRXLTCO20YgeaHdlqou+U/+pm8fEwT 7KYetS4DNqc/e6Eo0bDY/eNeB0oIffxfhX0btIIdahqtNn+1h/YIdaFQJOs6VEOZkHzm ji1LOkGH3I4rPswcPI8ZuzwIyz3Zz/oR3bSBU/M2NLViSsSDGPr3k2C9wvJgUOjUeQgG 26EGpkPFeBSxmvPVzBfiz0UL6wADB2IyFAjvqLWcLjw4auCz6rUgXE2WGGLH1lYc7Sl5 UeOxb0MOpUaC6ftL3wMmjPSfV6AzITxFxd2HkQfs74lKJe6eS2tkmC1htQWiCVb6druJ Rj+Q== 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=1L6xGewvRYmvC9fDfqYSGid+WPvJ7pZvkmFdMqWI/3s=; b=a61q5Aq8VNP2+hEgZxiEqgbgjA4E25YFktwAS1uCEydl2fkVUV3qK/9MGDNNHLYwt5 HBD4+1kEx40mC9whBDw63FBvs354lgpqjg08fNUxkruHyWPxsilJDX0fZP6hx3Gi8Khy n8K+btShp2anthSksFgbsIhb5cV87jbpl/sU7VXfZYSc1pHFTu85wpm2VBGWH2yWiBfc XagS1zl+PAMrx7XX4xCLvF32H3uJOCNAid+a+6jSnCvLaoyTprzRZVzVfpPFMYhq23Q1 3Qa+Q1B786hAIRW7R4bmc7v9rq9g9JBoaI6HtAXDOLQ3+1fu7JbN2aueTokTJaSAsFX3 Z/0A== X-Gm-Message-State: ALKqPwdy/Qi1sNcKPdXuhNusGtINs2BePBKFmMDCi6TxT4uRau8SYnV3 cOyOFjj6NOwfwnWE1GIyskU= X-Google-Smtp-Source: AB8JxZrHdpGgR6EOOsZWr+1bhM6VW6yDYaZgiO/cPR/52ySGlUWtmTW0DVu+WahjkuBllVniv21gFQ== X-Received: by 2002:adf:bf08:: with SMTP id p8-v6mr13728213wrh.166.1527613517253; Tue, 29 May 2018 10:05:17 -0700 (PDT) Received: from cperon-Latitude-7490.devialet.com (static-css-csd-151233.business.bouyguestelecom.com. [176.162.151.233]) by smtp.gmail.com with ESMTPSA id s132-v6sm2487384wmf.5.2018.05.29.10.05.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 May 2018 10:05:16 -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-clk@vger.kernel.org Cc: Fabio Estevam , Vladimir Zapolskiy , Sascha Hauer , Rob Herring , NXP Linux Team , Pengutronix Kernel Team , =?UTF-8?q?Cl=C3=A9ment=20Peron?= Subject: [PATCH v3 3/5] Documentation: DT: add i.MX EPIT timer binding Date: Tue, 29 May 2018 19:04:34 +0200 Message-Id: <20180529170436.22711-4-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180529170436.22711-1-peron.clem@gmail.com> References: <20180529170436.22711-1-peron.clem@gmail.com> MIME-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.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/clock/imx6q,epit.txt | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/imx6q,epit.txt diff --git a/Documentation/devicetree/bindings/clock/imx6q,epit.txt b/Documentation/devicetree/bindings/clock/imx6q,epit.txt new file mode 100644 index 000000000000..a84a60c6ae35 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/imx6q,epit.txt @@ -0,0 +1,24 @@ +Binding for the i.MX6 EPIT timer + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible: should be "fsl,imx6q-epit" +- reg: physical base address of the controller and length of memory mapped + region. +- interrupts: Should contain EPIT controller interrupt +- clocks: list of clock specifiers, must contain an entry for each required + entry in clock-names +- clock-names : should include entries "ipg", "per" + +Example: + epit1: epit@20d0000 { + compatible = "fsl,imx6q-epit"; + reg = <0x020d0000 0x4000>; + interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX6QDL_CLK_EPIT1>, + <&clks IMX6QDL_CLK_IPG_PER>; + clock-names = "ipg", "per"; + };