From patchwork Wed May 30 12:03:25 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: 922749 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="KDjY4WGL"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40wq565PBNz9s08 for ; Wed, 30 May 2018 22:04:10 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752579AbeE3MEA (ORCPT ); Wed, 30 May 2018 08:04:00 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:54891 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752258AbeE3MD5 (ORCPT ); Wed, 30 May 2018 08:03:57 -0400 Received: by mail-wm0-f65.google.com with SMTP id f6-v6so47394436wmc.4; Wed, 30 May 2018 05:03:56 -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=Hupv7auuVlg0pIz73w25b63PRZIlALyVqpk8Bct7R+M=; b=KDjY4WGLYGlka1C0MujtSxyM8CcNWCh5LvPVeBFTkj6zEzbvYFhPtT/L+V22FPwt2Z 0nPg3pV1FpQTvccH3OwO7hzfNjdJ0xc7lGilG1vEYSRLViu0+vITsnY5PsOOjTkWNruI KoysBrxjWBRF6yP3XG/CVGy5vkPoxXpEGGAzlRnDMKYcxe/MBupxrSQykB5M2r8nJxCq gxCaDGizQ8dhF/b+XpIuGdhapBTiCjGw0f0//febfrgfpyJ9cktdz4QqKQJI5Dqksssy T+0nmG8wFin0rwot2Q1I7qTKDydoGWF0RNfuwgW8FpIVyRW7wCFp0NxWV2jXkF7Cod1t Lbgw== 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=Hupv7auuVlg0pIz73w25b63PRZIlALyVqpk8Bct7R+M=; b=emg6f2m4aw/7Vf9Wlj+krr+Jo6Yd5GjIUpXEsKC+URQr3u3Y2lfYdDgS9P1I9tt5Ls hufcy+lV5MafLpRUpi1dYSjquToPL8kLb9ovM8YIcP5EHsA1KG6SNXqN8cz1QKHuGA48 cm2cgzBzma8irs1LN0TanXSO28xTKp3CwBNTaW8ml8lRzsWO4CS6vvB5XEUJ6EA4R0vy qSDuOzfWCyK5prEi6yOo/1xUTOAaE9cor9XiRyDcF3/8hzxF1pYjEMLgJh1ZrY8bGz5k etlMQaIt3Th5MiLkNSCPj+CdUouQg3MA/9f2MmxBXaM6WFYtObdiCtWEB7dXTQdm/CyG GzzA== X-Gm-Message-State: APt69E0VWZ+7TGvz25YOAjwDlR2Xx4E8jIGzzKA+Ztl0V3kyM2LrG4Kx VcdZ1QY60TDj3Tq5Vw8/piY= X-Google-Smtp-Source: ADUXVKKk7Nnx683BbNQ0lLoD4CP/KabxlIoqGr5rJjxTzgm5azWUQ9utvI2JDSG4R+WGCLwC5cSElQ== X-Received: by 2002:a1c:e704:: with SMTP id e4-v6mr1223919wmh.119.1527681835608; Wed, 30 May 2018 05:03:55 -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 t66-v6sm14501839wme.6.2018.05.30.05.03.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 May 2018 05:03:54 -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 Cc: Daniel Lezcano , Thomas Gleixner , Fabio Estevam , Vladimir Zapolskiy , Sascha Hauer , Rob Herring , NXP Linux Team , Pengutronix Kernel Team , =?utf-8?q?Cl=C3=A9ment_Peron?= Subject: [PATCH v4 3/5] Documentation: DT: add i.MX EPIT timer binding Date: Wed, 30 May 2018 14:03:25 +0200 Message-Id: <20180530120327.27681-4-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180530120327.27681-1-peron.clem@gmail.com> References: <20180530120327.27681-1-peron.clem@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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 --- .../devicetree/bindings/timer/fsl,imxepit.txt | 24 +++++++++++++++++++ 1 file changed, 24 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..90112d58af10 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/fsl,imxepit.txt @@ -0,0 +1,24 @@ +Binding for the i.MX EPIT timer + +This binding uses the common clock binding[1]. + +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt + +Required properties: +- compatible: should be "fsl,imx31-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 for i.MX6QDL: + epit1: epit@20d0000 { + compatible = "fsl,imx6q-epit", "fsl,imx31-epit"; + reg = <0x020d0000 0x4000>; + interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX6QDL_CLK_IPG_PER>, + <&clks IMX6QDL_CLK_EPIT1>; + clock-names = "ipg", "per"; + };