Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8872086imu; Sat, 29 Dec 2018 05:37:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN4mXYNNzMTn1kLwGB6n9x1d36+gIXG9sLGpkjDRDAmlJX7yRzxfl527ffSFbAA/qTx4+fiv X-Received: by 2002:a17:902:7882:: with SMTP id q2mr32021507pll.305.1546090666822; Sat, 29 Dec 2018 05:37:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546090666; cv=none; d=google.com; s=arc-20160816; b=bes3MHNj9yyKtj0P+8oeLbTMZM6bxzQV7JdaOhnw20dN3VGyEmwi9T6PAMMQO8g/NJ 9qH84csalsm+Rt8hVTEiR/U5ga+ZAapO4k9AcRtom/gHu3bD4qTOBfBbpbQbYoivYZCt E5QCWb189p02+RHUvuACYhBw5oNrd/moM3Qfyt5rSw6hYfK0Fe4MiqZ7/RD7lBOoDP0D kyi1WdObofN3IGIuTmxHqxJXWPGbT4Q+hUYkWt1dHA+hZazv+IFnjjgFHLdnzh+2RJ8i 65UrwWaIZVRBNmC0ZxedX7Jj9H8fhPLPVL6QEPjGjHvSxPb3OFdeiEs8ofplbqecfaZ2 N5CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:message-id:date:thread-index:thread-topic:subject :cc:to:from:dkim-signature; bh=yNoUNnSem6EbS3EbqY4NhEL0gLEgGeVuPlrqRrbt5T4=; b=s4pQCUgoahhAq0c/az1bjyf3beIWEyWivyo9hTBWSRSKsx9I+qTejX/JCWxG7f2wXb lim2cOw1T5jm2if5O7PIZZK4qiUREu79goDRnX6QLqso5jBD2IlrX9p/ReSy624ydSfN wSZi3N9TBqShaJda3Ogk4Qv1pbmaJeFPelZw5SOVSv5/Xr/e0YFyytxFxLIvqF+I4zrW RS66XKP+NUk369h1/p0sO7Wr1baNV8qcfx90dodlnwicz0RTNLyj8fVkAamcgZi1W6s/ zaBc1rdqURTNR2Td3qAz2Z7BvY2gztVB6M+osRmpwZcXhu+PcPbfKlZO6P2yxOm+WTvR 5kFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=JFgLi0A+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 187si23112198pfb.41.2018.12.29.05.37.31; Sat, 29 Dec 2018 05:37:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=JFgLi0A+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726932AbeL2Jjj (ORCPT + 99 others); Sat, 29 Dec 2018 04:39:39 -0500 Received: from mail-eopbgr130049.outbound.protection.outlook.com ([40.107.13.49]:4096 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726066AbeL2Jjj (ORCPT ); Sat, 29 Dec 2018 04:39:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yNoUNnSem6EbS3EbqY4NhEL0gLEgGeVuPlrqRrbt5T4=; b=JFgLi0A+bnSrk67n7RXDVFEHbaLPyEk9zOxQIgQh5tZ2ob4VKOvdlI8xHuUqivLAgHQXYv8F4Y5Awy3gLtJ6u7yPm7FzD3MyhNUqWwmLxkq03n4o6YErzFPYn2A46acejx7QHFt8aXQhv8BpiyqHnhbx10j3taFTI1d8lhUwIFs= Received: from AM6PR0402MB3911.eurprd04.prod.outlook.com (52.133.30.10) by AM6PR0402MB3320.eurprd04.prod.outlook.com (52.133.18.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1471.20; Sat, 29 Dec 2018 09:39:34 +0000 Received: from AM6PR0402MB3911.eurprd04.prod.outlook.com ([fe80::e0f7:5b3f:bb6b:759f]) by AM6PR0402MB3911.eurprd04.prod.outlook.com ([fe80::e0f7:5b3f:bb6b:759f%3]) with mapi id 15.20.1471.019; Sat, 29 Dec 2018 09:39:34 +0000 From: Anson Huang To: "daniel.lezcano@linaro.org" , "tglx@linutronix.de" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" CC: dl-linux-imx Subject: [PATCH V4] dt-bindings: timer: gpt: update binding doc Thread-Topic: [PATCH V4] dt-bindings: timer: gpt: update binding doc Thread-Index: AQHUn1po6Cv6jEkmxkOQOg/6Eu+hiQ== Date: Sat, 29 Dec 2018 09:39:34 +0000 Message-ID: <1546076081-23196-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK2PR02CA0168.apcprd02.prod.outlook.com (2603:1096:201:1f::28) To AM6PR0402MB3911.eurprd04.prod.outlook.com (2603:10a6:209:1c::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM6PR0402MB3320;6:nMnTkL1A05/RGNYmsyS8Yimf79DqG29/80QknuxvI128pXvL2WYa/SGP7TkISWyyEltOU1+Yq8lkqxWcWpXldavoxeM7rp2zGKMBhhwdM1CS0mmrOTIw4g8ZEU9HWahiyAgoJeiEiHlDTEhw0N3ni6GvvvrvYsS43Czn2xnIrLtBcTVdzJyQQhKyZkycD5WAHp3TkgKrTNJ7/u1wmQoj40wAMk5ibmegGgPyP8QEz7cGOvCdkG3HY/IHK/amJ33NdYGrR4J77MrI0CXXPujzLNFR2TxFQB2ijTBvFu1W1UZpe9iAF17ZojDTdXxZUruU5gQZliRXFnzfVZDZVkJn72qnEHfdQ1VJwhdesgFMy8g5JrL7Rtc9IPmT1iqr8eec6JBJzC+qieUdRsu5EFI/PE35aUrBtoLsHtZxcrk7O2a1EmkKYuY742U34ZOOAMZ5q/RzG3okEwBFnINi5jXsQw==;5:N6s0Q+iddJ630i0QOxmFeO3NbtCkAFs4MYMwGUr1SpuD88WQBaUOFGdRVM/HSZMkvSfdpUhTxtalqKyiIzCc7xd6CYQlM+Rv3TLQ4LkR1ho8rzb+/bAVz9/2vG11XqTshhxq2gjfRefT9071q313OMjGRt+3bYdkYZXgudk+JQA=;7:ssco69Ism1BwExmq6jViJgRO8Cd6Vm060uMJVbJWewL4AkxQyGhHQV5hopWsfi5ZCTeeO0nUw2jspakY9G20tpAwfSFv1cB/yjKnIpVCxxRV2WiENdiEhR8K/HaPWTLOROMigvZ8z7D+LO4X31Oemg== x-ms-office365-filtering-correlation-id: f7fdd809-0fbc-475f-60b2-08d66d718a20 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM6PR0402MB3320; x-ms-traffictypediagnostic: AM6PR0402MB3320: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(2401047)(8121501046)(3231475)(944501520)(52105112)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041310)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095);SRVR:AM6PR0402MB3320;BCL:0;PCL:0;RULEID:;SRVR:AM6PR0402MB3320; x-forefront-prvs: 09011458FC x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(376002)(136003)(396003)(39860400002)(366004)(54534003)(199004)(189003)(8936002)(478600001)(81156014)(8676002)(50226002)(6116002)(81166006)(2201001)(99286004)(2616005)(6486002)(476003)(305945005)(110136005)(15650500001)(7736002)(256004)(14444005)(316002)(86362001)(97736004)(3846002)(486006)(14454004)(105586002)(68736007)(106356001)(102836004)(6512007)(25786009)(52116002)(71190400001)(71200400001)(4326008)(2906002)(53936002)(26005)(386003)(6436002)(36756003)(6506007)(186003)(2501003)(66066001)(5660300001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR0402MB3320;H:AM6PR0402MB3911.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: uPXrqLLE9qfE3iVxn/RXC5LmVZQ8FAg10Z/dhKmAAscqwmaUY/B9dDJ7oyUle+qIfNA4ZGtUd2kPGYxSl/jIW0H7ZnPPkNQujjAXIHTKi0r/cjEIlKMXJ+qDnzYI43j/TtROjxg8YBcZpCCw2KniJ+MiNwSdgKcZI1VqYL+2/ws3q4TGul29qMhjJslGbo8ymAl67/rV45SgOmX0QW452/YYe5r9lG61MAAC0JsdY1+kn1tz3YRAOE0ksHobTsv/JGgVYdHlG++7SiCMIjWa9HIpakgfKXnE+3qU5TvijYDBwcASrZG0sqUrVsGnRSKX spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7fdd809-0fbc-475f-60b2-08d66d718a20 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Dec 2018 09:39:34.3113 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3320 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The i.MX GPT timer driver binding doc is out of date, update it according to current GPT timer driver. Signed-off-by: Anson Huang --- ChangeLog since V3: be more specific about the backwards compatible of each SoC; --- .../devicetree/bindings/timer/fsl,imxgpt.txt | 39 ++++++++++++++++++= ---- 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt b/Docum= entation/devicetree/bindings/timer/fsl,imxgpt.txt index 9809b11..5d8fd5b 100644 --- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt +++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.txt @@ -2,17 +2,44 @@ Freescale i.MX General Purpose Timer (GPT) =20 Required properties: =20 -- compatible : should be "fsl,-gpt" -- reg : Specifies base physical address and size of the registers. -- interrupts : A list of 4 interrupts; one per timer channel. -- clocks : The clocks provided by the SoC to drive the timer. +- compatible : should be one of following: + for i.MX1: + - "fsl,imx1-gpt"; + for i.MX21: + - "fsl,imx21-gpt"; + for i.MX27: + - "fsl,imx27-gpt", "fsl,imx21-gpt"; + for i.MX31: + - "fsl,imx31-gpt"; + for i.MX25: + - "fsl,imx25-gpt", "fsl,imx31-gpt"; + for i.MX50: + - "fsl,imx50-gpt", "fsl,imx31-gpt"; + for i.MX51: + - "fsl,imx51-gpt", "fsl,imx31-gpt"; + for i.MX53: + - "fsl,imx53-gpt", "fsl,imx31-gpt"; + for i.MX6Q: + - "fsl,imx6q-gpt", "fsl,imx31-gpt"; + for i.MX6DL: + - "fsl,imx6dl-gpt"; + for i.MX6SL: + - "fsl,imx6sl-gpt", "fsl,imx6dl-gpt"; + for i.MX6SX: + - "fsl,imx6sx-gpt", "fsl,imx6dl-gpt"; +- reg : specifies base physical address and size of the registers. +- interrupts : should be the gpt 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 "ipg" entry first, then "per" entry. =20 Example: =20 gpt1: timer@10003000 { - compatible =3D "fsl,imx27-gpt", "fsl,imx1-gpt"; + compatible =3D "fsl,imx27-gpt", "fsl,imx21-gpt"; reg =3D <0x10003000 0x1000>; interrupts =3D <26>; - clocks =3D <&clks 46>, <&clks 61>; + clocks =3D <&clks IMX27_CLK_GPT1_IPG_GATE>, + <&clks IMX27_CLK_PER1_GATE>; clock-names =3D "ipg", "per"; }; --=20 2.7.4