Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp203861img; Tue, 19 Mar 2019 22:07:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyUocfNtKVbC+oyqEUK998mqsq5BoiKfmDVomPVL1KRFmYHvUCu+yXHDPcGT4APwBaTMeTf X-Received: by 2002:a62:f24e:: with SMTP id y14mr5804857pfl.209.1553058432727; Tue, 19 Mar 2019 22:07:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553058432; cv=none; d=google.com; s=arc-20160816; b=sS+eGpFc+14lVs9H6BwSi/Gc8Byb/AtrCJ15j0J/xQ70RI0CsvkoEJEWu0zlROkF1+ HX0C3VUuPFbDdf+Mg4ZUXLAM7zdIviChB63/ChvRtctGkVRnvylzogy0FnnwZn6RFe7r jPh1lZu/KBUocQhxIfwZTUYVqJVwE+J/M8pHohIOBPZNhbnOdQfvrK6hFTcxH6pSdzkS oJu2ZhxO4u6nzcxC0mu/wb13mWdpuwBUuqpa09gIpMjTYZLLpFGmoV+u0WUdUC33m4VQ T+T3QdsfxO+H/nfZVg9IZVR71cjDeENLbYyu0mnY6019m4C51mEiu7UchIdUJS86oxnY NunA== 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=3AOy06f0lT2PsMF56pce0nEVvF6nKhcq1i8bOR4Er7c=; b=Mp3rMQh0z63TIh0KWXh642jdAlJsH/E/BOIXzTh5MLH2208jlh/pTUjNL6+OOi5wn7 kKY8ebV247ItwUi0m62GaDy5RTgTH5HVzkFmMJYpNWcUX35UWG0W3LHeRmyVhAQMeClI 61fx+lNUPVzVzOzxDRbns6O3EtInBSodDMYpSkMTRqsTCNAyWUaiEm34lRsgxiR3JXi2 J0g4toQnRpWz6h3fGwIMVphiy1MK8VAIu8gSV6J8CzJZnjtcYxOahUQIhwImKhzZw4iB 0NjoiHbvbL+YgdPp2YvGK1geJx47G1K+5ARefCV9QCqM25TrR+HQ2DccM5rDgui/Mwzx vHZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=VbDXMLGr; 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 l12si766450pgp.514.2019.03.19.22.06.57; Tue, 19 Mar 2019 22:07:12 -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=VbDXMLGr; 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 S1726282AbfCTFGN (ORCPT + 99 others); Wed, 20 Mar 2019 01:06:13 -0400 Received: from mail-eopbgr60041.outbound.protection.outlook.com ([40.107.6.41]:6278 "EHLO EUR04-DB3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725986AbfCTFGM (ORCPT ); Wed, 20 Mar 2019 01:06:12 -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=3AOy06f0lT2PsMF56pce0nEVvF6nKhcq1i8bOR4Er7c=; b=VbDXMLGrYel8uGrykxIW0dqcBpOEvIZ/bAEgenmZkBAx+kkl8fWTUUq0ACbs4vj2RytPPDuMcGzqvnV9O2NE28pnQfpmxFCozusujuDlqWf1EcFFnKKXfZ79AHSjFh4Uf/FyLGu/eWJQ+RtZeWte+FmwntWnOXrcjYUGsN28Cd8= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3945.eurprd04.prod.outlook.com (52.134.65.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Wed, 20 Mar 2019 05:06:08 +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; Wed, 20 Mar 2019 05:06:08 +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" , "otavio@ossystems.com.br" , "stefan@agner.ch" , 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 V7 0/5] Add i.MX7ULP EVK PWM backlight support Thread-Topic: [PATCH V7 0/5] Add i.MX7ULP EVK PWM backlight support Thread-Index: AQHU3tqhIpNyiqbwZE2gKEAUrDaBdA== Date: Wed, 20 Mar 2019 05:06:08 +0000 Message-ID: <1553058067-18793-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: HK2PR04CA0067.apcprd04.prod.outlook.com (2603:1096:202:15::11) 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: fbc177f6-9619-47cb-b27d-08d6acf1c338 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:DB3PR0402MB3945; x-ms-traffictypediagnostic: DB3PR0402MB3945: x-microsoft-antispam-prvs: x-forefront-prvs: 098291215C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(136003)(366004)(396003)(376002)(346002)(199004)(189003)(105586002)(316002)(2906002)(186003)(110136005)(53936002)(6486002)(7736002)(26005)(6506007)(8936002)(106356001)(486006)(86362001)(386003)(476003)(102836004)(305945005)(6512007)(8676002)(4326008)(50226002)(81156014)(7416002)(81166006)(6436002)(36756003)(2201001)(68736007)(2501003)(25786009)(2616005)(5660300002)(4744005)(6116002)(97736004)(99286004)(71200400001)(66066001)(478600001)(256004)(14454004)(71190400001)(3846002)(52116002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3945;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: 6FTWeCLpBwk1hh6TU8aNqCHfsAWeiQKyG5sc+RqVQgchY+XH4V6m5A1lk0nkmyLAvffmwn/okjq0pshMHqd5HbpGEqj7GbJqD9gReVd3+SxfubgEsJbTBqdDDyortlGLLxfyJjwu53qcyCnFtGRar5xSMWE0rd9EMfx+I2wOW7WG5OP9ckX0p6HsRakHvQM//gZCN30/chY8wcXVN16lbuA53OEpxpeNZgAsaDbTezqnmb6U1PQBUtA5Q+Xs3iitrS0rTopPez/jBxIKmsO6S74ZExGteQaene9dCqMZDS5Bv4290Hu2pZ8NF6oM0JReJI9njL2ji60zR5l10a51U5zk1t21MWeM0IYl6sBqABBrr3LUlaOAwgpdVGFGDloCn/UdcIRmEkdhvfPL+zWZmWtxcmnvkhkhFMklYi19csE= 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: fbc177f6-9619-47cb-b27d-08d6acf1c338 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2019 05:06:08.7586 (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: DB3PR0402MB3945 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 V6: - ONLY change the pwm driver patch. 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 | 19 + arch/arm/boot/dts/imx7ulp-evk.dts | 20 + 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 | 436 +++++++++++++++++= ++++ 7 files changed, 498 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