Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3972795img; Mon, 25 Mar 2019 23:53:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyoTRDw6AMMbGAGA4JpDtjMb/nVf/s6c2LAxrp+MdLL8+8gBdmMvqF42PaJT/SQlpkwV0zP X-Received: by 2002:a17:902:6b8c:: with SMTP id p12mr30149526plk.282.1553583189415; Mon, 25 Mar 2019 23:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553583189; cv=none; d=google.com; s=arc-20160816; b=SFn2Tv/+MRCfIhMqtHadojlVEEVfgFFI211YQboNlQ9VRLWRX7N9l2T0Jl897gOq7U mdMCuMS1h4+FEZcxFTU4Syc9Nb+/59si3uyyAq6nZmum+VY/hTbiciZzxHKg710COfhW QrWLuwNEM28qk2amN5oG764eM7vG1ghFiK36AvoXItHQ1BUzgI4UeTgnMdq4PHTOryYS hUx3EuuDAilZAgylgnxqqFF/npNLxsrMTZh/iL7M/KKxXvhO2xeVAtLdjHoWQhBOCLbD /tY9Y4rHjpw3NYpy9y/jtHpshP2pIwzPF/EhCjRDji1gfeAi9A2IdayN9T0nSX/xpfQZ AjWQ== 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:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=zJ73oEKJoWqaDb3X7DyZLG/oC2XkAqlSGY8EPPqKP6E=; b=UCL3Qabb6fn0krRnzb1g0hbUT9GdiYeC9X3cRyJr/XCVpVhZ09fPlZ8sXSat4O0xXC eJtFY0lloYMYqSthQxzo8XlxcKeUVmge1gJIjRqetK0MRMeM0mritTOBckiWyD9uAbl0 kO27zbHfjfgCTC6dGO23WVREq77a+Vj0cq77S5/XfXeAX9uVjvqD6iOq0LyOCIAJvyV4 cteX9o7S5sGWabixQ9YYMhyrKZ+TDPcezalZlZhfrr5fs5t2Uw/2UQvQ6KWBIhhTbnGu SOdW92XhocSpgtNuBtnrZgeM1LGHYGca69wvbFFI9YYkHgd+wQ/IWoIVJNlJbqv/+rdd IRvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=ldx6l9jk; 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 q6si15658934pll.130.2019.03.25.23.52.54; Mon, 25 Mar 2019 23:53:09 -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=ldx6l9jk; 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 S1730992AbfCZGwR (ORCPT + 99 others); Tue, 26 Mar 2019 02:52:17 -0400 Received: from mail-eopbgr20041.outbound.protection.outlook.com ([40.107.2.41]:56390 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726171AbfCZGwQ (ORCPT ); Tue, 26 Mar 2019 02:52:16 -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=zJ73oEKJoWqaDb3X7DyZLG/oC2XkAqlSGY8EPPqKP6E=; b=ldx6l9jkHYgb/nVmnxS/0SCMvTzIH9hExfgXHVU5viKoK2TOaxg+Yt9SfIf2FXS4SHKNomuiH7ZyyIxUVxFf2cmqM79ycjxHStXDxKrAztb8N4ARvv4gJrfHyWyRmtFcgd2Pyse+cu/XWHXhwGHRE95jUKvYkZYgFJ5oZ3MBh6s= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3675.eurprd04.prod.outlook.com (52.134.69.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.18; Tue, 26 Mar 2019 06:52:12 +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.019; Tue, 26 Mar 2019 06:52:12 +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" , 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 V10 0/5] Add i.MX7ULP EVK PWM backlight support Thread-Topic: [PATCH V10 0/5] Add i.MX7ULP EVK PWM backlight support Thread-Index: AQHU46Bwf/lBkot7TE+fqUTYTTplFQ== Date: Tue, 26 Mar 2019 06:52:12 +0000 Message-ID: <1553582817-29519-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: HK0PR04CA0008.apcprd04.prod.outlook.com (2603:1096:203:36::20) 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: 316cc152-a1aa-4423-b2d4-08d6b1b7924f 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:DB3PR0402MB3675; x-ms-traffictypediagnostic: DB3PR0402MB3675: x-microsoft-antispam-prvs: x-forefront-prvs: 09888BC01D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(39860400002)(376002)(396003)(366004)(346002)(199004)(189003)(66066001)(486006)(105586002)(186003)(2616005)(68736007)(2906002)(50226002)(6486002)(71190400001)(2501003)(6436002)(256004)(81166006)(8676002)(81156014)(97736004)(106356001)(476003)(14444005)(53936002)(71200400001)(26005)(6512007)(316002)(99286004)(305945005)(6116002)(6506007)(25786009)(386003)(86362001)(2201001)(7736002)(52116002)(478600001)(4326008)(14454004)(7416002)(5660300002)(102836004)(8936002)(3846002)(36756003)(110136005)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3675;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: MaN6BLaLHpm/NeNTI+aWvdKQuyCa2lz3oj6T1GZ3d9nQH+MoizN/xpU0xwQWD2588jpw34NfF+8HOYz/Wp3bVz7I+xfEFyZRykltHqfh7lrLGG6Cob6YKHmaY29+5AGlzYj3sP6GG/pQ5EQ1x3MWB+uU3BH4DawQaIOm47j1FExmoaE0VnHE5xXVTBDpe7O3rTfurrASWqkAlOahi/K9sqangF6ZX4a/47qdMVHkLwAxKl/Ew7GZo2s8LibTPJLfdVghW01tF9sPrXba/6ZkV7CNKfTjVDTIttoD0PjHsqB4/YifFbGBbh3YYvrZV5FYh3KXK+V/Wt6mimG1G2nL8IWno1ivOOruOZL9PMTEO+jEtyv5eFcw6+9FPggq4xfN0mH7f5xfwG67Q5bSLd4NZjEX8WIb8JFeQQrFWplC9pE= 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: 316cc152-a1aa-4423-b2d4-08d6b1b7924f X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2019 06:52:12.1929 (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: DB3PR0402MB3675 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org i.MX7ULP EVK board has MIPI-DSI display, its backlight is supplied by TPM PWM module, this patch set enables i.MX7ULP TPM PWM driver support and also add backlight support for MIPI-DSI display. Changes since V9: - update compatible string in DT binding, pwm driver and DTS file; - update PWM driver logic of changing period and duty, put them in 1 funct= ion; - update node name to be "pwm", and label name to be "tpm4". Anson Huang (5): dt-bindings: pwm: Add i.MX TPM PWM binding pwm: Add i.MX TPM PWM driver support ARM: imx_v6_v7_defconfig: Add TPM PWM support by default ARM: dts: imx7ulp: Add tpm pwm support ARM: dts: imx7ulp-evk: Add backlight support .../devicetree/bindings/pwm/imx-tpm-pwm.txt | 22 + arch/arm/boot/dts/imx7ulp-evk.dts | 21 + arch/arm/boot/dts/imx7ulp.dtsi | 10 + arch/arm/configs/imx_v6_v7_defconfig | 1 + drivers/pwm/Kconfig | 11 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-imx-tpm.c | 463 +++++++++++++++++= ++++ 7 files changed, 529 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/imx-tpm-pwm.txt create mode 100644 drivers/pwm/pwm-imx-tpm.c --=20 2.7.4