Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp233614img; Thu, 21 Mar 2019 18:50:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYl42rl0Kx/HTWC5DaLY3lQq46UN5SYPgmqCsH/g/t07KunCbZ6GgeSwHzEIaB5JMflwFw X-Received: by 2002:a17:902:728e:: with SMTP id d14mr6533955pll.327.1553219424991; Thu, 21 Mar 2019 18:50:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553219424; cv=none; d=google.com; s=arc-20160816; b=IcNFiZAzzON42pF6+nSk0WTp0LZAAsBZUSbcQi9BNfwOBMaSKNU8l8wl7PBr7P9yR7 zp9XoAW3lS6rYPQBdktCc8KR6AvdLsY4TrkG+abGZ3OA1lgcb3e49kaBS8wZ2yxYVmS0 ZVRg0Msk+i4ySROzrbd0jqQIkoPU3HD+sbzMgWmyWQykvOu1hB52pDNtk4B3djM/B3q5 1wubS8/jRKTBkl6kCbMMOWhDctIN2pM3RfkZlf9itCPgvbf7sy5Ht5ZWneDOgV5ixPdq /MzTjMXqieL1cRch4vNW81SGXrX0F9eWcMxyrfjphi09FaTmZctPF7lxebQs7ZwjTcEH Th2w== 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=5q8zNBUNNnA2yFpYEt2VbAB/5DnROX4Vfj48OF3UY24=; b=e3OsuTxnfEciR+ZJNGtYn7FR/5APd3IP4BxVBs5o9vrKewkqhmJKOFM/48Goa8VnAo kRNMeeTP6nG3uWMVYdo+MQEgFQ9Rtwlwh7tVyOZBn7Vik5R5AfURVcXRaAKz0MntQNs0 ox96bwm7UeB5orrs0qJ6+QlnMWW3wr3DENwWM0QAukWkPyoVJkrz39zcmMIbTyavld8o 1imMVqSyg7pASvBksA6PcO0Veui5UR0cF4WkiyZpNnER+kMqoajY2prrXiqabwYBKHx1 6fE9PrFHL8Ke/SmLuxY9Po54DMlT95c3OY1opip4vbBzhJIWTzWvZ21g9LdwG5WfTVqz wEPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=wmXjmqOM; 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 a3si5281581pff.139.2019.03.21.18.50.09; Thu, 21 Mar 2019 18:50:24 -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=wmXjmqOM; 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 S1727627AbfCVBsK (ORCPT + 99 others); Thu, 21 Mar 2019 21:48:10 -0400 Received: from mail-eopbgr150084.outbound.protection.outlook.com ([40.107.15.84]:34467 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727397AbfCVBsJ (ORCPT ); Thu, 21 Mar 2019 21:48:09 -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=5q8zNBUNNnA2yFpYEt2VbAB/5DnROX4Vfj48OF3UY24=; b=wmXjmqOMMjUQtwfJs9BhVyThMgjJrEGq4qYfKZ8Kw4/qY6SJAD51cg4O4j05YHAv3lQedl/zt1sGHl5m7sW3Ez3gXQZ4bh/SL/W/hTWkKDvitBIJ5HwcvdXthuRyrkS03mxKAP+BDwDVp3hNPKyMRsSrvOQV1/MxmkHyJCagaXA= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3754.eurprd04.prod.outlook.com (52.134.67.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.15; Fri, 22 Mar 2019 01:48:06 +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; Fri, 22 Mar 2019 01:48:06 +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 , Robin Gong , "jan.tuerk@emtrion.com" , "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 V9 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding Thread-Topic: [PATCH V9 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding Thread-Index: AQHU4FFLawhysUr2ckuOKuIEIybWsQ== Date: Fri, 22 Mar 2019 01:48:05 +0000 Message-ID: <1553218974-20464-2-git-send-email-Anson.Huang@nxp.com> References: <1553218974-20464-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1553218974-20464-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: HK2PR02CA0172.apcprd02.prod.outlook.com (2603:1096:201:1f::32) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.67] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cdd297c1-dc8d-4e44-1b4f-08d6ae686d75 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:DB3PR0402MB3754; x-ms-traffictypediagnostic: DB3PR0402MB3754: x-microsoft-antispam-prvs: x-forefront-prvs: 09840A4839 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(136003)(376002)(39860400002)(346002)(366004)(189003)(199004)(71190400001)(50226002)(99286004)(81156014)(71200400001)(6436002)(81166006)(476003)(2616005)(6486002)(486006)(8936002)(36756003)(66066001)(68736007)(86362001)(5660300002)(11346002)(110136005)(2201001)(14454004)(52116002)(446003)(2501003)(7416002)(186003)(26005)(316002)(106356001)(4326008)(2906002)(76176011)(478600001)(105586002)(7736002)(3846002)(6116002)(53936002)(102836004)(305945005)(8676002)(256004)(97736004)(25786009)(6346003)(6512007)(6506007)(386003)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3754;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 3JLaihsnHemwspV4238yz4TnYCcM836NfJP5sNnPdso0lfixGiIG0g/170578z434540lI6GDvljTWqjAMLo0shpxJsVxOH5PHg914vdhu0oBd/8xnyzChaMR/B//dNOt0oQzCu2pPIdpIaM1Fp+pQx9LUttL9DlDU1G2nfaq3pojjMgUrRVMX2+jvcaHjtUdGEsPFDhUH6aVoWd1f1/X2gch1b2824i/9ox/ZI37ugOdFtnhwiKY+5W8ybxezgj4vB0QlPavH5Z8tr5nVRcL3Q10CkdpbI+aDpK0aqN2CrrvnktUPndO6DYGwnPwcDFBMN5kCHtuKFvmR7ryeViZ/vGND+OhNjAW7NH/+mMQo/ppsURbByPKq2giVOzIQRqM7AO9CY//qkzfzBV6tYuAr33o1+bopaV15F7ffe7wIg= 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: cdd297c1-dc8d-4e44-1b4f-08d6ae686d75 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2019 01:48:05.8959 (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: DB3PR0402MB3754 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