Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1113849img; Tue, 19 Mar 2019 00:12:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxG1ysmJFfO10Oh9nHU6bOvcBkdVBUVePAbUBPK8a/ZqRy7Ww0itVCzOVK4EzMjJzQPjVSz X-Received: by 2002:a63:f555:: with SMTP id e21mr449506pgk.71.1552979535892; Tue, 19 Mar 2019 00:12:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552979535; cv=none; d=google.com; s=arc-20160816; b=QiKzAsUy4MYJ9dwIrx6YMhPopOASZT8F/iY3ThIL2xj1W72h4K0ZhtkwQQWwuqb+O9 yZolM1XhaONSktIjD1pKSs4xDqHumaXiGcHGWvLc1Rm1wgaV2b3y7bGxCtC17Ayuyorj 3hDtHGXWen4XloAeIcueBcNvo4FzJk8ROOR+X/9zyLsyAF5Gp75rMcNk641QML+y0onC 2yPb+owHA8jlwOWXywubczghZieKoGjZNBazDfSi4e3hNO+ps/vRf7GYK0+b3LdjsPy6 2TYRX6H2VZ68eYHAF4BfHx67bdoLnbWSPkM0/btMotNlFpMOX+3XTPQ9nZgiAipq5xkr kGvQ== 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=85UJNkI0srIsPvpHuYy+G2/GniSv2IreaufG2DlR5DU=; b=YqUjuuf0PqCqROBEAYYEKbiCNQ8zZJaiHnAGwGp50ov0ryPtXf+KMoj9kIoiqdi2Li nAS1TezU7VVIueYbucCur+pZg5kB+ZixQ7VXBQjN+1Unb+PGcF7n3H3FjdlD2cahU1Mz KgEBqDlyId1+xIVDuAYAC04Rm9qWS8F0lhvBP/f7dWwN3zwbYHHnl6pluhoeNUYPxeRb 8hLQjNTOPHlzAMTXNRkW2Jp4aDp3mpwwrJm/zT3JlrrboPPiRdMV8yC8gMeAsC3QStkH irgNaq2JyQflWAX5oJaXZ1lX/QvUugdD9wyfdkx73obLuAsd6trHptpiZstFAWIURC6D aU5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=l9REVXuF; 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 r4si10447616pgp.581.2019.03.19.00.12.00; Tue, 19 Mar 2019 00:12:15 -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=l9REVXuF; 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 S1727507AbfCSHKc (ORCPT + 99 others); Tue, 19 Mar 2019 03:10:32 -0400 Received: from mail-eopbgr140059.outbound.protection.outlook.com ([40.107.14.59]:20494 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726916AbfCSHKb (ORCPT ); Tue, 19 Mar 2019 03:10:31 -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=85UJNkI0srIsPvpHuYy+G2/GniSv2IreaufG2DlR5DU=; b=l9REVXuFrhxcMb3nDhxLFbODRn5I1aZv8ab0TwYsnbFO61sZ/2zBkkF0F9Y86N/mdyQpKuypdQ1I1S4fg2zSJZVz+47hG9hxa0873JQwXYeugARwr+gFacfPKoTBoXyuHaPLwYU4xX1VZxr1PZegj2kbo4O62IS07gxFLeCMgTA= 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:27 +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:27 +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 5/5] ARM: dts: imx7ulp-evk: Add backlight support Thread-Topic: [PATCH RESEND V6 5/5] ARM: dts: imx7ulp-evk: Add backlight support Thread-Index: AQHU3iLURlIAwfZNNUC6bd0m0GRtsg== Date: Tue, 19 Mar 2019 07:10:27 +0000 Message-ID: <1552979097-5814-6-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: 3cb3dba8-fb61-4a03-1143-08d6ac39f6bf 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: Vuaz/F0r7Kh4QUrJUKPZzaHdVpkWjC9c98F7qb7RjtoTeOCqgj0fGRx8Z5Cqm/7GSI10rYilSgTRhUQ+OjChDjQldYWsDQFjWFBa3Vi3/wjhjcErRPLZ9fFqgeBzr2PMZXpMhFb6UQx1HDhUG6A0CZ77+fsI0UfarK+XTRujbN5gf6xJx+PCLOylLOsSV4d2FJA5xpWjrAC/jmEqfR2Dfrq3zL27Ehjdkd9Aa4MZcMW8i1rYdqB8YmXnl/2R0h2dl/mZATMTOs6qPft3JvY/crvTwSmI0NWDsgZfaDrfrf+dMXnzalV3yIThG22K7hrPmQwEPToDgyRC0k/S2/mstyD/X/FbSlROqYw9J4OtZdBnufBaF9ooONqmZbFKWpG9N8tsxn5dVTpPPDqxgMWb97mW3aWwbhWUJ01uBh/iI3w= 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: 3cb3dba8-fb61-4a03-1143-08d6ac39f6bf X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 07:10:27.4755 (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 This patch adds i.MX7ULP EVK board MIPI-DSI backlight support. Signed-off-by: Anson Huang --- Changes since V5: - change #pwm-cells to 3, add polarity settings. --- arch/arm/boot/dts/imx7ulp-evk.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts b/arch/arm/boot/dts/imx7ulp-= evk.dts index a09026a..7c44ffa 100644 --- a/arch/arm/boot/dts/imx7ulp-evk.dts +++ b/arch/arm/boot/dts/imx7ulp-evk.dts @@ -8,6 +8,7 @@ /dts-v1/; =20 #include "imx7ulp.dtsi" +#include =20 / { model =3D "NXP i.MX7ULP EVK"; @@ -22,6 +23,14 @@ reg =3D <0x60000000 0x40000000>; }; =20 + backlight { + compatible =3D "pwm-backlight"; + pwms =3D <&pwm0 1 50000 0>; + brightness-levels =3D <0 20 25 30 35 40 100>; + default-brightness-level =3D <6>; + status =3D "okay"; + }; + reg_vsd_3v3: regulator-vsd-3v3 { compatible =3D "regulator-fixed"; regulator-name =3D "VSD_3V3"; @@ -40,6 +49,12 @@ status =3D "okay"; }; =20 +&pwm0 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_pwm0>; + status =3D "okay"; +}; + &usdhc0 { pinctrl-names =3D "default"; pinctrl-0 =3D <&pinctrl_usdhc0>; @@ -57,6 +72,12 @@ bias-pull-up; }; =20 + pinctrl_pwm0: pwm0grp { + fsl,pins =3D < + IMX7ULP_PAD_PTF2__TPM4_CH1 0x2 + >; + }; + pinctrl_usdhc0: usdhc0grp { fsl,pins =3D < IMX7ULP_PAD_PTD1__SDHC0_CMD 0x43 --=20 2.7.4