Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1113895img; Tue, 19 Mar 2019 00:12:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIdvdMzyBgS19GdK8mD7xLb3/nh8BVa7XaCQW6B+/u5rtXeZ28OAZtb0p6oHU/squ3d5rp X-Received: by 2002:a17:902:a60c:: with SMTP id u12mr586585plq.301.1552979540397; Tue, 19 Mar 2019 00:12:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552979540; cv=none; d=google.com; s=arc-20160816; b=FGzUSg8ZnsHsZgVzM1Ct0pM0vRxqOybR4bzftaj3/+kMTE7QbZVZYhmr7hMmi0cj5x 8KKeqp4ax7WDhRAM0F5pnvdR3XAfYYwkWECgzwMnh0j+LNAciAfe7xMKKZ/6r6iy1FdC lci0iEr+vTMnFp3C90Y+NB/ejKBFh3FuPn+xg29HOSgfjehATojuGA7XRRWkvbOU+qYW KI02XDBOAH0ue3+h2R5YrUSE4vOpibpX6jFrGmYzKMtQ+pqY1GB39rWbvga/4NTvVaic MT6edF0NZm4nVmYGCD7ntyyB8m0LibKghQAIHhvIrh3JjNLhqfFJ4WrS9oHqBseOTSF7 xwYw== 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=QYrfdCybAFnNgD9DH8DV4chU4OPX+5rBcPx14fH7wTk=; b=aXuQRNKFCvnt7yukMI8juNKJgfas7hXwuxGmWZIt1CD89WR5xbA+k69hY9ioCKTgY8 6lS+eKmmkd/pOm6U7Zs63as1NWJCHuOJGdpwI8J2Jjfi9x4H6qQa7vs2kCRwKje1qA1z AjI9d69C+FEPZzdXReNVAfTnstOquInQMwX9WTy3wKeFUY+BKcRAgmxKvR0AeZjPmUiw aJ4tKfzoxJ8F7ABv0Vkt50zN96OSoI6q06oLhSa9bAOjQXfLupZkoBwQWQ6nfA8ks6FL IGzvkrYPUhfyzVB25KXOe3rMdHYlAB1OmaQ47lOzymR5OmMr/CKhWTE6p9fPt30a1/UB 0b1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=JuYLJYG4; 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 g5si10720501pgq.486.2019.03.19.00.12.04; Tue, 19 Mar 2019 00:12:20 -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=JuYLJYG4; 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 S1727222AbfCSHKH (ORCPT + 99 others); Tue, 19 Mar 2019 03:10:07 -0400 Received: from mail-eopbgr70089.outbound.protection.outlook.com ([40.107.7.89]:56804 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725988AbfCSHKH (ORCPT ); Tue, 19 Mar 2019 03:10:07 -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=QYrfdCybAFnNgD9DH8DV4chU4OPX+5rBcPx14fH7wTk=; b=JuYLJYG40PLMRbHWos+4OFkNFrYuJAXSOyN2YkEBOYEpQ+/9iQC5B8UJk0aPuy3HcRN+s8uh1MJxLWsfm8kUJdqK4eDUtB3Da9b49u5mRDvXmKaPoC7KW6aq4OlmvlWDg5XO8NkuUwsoLOl3OBvkZZltomdqWUReY+F0N58t1qw= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3884.eurprd04.prod.outlook.com (52.134.71.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Tue, 19 Mar 2019 07:10:02 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::f1b4:a1fb:cfd1:3f08]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::f1b4:a1fb:cfd1:3f08%6]) with mapi id 15.20.1709.015; Tue, 19 Mar 2019 07:10:02 +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 RESEND V6 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding Thread-Topic: [PATCH RESEND V6 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding Thread-Index: AQHU3iLFBxOe9w0ysE+UxaC7ufi0Jg== Date: Tue, 19 Mar 2019 07:10:02 +0000 Message-ID: <1552979097-5814-2-git-send-email-Anson.Huang@nxp.com> References: <1552979097-5814-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1552979097-5814-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: HK0PR01CA0013.apcprd01.prod.exchangelabs.com (2603:1096:203:92::25) 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: 85dc0482-f4e8-4f81-6e2b-08d6ac39e7ef x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3884; x-ms-traffictypediagnostic: DB3PR0402MB3884: x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(346002)(366004)(376002)(136003)(396003)(199004)(189003)(86362001)(25786009)(7736002)(305945005)(7416002)(4326008)(50226002)(256004)(14454004)(102836004)(110136005)(2201001)(8936002)(316002)(11346002)(476003)(2616005)(2501003)(446003)(99286004)(478600001)(97736004)(81156014)(81166006)(6512007)(53936002)(186003)(8676002)(2906002)(68736007)(71190400001)(71200400001)(6116002)(3846002)(66066001)(76176011)(52116002)(36756003)(6506007)(386003)(6436002)(26005)(106356001)(5660300002)(105586002)(486006)(6486002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3884;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: qX7+mtrfJjFmENg+8n5hhcNaXlMlP/5yOxd4dJvi8cC+9NvPvdh8uvI1IZIO1+t1N37lM0B+kvxgCfbTI9uISnNQojoCHIgeShhNHDkUAY15ZlHl8CAl63FVDslygSM2ioCsMrC6VkSoY5aabh/noSnzhmnQr85PLMhxxyAaF3asrXUmA1ZjXeY79wfno60rVS6B2+LTf0xj6QK1KccYQuqkeLOP65QbNPdrM97Y1iRZNGuq+egc2DRdJWQkoGBHjCXl27fjzbXLgXRGUQAiJKnSyJe0TM8rtxCEN+elBHSciJvD8yue3eNPMonyWJ2GWn6ylv0dI2VlBhOWVhMRb/6geRdSj8scdIwWdlYa8MHNLbozc5uk1iuYABFW9qjM3MGwX4MNWuWkIDrsTQsewyzJdTH+yIZOjboT6yBfq14= 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: 85dc0482-f4e8-4f81-6e2b-08d6ac39e7ef X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 07:10:02.6417 (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: DB3PR0402MB3884 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 --- Changes since V5: - improve compatible string; - change #pwm-cells to 3; - "pwm" -> "PWM"; --- .../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