Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp777385pxb; Wed, 20 Jan 2021 22:16:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyHGnFpoDjMsDSA6EY0OyXyRBbGty2Z+sC88OlpPGDhApOThm3dxxf1SQr25UE5rIH3gVxe X-Received: by 2002:a17:907:9f9:: with SMTP id ce25mr8805870ejc.352.1611209795290; Wed, 20 Jan 2021 22:16:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611209795; cv=none; d=google.com; s=arc-20160816; b=A+LYaJIqF3py061kvwja1AwRS+8tHFcKq6iz+34lnNGyg5u8YWu6RBK1mD/P0wNOmZ tUnw2KZTD1CfiGich28BqV+fcHNg4R1QuSnN0QK3jDChLv2+PWhV+vRmbkgxu+YE+N+B s2/6s6iAzswMzZ6d9CtZamyxMXWA+4ss1HSDGxGlnNKtmgMjg0dO9Svqy09D/T0G3djr 9Ml0z5gSjlc0scnD9DxNP8An29yjPNAlT+DyMDE4QXmiRg61fisYHVkCJ1DXHwVWlirB 6aDUan17MGCKfRBwEaG3LpIQ/dPSaLf306drUuUco8MvAOh16Ex4W/zI3EUvkt/o3D7A VBbg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=SfxpUTrjKge1jiCe26oSfELHI6SQ5rMSzyQ1rhFiWAs=; b=mTFZZwCzy74drk4BbYJfmmYbBoHRPMXFmDjuIJNGWXLgF96MSkYF8xTqNdvR2fhgBo W8AmBpcvEvBAFXhgoc1TzaUM7LodAtXFUAxVPdtrpb1zt6HdELkWwUVyXpQugn6mDYp9 Co+ubb+hLHbGZBXdaehC9AtqOJpXHAfBBfUnIFfeWuAZPZYnSNk+1rSiCmRS++i4SPXP zVueDVXkE4t/a/MtWFz5dtV1XBKi22AdhjIJjnV6wEmAzbKE66lBKddPuTeXDmnuHtzs 7BapEIz+L1mFb1EzkIYOnaxiNX0wkqvVAAViSNQzmqlYFbVrX4WXPsj4QmVfJvqQKNa/ td4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k8si1681447edx.303.2021.01.20.22.16.11; Wed, 20 Jan 2021 22:16:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726516AbhAUGOc (ORCPT + 99 others); Thu, 21 Jan 2021 01:14:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726640AbhAUGOA (ORCPT ); Thu, 21 Jan 2021 01:14:00 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63685C06179F for ; Wed, 20 Jan 2021 22:12:31 -0800 (PST) Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l2TC4-0006PM-3l; Thu, 21 Jan 2021 07:11:44 +0100 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1l2TC2-000625-Al; Thu, 21 Jan 2021 07:11:42 +0100 From: Oleksij Rempel To: Mark Rutland , Rob Herring , Sascha Hauer , Shawn Guo , Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter Cc: Oleksij Rempel , devicetree@vger.kernel.org, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , David Jander , Robin van der Gracht , dri-devel@lists.freedesktop.org Subject: [PATCH v2 6/7] ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node. Date: Thu, 21 Jan 2021 07:11:40 +0100 Message-Id: <20210121061141.23062-7-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210121061141.23062-1-o.rempel@pengutronix.de> References: <20210121061141.23062-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At some point PWM cell count was changed, but it didn't triggered any error, since this DT was overwriting "#pwm-cells". To make sure, we are in sync with the kernel driver, remove this property and fix the pwm consumer. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/boot/dts/imx6dl-prtvt7.dts index 8a1491975da8..83b461eb33a2 100644 --- a/arch/arm/boot/dts/imx6dl-prtvt7.dts +++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts @@ -21,7 +21,7 @@ memory@10000000 { backlight_lcd: backlight-lcd { compatible = "pwm-backlight"; - pwms = <&pwm1 0 500000>; + pwms = <&pwm1 0 500000 0>; brightness-levels = <0 20 81 248 1000>; default-brightness-level = <20>; num-interpolated-steps = <21>; @@ -320,7 +320,6 @@ &ipu1_di0_disp0 { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; -- 2.30.0