Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752052AbdFMH6q (ORCPT ); Tue, 13 Jun 2017 03:58:46 -0400 Received: from mail-by2nam01on0050.outbound.protection.outlook.com ([104.47.34.50]:23426 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751765AbdFMH6n (ORCPT ); Tue, 13 Jun 2017 03:58:43 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=nxp.com; From: Dong Aisheng To: CC: , , , , , , , , , Dong Aisheng , Mark Rutland , Subject: [PATCH V2 1/2] dt-bindings: timer: add nxp tpm timer binding doc Date: Tue, 13 Jun 2017 15:58:44 +0800 Message-ID: <1497340725-26594-2-git-send-email-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497340725-26594-1-git-send-email-aisheng.dong@nxp.com> References: <1497340725-26594-1-git-send-email-aisheng.dong@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131418143157028305;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(39450400003)(39380400002)(39840400002)(39850400002)(39410400002)(39400400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(54534003)(199003)(189998001)(6666003)(6916009)(2950100002)(5003940100001)(47776003)(97736004)(81166006)(81156014)(85426001)(356003)(39060400002)(8676002)(86362001)(4326008)(68736007)(50466002)(48376002)(50226002)(8936002)(2906002)(2351001)(53936002)(106466001)(105606002)(77096006)(36756003)(498600001)(5660300001)(7416002)(305945005)(33646002)(54906002)(110136004)(50986999)(8656002)(38730400002)(76176999)(104016004);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR0301MB0900;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD009;1:2T84aRdp6NnTYZ2eH8RYyOrl7EPSU28UjIwiPH2I8vlFu8HrsQApZ6HZLX1M57M3hRCOzNvpjdjsU+P8aySvcJdFGJ22URx+xJeC+fXYXvh705D5aa74aJz/I4O+0F70QQLXZIYP7w+Y9kSoMqWVuPB40G4TKbqnUUAk1jHaO7MPzGvr90cVpyRVJE+8caCV7zVqBroc+m4t4qe2jX81eMr7RIqzcSqR/f1FgA5spZGs8rT/i3FcprQh16my009XDBVHtKnup8NNJghj7dAcqFifjGaR9o8LSrUDaExfg6RUC0HJC4iHIpWZiaMHBG0FEVJy8m6LH/K8cChRLdfoNxRqHCCytsqm/uDOpKg5DLJdgw4+c2Ra8565CxtjwC3LHFxZjPMwKMHXPP4ygBuumbLLwuBStLartBNbvlsxi+CkqLjHt105RcmCCudc5qJHPFnKjOwqF6YTu7VMq/XcB9BKk3c1FCjA2o5/HE6zjMuOr3J25hXBJypJ2IWSPY/JnwgHjBoxPpHwYjaJDPar2AVc+YVB03zq5V5xwuY0bNRrD9wVWtjSA/TQoaUPpJL6H+Pwo7zkX9DkCDv+fePajQ== MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PR0301MB0900: X-MS-Office365-Filtering-Correlation-Id: 3890e6cf-d8b2-4bec-2470-08d4b231fe5f X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:BN3PR0301MB0900; X-Microsoft-Exchange-Diagnostics: 1;BN3PR0301MB0900;3:OzzpPJwz5E4dxre+ZLHxpHwrdT/IWXh1tnIPjlhwybQA8fqIQitgRG0Ztfc4GtrT1NKVf0m+6eOFCHtfp+xG5Q9MRYZZYZfc0+/tHxdUQ/zyLwXSm6NcpaLhOXxWePlE2bqDE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vSbNrLjijIJEQWbNohi X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(9452136761055)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(5005006)(8121501046)(13018025)(13016025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123563025)(20161123559100)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123556025)(20161123565025)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN3PR0301MB0900;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN3PR0301MB0900; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR0301MB0900;4:naa14auBX/HvrKSEI9h4LT8s84PenIADj5+/LXaf?= =?us-ascii?Q?cEV2WKZ+TPdenvNnNzhPy5UFikeqwIR8TBmVU4EqkW5KLP5z7Zn37LxMhunr?= =?us-ascii?Q?q6blJEXv4lyxgdoOaWm4uwG5nMxUds9q1t0n7jSRAeorD5e0fSATXddBAd2/?= =?us-ascii?Q?0cQDaXGOgQU4dHQWv/TyZA4mgxezvH9Y8HCpekeyjIgcGdK/y0dNam9tfwLD?= =?us-ascii?Q?XWZAnoRVY2PMLe6zM2Kfa/y7k6jE+hdIrU/CJGuTVbXK6tO5SuOtB0LeAVtl?= =?us-ascii?Q?EEa27BnwSiH+uFISmgYKAUfg2sZleav6Np/IEhMB50hqHeEY6wpGo2diICEz?= =?us-ascii?Q?Y7iq6lo925fE0EBKxaqrV+TBREFXHXiAnwNc8zjkMZWwWltE5jGHd5WfO5oT?= =?us-ascii?Q?HBJrxDjMyQxMtatCYp06HEQJOJ68C2zeOcizgS0tAbUCah9vQW5vBfuaiMZM?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v6MwMi07S0P5txOzdKu0GcCmw+U86tNIQQ475BQIUdh5WkTNKFXxRpPUXdgh+oGc461VPRtP71TNVgrwOrMLMxs+GeTO7pniOUEtn+eZ7WgRYkDwElyRVSXWlSkytGBP31THgMNYxIgq/pyKrXKBbVz3MZInppf9axTvQMBoSGq65PD1Ig7+dScontZTWJS4bKHKJOWQYFYTasveng== X-Microsoft-Exchange-Diagnostics: 1;BN3PR0301MB0900;5:489sHLZmdiwKLqpsS5/0C29qCoUOjqNmI02dxO0K8YgpSAzSNFGPOYR3hvMhBOpPprCpALfDFfa6cZpeyOvGZOg0pgYdCQjdvLsQEEx4Ae4l9+Jsda565zUdxfV/qbEX8+IKkKXiB5c7dvoLwrjWeWjNbsZZQbRKJBZHbYY4Xou4cZcBc79+vDrnquuAJ1RhdPkHGsDwPWrbH7lYNx27nEju8Wz8fHDQP2fMhtbiPiUvH/gtTqVfid5+p9pu0n5r9gBBUS1qavy53WNtvoAt1OQsIxPZPLPoIeEauOEuR0UHF4uTTsMeiq+L/z3f7I++AY2H2NiWdOfOV6WqjtEAjRxjlsZKVn7gAc7VB8hJ7V81aOP4GVRwH8jvliax/2WrWdOFCg7Is8fvMeXrqVWl9VT74f55P61IqH85pt6gSxYmBPokWICYPeOt/rz9L/ATWqdfKPsFogVY1i7dWEqwoD3ZPsFxZSPNY8UajBuO2GhZN+qJPU2vbc8Rjeio1iTxJXQVNCUED0xJ+CblyWJLdw==;24:Xj7RsSC3d1Pn3C/VPPEbrj0+Fk2UrmARYAulKG5UvW4zmvQ2rPV6qL+yop33mRwo4WYouhwoPqO4M31j9FjZharIvjOiNCfO/e2JG/T1jZk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN3PR0301MB0900;7:kjfqGadGZWIinnodeHn/PLGBGHK/bKZmiUKO6ZZ3oB+P4VhH2PDiWtK5mn1ii979p7UQu1fJByFsVvlVIzxgMjdcxvmH50A7B3uw6Ffy4fUmMfDCbWXdmrEclFfoABRNqsk9nICMMFH6VotGnTS5/tSIm47yBX2BuizJZ70llCD11jd3nBBz6AESXuGtZjE4fQfV7SCr15f4fNpVoeCNHL8CpOSRum+dnIaAUBH11nn4blgmlpFLUxaD75mKwSTIqqLGz8D9bwuK0UD+eDD0Kt4u4Q5Kx5ciuLbahrGcHndPdgZpIJ1kGR5SAq9oz7cfqX8IS+JdM4B8gaMCjLuoOg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2017 07:58:35.5000 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB0900 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2085 Lines: 57 Adding NXP Low Power Timer/Pulse Width Modulation Module (TPM) binding doc. Cc: Mark Rutland Cc: devicetree@vger.kernel.org Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Shawn Guo Cc: Bai Ping Acked-by: Rob Herring Signed-off-by: Dong Aisheng --- ChangeLog: v1->v2: * No changes --- .../devicetree/bindings/timer/nxp,tpm-timer.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/nxp,tpm-timer.txt diff --git a/Documentation/devicetree/bindings/timer/nxp,tpm-timer.txt b/Documentation/devicetree/bindings/timer/nxp,tpm-timer.txt new file mode 100644 index 0000000..b4aa7dd --- /dev/null +++ b/Documentation/devicetree/bindings/timer/nxp,tpm-timer.txt @@ -0,0 +1,28 @@ +NXP Low Power Timer/Pulse Width Modulation Module (TPM) + +The Timer/PWM Module (TPM) supports input capture, output compare, +and the generation of PWM signals to control electric motor and power +management applications. The counter, compare and capture registers +are clocked by an asynchronous clock that can remain enabled in low +power modes. TPM can support global counter bus where one TPM drives +the counter bus for the others, provided bit width is the same. + +Required properties: + +- compatible : should be "fsl,imx7ulp-tpm" +- reg : Specifies base physical address and size of the register sets + for the clock event device and clock source device. +- interrupts : Should be the clock event device interrupt. +- clocks : The clocks provided by the SoC to drive the timer, must contain + an entry for each entry in clock-names. +- clock-names : Must include the following entries: "igp" and "per". + +Example: +tpm5: tpm@40260000 { + compatible = "fsl,imx7ulp-tpm"; + reg = <0x40260000 0x1000>; + interrupts = ; + clocks = <&clks IMX7ULP_CLK_NIC1_BUS_DIV>, + <&clks IMX7ULP_CLK_LPTPM5>; + clock-names = "ipg", "per"; +}; -- 2.7.4