Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp196795img; Wed, 20 Mar 2019 17:49:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+aQbir1xtB+IxH5TPuUQSdaJ47J6HluWu+r5XzkLbOz+oAqDrntBv29wQP4szyx72SnJ5 X-Received: by 2002:a17:902:3f83:: with SMTP id a3mr689449pld.6.1553129340309; Wed, 20 Mar 2019 17:49:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553129340; cv=none; d=google.com; s=arc-20160816; b=SgDsxkjDxaYP2rA8KsqIfoj5+ZVC2MzSnGdxcrsFwYjQZvB7b83NUx+pu6/BbDOVAG 6VCIL0F0MhiTUXlAMtcYastZxFXvIg6ojmZFSjSf6DBAD59RTbsw7Cb7A9W3I51rYstk FtdOWMsWI091xj/1bsOkJhnHASRWcYafjLL38Y2gU03ARf6nD08btnGCjxqYI2urDElm 3BjL2XNqF9hY/wMlIKlWFIYeGnICPoahZNcDwTRDlhC2ByXHdeAG/zLydpXAVECF8NJK OsIiuKu3C6TOCPME4/09jeGr8tUPJ3TYp5YHHseVvgNuJWHX4GmDzoiobHiiEYehA+7E NfXQ== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=p7bljD9lZ4mC6RRtcbDDnwWpJtn6NgXSS9PeBDD/6xM=; b=pZaIH1oAp+gHUXUf8pOutuChnDWmVgM4LGFKHf7BuA2r9Tx1dZGn4ZkkWtz4E/CmQD fOWUFZqAx/sVtYZYY8rtfMoppeFMCLl7r3kSaVi1nz52iVngcfdxXz8suNNSrqcNGcNn a01D4WTcSjr6Q41bIeNObPQ6y4jsCUp5zmEhZNCCiqmSRQlIwin2E1MPuy0BZn8/g29G 4iIwwTUFyW4V4YonM9PBEXVd+olacdnLOKJ3G9WNbBsoXU/XIC/A3GtFh00lzn+l4v3R nWc1xh9quP7OEAIZWvgxuAUUV9t3v6KCwIJSQwdWqlS4CG8PMsYkM0D0DG462i+YLEQ6 V62w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=eNuFXU10; 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 e2si2785055pgv.511.2019.03.20.17.48.45; Wed, 20 Mar 2019 17:49:00 -0700 (PDT) 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=eNuFXU10; 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 S1727674AbfCUAr4 (ORCPT + 99 others); Wed, 20 Mar 2019 20:47:56 -0400 Received: from mail-eopbgr10047.outbound.protection.outlook.com ([40.107.1.47]:25504 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726169AbfCUArz (ORCPT ); Wed, 20 Mar 2019 20:47:55 -0400 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=p7bljD9lZ4mC6RRtcbDDnwWpJtn6NgXSS9PeBDD/6xM=; b=eNuFXU10C0MCtXqANx8MrjX5qVikinoc9lHVnC7UrwlAZ4FE1IYTAMq8EoXArIPEy4JPnyC2/Pq0wMno+OprTIPeydB4VY35BEbGWjLdtRq1N/ZZvJbCd8biZpdOcxgW7fkcfkrIPBOwgTtZWL3QrMfKx/22labIgTyCgIXdebg= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3738.eurprd04.prod.outlook.com (52.134.70.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Thu, 21 Mar 2019 00:47:51 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::f1b4:a1fb:cfd1:3f08]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::f1b4:a1fb:cfd1:3f08%7]) with mapi id 15.20.1730.013; Thu, 21 Mar 2019 00:47:51 +0000 From: Anson Huang To: "thierry.reding@gmail.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux@armlinux.org.uk" , "stefan@agner.ch" , "otavio@ossystems.com.br" , Leonard Crestez , "schnitzeltony@gmail.com" , "jan.tuerk@emtrion.com" , Robin Gong , "linux-pwm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "u.kleine-koenig@pengutronix.de" CC: dl-linux-imx Subject: [PATCH V8 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding Thread-Topic: [PATCH V8 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding Thread-Index: AQHU33+2twaJC+64skCGXSGjTeALwA== Date: Thu, 21 Mar 2019 00:47:51 +0000 Message-ID: <1553128960-17923-2-git-send-email-Anson.Huang@nxp.com> References: <1553128960-17923-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1553128960-17923-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: HK0PR03CA0087.apcprd03.prod.outlook.com (2603:1096:203:72::27) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) 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-ms-office365-filtering-correlation-id: 1eb53297-58c4-4777-c755-08d6ad96d87d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3738; x-ms-traffictypediagnostic: DB3PR0402MB3738: x-microsoft-antispam-prvs: x-forefront-prvs: 0983EAD6B2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(366004)(376002)(136003)(396003)(199004)(189003)(11346002)(53936002)(2616005)(71200400001)(486006)(3846002)(478600001)(476003)(6486002)(8936002)(6116002)(446003)(36756003)(66066001)(25786009)(102836004)(14454004)(26005)(7736002)(110136005)(186003)(99286004)(6436002)(7416002)(81156014)(4326008)(76176011)(81166006)(305945005)(6512007)(97736004)(2201001)(105586002)(386003)(256004)(50226002)(2501003)(68736007)(6506007)(8676002)(86362001)(316002)(5660300002)(52116002)(106356001)(71190400001)(2906002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3738;H:DB3PR0402MB3916.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: Q20W06kBPcEtV4VDttB3pFxsTs1d4vA4EpUvUPCPzY1VxmG0HlI1Yk1OwLYxd5GsFp5RhG7UEQRo1GOFhP03Sb3Pidmboy93zfyRdijwrUfx0ylN2FCcSpBlwfFMvTMXi6jC5NqpUlTwH5p+K/QBgrIYAZFbd96ETwDeZ2Z10GTNzYinhHDzzAWJlmRaJcBCC+nknmofxoZp6oBPeXGl/35t6ZV9Ts05OYA/5BRLPTbhAWvil9Z4yNPF7ewa2Fg4yAcz43VdUAy4EoXUrTukgsZJ8sqXZhs4S/XVMlU6zc+9lQW6JPb6JpM6Q5wMdOE0N/NTR02tvoCTEqw2ykHdcuP1ZrQnQfyy/oIv3ABxSKdAleXsKZ/zrWAF0TDjfBi7n9vd/PZcnwQ6xUi7oq1jnEUF9WJRwXLosLuO571olr0= 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: 1eb53297-58c4-4777-c755-08d6ad96d87d X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 00:47:51.1367 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3738 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add i.MX TPM(Low Power Timer/Pulse Width Modulation Module) PWM binding. Signed-off-by: Anson Huang --- no changes. --- .../devicetree/bindings/pwm/imx-tpm-pwm.txt | 22 ++++++++++++++++++= ++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/imx-tpm-pwm.txt diff --git a/Documentation/devicetree/bindings/pwm/imx-tpm-pwm.txt b/Docume= ntation/devicetree/bindings/pwm/imx-tpm-pwm.txt new file mode 100644 index 0000000..94f1ad5 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/imx-tpm-pwm.txt @@ -0,0 +1,22 @@ +Freescale i.MX TPM PWM controller + +Required properties: +- compatible : Should be "fsl,imx-tpm". +- reg: Physical base address and length of the controller's registers. +- #pwm-cells: Should be 3. See pwm.txt in this directory for a description= of the cells format. +- clocks : The clock provided by the SoC to drive the PWM. +- interrupts: The interrupt for the PWM controller. + +Note: The TPM counter and period counter are shared between multiple chann= els, so all channels +should use same period setting. + +Example: + +pwm0: tpm@40250000 { + compatible =3D "fsl,imx-tpm"; + reg =3D <0x40250000 0x1000>; + assigned-clocks =3D <&clks IMX7ULP_CLK_LPTPM4>; + assigned-clock-parents =3D <&clks IMX7ULP_CLK_SOSC_BUS_CLK>; + clocks =3D <&clks IMX7ULP_CLK_LPTPM4>; + #pwm-cells =3D <3>; +}; --=20 2.7.4