Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2772343imc; Wed, 13 Mar 2019 00:32:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3HqG/LeXZTATLroIzLCK91IhgoqOJA2rR96Ol/vBN+vds4G94FO3k2PMCBnRWRtWgPLMH X-Received: by 2002:a63:ce41:: with SMTP id r1mr38608358pgi.119.1552462323715; Wed, 13 Mar 2019 00:32:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552462323; cv=none; d=google.com; s=arc-20160816; b=dulKqzLUpidMZdfJAhsdovoMMjF8SPHTAnSptrmpCJkh23R3F9ERBC4YD/1dcQKRME PzdHk8kk0wDZaSmbCAVtFUK1segFMAapP3AsvICzU7gEOUdydhYzxWlX2h1hfB54jvO1 OzkZd0BxK742luXvm36af6zASWvBiMoIhUwkb5Sm++nOUr0CyjeslsOxmvcLekWz8HUP uTdb52xjtXZxcPaozPf7X/8jhFsuDcYgonMu+Z6gj9vqnIZud0myuucU90lMcPZVrZ7t eh9sfSB6vbCpO31Ux8UMg7xdMvE3DA+4q+yAY9i3DLcipXmotDl1uv3hLrlDg5+RST+A OMDA== 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=11oFbbhShcbiewhjMrv5WpTncCm0AuyC1+FZeJYNfjM=; b=B76mkbZTzHlTi1SGzkrVAlvseccchc+YzzEWNo+gY/oeL8wuve46mts7RFdMW1pIvz KjkCNv/9FHp84+Nz5iETjcruDEgu2KE7+O8wkmHpAZSjYoKy7yR4OOEdJXr4vIc88gv6 jLUEZvm5BX8ShKqXmQlWZrXwkxF+iEgv/HExCi4QDhcHNq83Z8FHyEr3ewysVAc9Pkil RLgl9m+MqLCkK39qvTrA3y69wsVaWoMu25urrKOvNuXI9UiSnP/J/GRmCcOVaG1hzr0m xofA2p0tSQUPo1O7gn4aw6LVW4F0SGYBw0RJRRhhD+XAwIj/+H1H3NNNeMt3Lu+AMTol 8D4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=NjW30bZw; 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 n78si9720715pfi.243.2019.03.13.00.31.47; Wed, 13 Mar 2019 00:32:03 -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=NjW30bZw; 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 S1727070AbfCMHbH (ORCPT + 99 others); Wed, 13 Mar 2019 03:31:07 -0400 Received: from mail-eopbgr130080.outbound.protection.outlook.com ([40.107.13.80]:32070 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726646AbfCMHbH (ORCPT ); Wed, 13 Mar 2019 03:31: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=11oFbbhShcbiewhjMrv5WpTncCm0AuyC1+FZeJYNfjM=; b=NjW30bZwTJNKj+4XmDD3ihP8VO4qoa6SVFni4HhwNZS+d8tq52lrHsGet4R6PASnvnlIntp3hl96NA5ADvuD9XODQ05jmijaCycGFdAogzxiRli+O63nQsmjbLEz5Msi9ySO9q0QArr3Ms4e/EqcyPsW8Y5MC7ES0qoXTZmI8Wo= Received: from AM6PR0402MB3911.eurprd04.prod.outlook.com (52.133.30.10) by AM6PR0402MB3768.eurprd04.prod.outlook.com (52.133.30.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Wed, 13 Mar 2019 07:31:02 +0000 Received: from AM6PR0402MB3911.eurprd04.prod.outlook.com ([fe80::e052:f2d5:93f2:5f52]) by AM6PR0402MB3911.eurprd04.prod.outlook.com ([fe80::e052:f2d5:93f2:5f52%4]) with mapi id 15.20.1686.021; Wed, 13 Mar 2019 07:31: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 V2 0/5] Add i.MX7ULP EVK PWM backlight support Thread-Topic: [PATCH V2 0/5] Add i.MX7ULP EVK PWM backlight support Thread-Index: AQHU2W61/TCUufuB/UWaQS7A32Spuw== Date: Wed, 13 Mar 2019 07:31:02 +0000 Message-ID: <1552461970-20813-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: HK2PR04CA0076.apcprd04.prod.outlook.com (2603:1096:202:15::20) 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-ms-office365-filtering-correlation-id: 63200582-c411-4c55-996d-08d6a785d81d 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:AM6PR0402MB3768; x-ms-traffictypediagnostic: AM6PR0402MB3768: x-microsoft-antispam-prvs: x-forefront-prvs: 09752BC779 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(376002)(396003)(346002)(366004)(136003)(189003)(199004)(2501003)(26005)(102836004)(6486002)(110136005)(316002)(478600001)(186003)(4326008)(71200400001)(71190400001)(4744005)(53936002)(8936002)(50226002)(2201001)(81156014)(8676002)(81166006)(97736004)(7416002)(68736007)(386003)(6506007)(52116002)(14454004)(305945005)(7736002)(486006)(256004)(476003)(86362001)(2616005)(66066001)(106356001)(2906002)(25786009)(6116002)(3846002)(99286004)(6512007)(5660300002)(6436002)(105586002)(36756003)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR0402MB3768;H:AM6PR0402MB3911.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) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 8x/C7EH8b9tx9RqcpQW3cTGRIMyjqbwerc5WVX56ThH/dBj6sA7MwJJmw2imBHkKs7pSZ9QsCE8FRaor2/FBCAFKAJWZPeBibTVk8AYq09icninEsga8fueDyYGayu+4NLoXMWJH9+rdBpOPh/ryYq90+t/bqI1i7scVgvDLQcAXkJGHBNZNDKk3/2vwRbO4UFzsFEQKKLQLkaYU6Nkytqn6wpHLR9RvaWOZJGoZQ6SwokYTCTIP0He5V64HGo5rYduVz4+jvmJSboiLOYNQ821+I+ZRwkFm69a9/hx8xrwC2p+lgCEnkgB3lZJpiiuD810uMALIqf2ljYYsxjIjoGVTEjxc5CvCTc3uCjIYu5+qwLhN8q8Osdo9FllDxKRdgjUZVp4HIVGX+JMNtm+tH5otx7yHbajPIL0k04vTqYA= 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: 63200582-c411-4c55-996d-08d6a785d81d X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2019 07:31:02.3695 (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: AM6PR0402MB3768 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. 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 pwm0 support ARM: dts: imx7ulp-evk: Add backlight support .../devicetree/bindings/pwm/imx-tpm-pwm.txt | 23 ++ arch/arm/boot/dts/imx7ulp-evk.dts | 20 ++ arch/arm/boot/dts/imx7ulp.dtsi | 11 + arch/arm/configs/imx_v6_v7_defconfig | 1 + drivers/pwm/Kconfig | 9 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-imx-tpm.c | 277 +++++++++++++++++= ++++ 7 files changed, 342 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