Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1620250pxj; Wed, 19 May 2021 09:56:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1dBnnCiiu0clitTSzvFCeRMeLQ4oFrJDM96pcK+tjgxFdEuBJ4+43gRujZAxYhh7xX6P2 X-Received: by 2002:a50:d68a:: with SMTP id r10mr35044edi.90.1621443403057; Wed, 19 May 2021 09:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621443403; cv=none; d=google.com; s=arc-20160816; b=bTSnmQR6fbkUq/z8gEIbDxUhTUUZCFs3+Q9rrsojxHv1tNkm/rr580vEKco27dFzDP ZBkoKMMMdkvPRYwGjdkwp3p7ft/5pM9TJbgBJ8otoI0nfetnutxMxbT8hNeAqm4nyiGX l2TQDxJiTiZKpVIupF2xVUHuHK2AWuxQE0zjbd1w2RuKLr4pxd3gJ+rlWjEHlQEvU2dE LJIYxWMbEU9eqX6n+2BJJK+4HWrNlt5xHy3xNCSvSJ1/OiOHFF8DcvSldTJhFuIIgKBF oCy7bSiY86Uyd1EpwWOuQPQvxEwE6GGnJ7FoxveF5GGa8jgV5u7MdMS61Pf5YaApKTrq FC+Q== 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=T4u6CPauBEx/3pv5Y9QVu99bs+uDfeYPJ9QKr+OLGRI=; b=T5m3N2GrdCVWqk/ton3U0eEWjEmuAbl3jiCWrJU1qjyoGVw7/6zNrH5sz1KhEu+fQb tt+Es110Qnq+p1HTTy+Ro1eo92K4nMR1l3Fve8V+Tu49dUuuQnYJwgfuX0ap0fl8YIRF 3Lj3/N1PKl03nbsqi1YjHYsEFPh4MmHyQq+G+d+8tKpaXknkwC0l69ZxEAYq6e0w/ABK x8mYEpl4RWkpc9cvQ5Zz4FhUsN29pb3llfc6YHYdn10QQhU5UwZhQ16S8M2qKRo2Yyvj sijwE1jsaYxdLz6eCM4wuRAKgP1aqS5a8xg2zbzSqiUtjRQMSNVJ0YwbMITT94qo0Y/L 7OMw== 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 l25si212736ejq.639.2021.05.19.09.55.28; Wed, 19 May 2021 09:56:43 -0700 (PDT) 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 S1347521AbhERIai (ORCPT + 99 others); Tue, 18 May 2021 04:30:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347505AbhERIac (ORCPT ); Tue, 18 May 2021 04:30:32 -0400 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 A1339C06138C for ; Tue, 18 May 2021 01:29:14 -0700 (PDT) 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 1liv5x-00074d-4F; Tue, 18 May 2021 10:28:53 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1liv5v-0006nd-Jk; Tue, 18 May 2021 10:28:51 +0200 From: Oleksij Rempel To: Rob Herring , Sascha Hauer , Shawn Guo 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 Subject: [PATCH v1 3/9] ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node. Date: Tue, 18 May 2021 10:28:44 +0200 Message-Id: <20210518082850.26048-4-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210518082850.26048-1-o.rempel@pengutronix.de> References: <20210518082850.26048-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 a8e72c7699cd..d22ded6fc48b 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>; @@ -273,7 +273,6 @@ &ipu1 { }; &pwm1 { - #pwm-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pwm1>; status = "okay"; -- 2.29.2