Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp232880img; Thu, 21 Mar 2019 18:48:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMhy8C6l0DZWXEeSjMefrJLKNE2Nd9wZAjZX33meuzVD9Re7gW+AKAlZuuoEuhijyXajbQ X-Received: by 2002:a17:902:864a:: with SMTP id y10mr6908949plt.76.1553219338555; Thu, 21 Mar 2019 18:48:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553219338; cv=none; d=google.com; s=arc-20160816; b=zlxUbdylxpSmQX3pFx1EPE6WC+J9+shcje7FVcYDJtF6at8P21Ag1AJ4hqjEAdhDi2 GK8pn1Rngn13t4x+CebOI/8dmnw66+fmAd1A7WxHiYoqGuD0JCgihuYWzDWWQa093ZRd budFn7kee9ajfC2fzicpSAEAIk109wG23JGjym13veZIyjKWZzd9il/uwG5lQ2RuNTXS MfMgbQKxbISt70qOgnrfOVD9Ru49qP5KWktiCMSAwC0tZNOnIiN/4RSrk6aYJeiqmeNK FimwMM3KJ5VHZRE3zxDfSo3PPDvLYpHHg+cuCXtx6TxovBp8g4XOIhYCDZQPgOT3jbY9 SHMQ== 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=C7NuOFbv4k0GnnXgXV3Cm6a/4MFlvWZZgRlm9Ps4HRg=; b=ZPtez7MlbKntMvEV9DgR5GQhfhf/jMsO2PV1yRqep/1A+iyHQXPIGCxxEk1laOV/Zu mbWdtFbe+zqj9TxuNnKZT8so2C5TlHPoSDdLIwXGScbI/p8/4AlKUOITspsPG9tC19Qs Lv7+FL4IE06KXIGW2Ho1LpgAuvz0k6p+jJCPPZaBorwbx/2kjknA3xPREykMrD8zibsE M0NE8enJRJjyw3XXHrPio8Z2uF2cm47431fY+FgOJ7Euv5GYVLMAeo5FvHSW7tLH5+iY 5wNyTW3mziZ6qYJDUUQ/bN72ew9e6/6k0kNR4TnzfKpSf6xLU+hu4RyvuaNw1GZuiqHy jwnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=urOuN2p1; 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 a5si5375027pgt.393.2019.03.21.18.48.44; Thu, 21 Mar 2019 18:48:58 -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=urOuN2p1; 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 S1727607AbfCVBsD (ORCPT + 99 others); Thu, 21 Mar 2019 21:48:03 -0400 Received: from mail-eopbgr40055.outbound.protection.outlook.com ([40.107.4.55]:19736 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727397AbfCVBsD (ORCPT ); Thu, 21 Mar 2019 21:48:03 -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=C7NuOFbv4k0GnnXgXV3Cm6a/4MFlvWZZgRlm9Ps4HRg=; b=urOuN2p1lg/Z7dMaLGaHJYbwtuW0frp9Kf5X5yyh2NSm6cKnuEvBr/tNJ/u6IcfkpgJoG/dCtRq6oklgoEAS+6B+trkEBAwpXYs1crbTr0DRd3Jqw2KeO6xv/iiT9OJSmwZ4SD3tvIWUre8WHPbu6bogz1XNbwtjsLlS3jMJ2Ns= 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:00 +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:00 +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 0/5] Add i.MX7ULP EVK PWM backlight support Thread-Topic: [PATCH V9 0/5] Add i.MX7ULP EVK PWM backlight support Thread-Index: AQHU4FFHhXvmmxsahEeSOh1Vim+Xhg== Date: Fri, 22 Mar 2019 01:47:59 +0000 Message-ID: <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: 7047e1b0-0218-4ff6-d071-08d6ae686993 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)(110136005)(2201001)(4744005)(14454004)(52116002)(2501003)(7416002)(186003)(26005)(316002)(106356001)(4326008)(2906002)(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: GVSAKCyjhNHXX91hwHzmgCtsEleo+GIVQ+DlKHX4fR1AcBb33zMixCB7JrygXkzfHDFWANQVHFItfCXKnwxHPqxiU4t+HVuvyr9d0UXc4e6cN9Bb9AufDd+aVA/5dsECZWV5WFxgprqUAalSZ6Tf45ryshVUQqQ4YskSRuGNDngTJfCIxZVOTdfHPZWA/CLTuA7KAjgvkvV4VK5ZRqQjk+A85G26UFfk8msfBMXaiUnu0K1JAchYz/Yzu9DA2NSk21XE4PRVgMJ4/7eZ9k0sLOAIa78CKc7mFiNYG06RIcpJtaU/fCIKkW7b36e8/y22Y6lPdA3evM139PXiVuWdzdeCzdSnEVzDEGK6U+yeYaXDsSdr5dGjL1i8IE3xkhfk3TWhBZOfXfilll9o1AQYcIZo00gIT+uP/oqetydjqtw= 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: 7047e1b0-0218-4ff6-d071-08d6ae686993 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2019 01:47:59.9807 (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 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 V8: - 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 | 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 | 518 +++++++++++++++++= ++++ 7 files changed, 584 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