Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2717240imi; Mon, 25 Jul 2022 06:33:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sRl53sMBSqk9TwlOOVNl+goWwYllopRL27JwUHYK6QT+MSx8rh5j0H2ENAQ7Amumklid/f X-Received: by 2002:a17:902:db04:b0:16c:5568:d73e with SMTP id m4-20020a170902db0400b0016c5568d73emr12936949plx.46.1658756019383; Mon, 25 Jul 2022 06:33:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658756019; cv=none; d=google.com; s=arc-20160816; b=LoUfh2lSRUCaNZq9XxL9FKL6APgaFzB2U7qexcZdvWGcu3Unfj0sQASFGjl6L9+qG+ 9GlsTaie0BbUAl3xkwqdGuZxdu4ECFSlRb8DT58fHLFXRiyiO6ihq+6sZeHggJmoQJin iVTUwd1vc5lR5QbRm3e1RHWc+QjT6sGMebs8Gs9XSnfh2jJKUFiDdhcM9nxMFIhXBSA3 0oP23dnKvhhOMYB/qPkhRmhOnXh4bhfUx48pNCCyQ2q8FryWhJKAX7zJIAjE+XEy9JEQ CVU3g3PdqGJJltezpiSlBPnsyQ5Pg2B5op0UKcln0rh0QmCxfjrXsz6Ni5NgGloJ6YWt E5ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=u+Sc1KDzF9RshIeaZARqCUt1rPYR93miba1YFSCpnzo=; b=YXuKX5zqkyJomJyQ3xwMCimjkGELFMP40PRpJQ5WcAqRH25dpc8KAZR6WHnODyBzJu 1qNv+TL9Ow4HTevFNTv62uhLTMcGySCjTFrSr94JrrHxhV+Z4Ytd6eezOv0la2Za/iiF lbRP6mZu2MIEEiGRWlrTgWS67/ANT+rh2hapvqVb5odqxBObwojucNgo1Lnzxe7CyyES w6GiIrVZ4bz2c7sfwyAfrYseEyOAsDym9rJT3wUPLW/cI2GUH+5KwzJBMTjjRXS2ag6P gY3pEWia3W9AmNszKfhMUCmIcFybQdMMDAx2Z25///Tjs4m3yAq/m0gl6kSAVBg7E8eH Lt/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonic.nl header.s=202111 header.b=mOofaVbN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x14-20020a63b34e000000b00412a5eefe2asi13703605pgt.582.2022.07.25.06.33.22; Mon, 25 Jul 2022 06:33:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@protonic.nl header.s=202111 header.b=mOofaVbN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235391AbiGYNFE (ORCPT + 99 others); Mon, 25 Jul 2022 09:05:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235377AbiGYNEx (ORCPT ); Mon, 25 Jul 2022 09:04:53 -0400 X-Greylist: delayed 964 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 25 Jul 2022 06:04:49 PDT Received: from smtp28.bhosted.nl (smtp28.bhosted.nl [IPv6:2a02:9e0:8000::40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D96A413E0E for ; Mon, 25 Jul 2022 06:04:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonic.nl; s=202111; h=content-transfer-encoding:mime-version:message-id:date:subject:cc:to:from: from; bh=u+Sc1KDzF9RshIeaZARqCUt1rPYR93miba1YFSCpnzo=; b=mOofaVbNfZC1bIz73JDpcREMfcB1SIwA5oBroiFip7vmY+8gc/+h0kHj6VrxKwsd4gXSlIwO6Z0Wr l0dgcYg96h+TPYjLZgAzk4yMEcmNickJUiHufElW65B6AnYiZfh92+0hgvTnGXaMaW4z5fYh6wM3HN dYNrbAfrqEIeoYyGeq1CSEjhn0QO24+Q38dEfoeeM+kcRwpInQXoaYCdBYeb6Lp4MqXCkc3CFM+KpH HXAddP7wV3va2tqEkMwcOG/GSuqaBkSeaUQGhveTBMyAzzC/JN3tykwZyTv4wTW9Wmyz6VE/4TJuer x1ZA3wmhmYKT3RpPZocDDXEWzlQBbug== X-MSG-ID: 1cb116df-0c18-11ed-8a45-0050569d11ae From: David Jander To: Rob Herring , Krzysztof Kozlowski Cc: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Oleksij Rempel , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, David Jander Subject: [PATCH] arm: dts: imx6qdl-vicut1.dtsi: Add backlight-isb node Date: Mon, 25 Jul 2022 14:48:13 +0200 Message-Id: <20220725124813.1001032-1-david@protonic.nl> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On some older hardware models this is needed. It will do no harm if used with newer models though. Signed-off-by: David Jander --- arch/arm/boot/dts/imx6qdl-vicut1.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-vicut1.dtsi b/arch/arm/boot/dts/imx6qdl-vicut1.dtsi index a1676b5d2980..08d425020088 100644 --- a/arch/arm/boot/dts/imx6qdl-vicut1.dtsi +++ b/arch/arm/boot/dts/imx6qdl-vicut1.dtsi @@ -37,6 +37,16 @@ backlight_led: backlight_led { power-supply = <®_3v3>; }; + /* only for backwards compatibility with old HW */ + backlight_isb: backlight_isb { + compatible = "pwm-backlight"; + pwms = <&pwm2 0 5000000 0>; + brightness-levels = <0 8 48 255>; + num-interpolated-steps = <5>; + default-brightness-level = <0>; + power-supply = <®_3v3>; + }; + connector { compatible = "composite-video-connector"; label = "Composite0"; @@ -370,6 +380,12 @@ &pwm1 { status = "okay"; }; +&pwm2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm2>; + status = "okay"; +}; + &pwm3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm3>; @@ -601,6 +617,12 @@ MX6QDL_PAD_DISP0_DAT8__PWM1_OUT 0x1b0b0 >; }; + pinctrl_pwm2: pwm2grp { + fsl,pins = < + MX6QDL_PAD_DISP0_DAT9__PWM2_OUT 0x1b0b0 + >; + }; + pinctrl_pwm3: pwm3grp { fsl,pins = < MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b0 -- 2.32.0