All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: Rob Herring <robh+dt@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Shawn Guo <shawnguo@kernel.org>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>,
	devicetree@vger.kernel.org, Fabio Estevam <festevam@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, NXP Linux Team <linux-imx@nxp.com>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	David Jander <david@protonic.nl>
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	[thread overview]
Message-ID: <20210518082850.26048-4-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20210518082850.26048-1-o.rempel@pengutronix.de>

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 <o.rempel@pengutronix.de>
---
 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


WARNING: multiple messages have this Message-ID (diff)
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: Rob Herring <robh+dt@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Shawn Guo <shawnguo@kernel.org>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>,
	devicetree@vger.kernel.org, Fabio Estevam <festevam@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, NXP Linux Team <linux-imx@nxp.com>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	David Jander <david@protonic.nl>
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	[thread overview]
Message-ID: <20210518082850.26048-4-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20210518082850.26048-1-o.rempel@pengutronix.de>

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 <o.rempel@pengutronix.de>
---
 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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-05-18  8:29 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18  8:28 [PATCH v1 0/9] ARM: dts: fixes for Protonic boards Oleksij Rempel
2021-05-18  8:28 ` Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 1/9] ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node Oleksij Rempel
2021-05-18  8:28   ` Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 2/9] ARM: dts: imx6dl-prtvt7: Remove backlight enable gpio Oleksij Rempel
2021-05-18  8:28   ` Oleksij Rempel
2021-05-18  8:28 ` Oleksij Rempel [this message]
2021-05-18  8:28   ` [PATCH v1 3/9] ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 4/9] ARM: dts: imx6dl-plym2m: remove touchscreen-size-* properties Oleksij Rempel
2021-05-18  8:28   ` Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 5/9] ARM: dts: imx6dl: enable touchscreen debounce filter on PLYM2M and PRTVT7 boards Oleksij Rempel
2021-05-18  8:28   ` Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 6/9] ARM: dts: imx6dl-prtvt7: Enable the VPU Oleksij Rempel
2021-05-18  8:28   ` Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 7/9] ARM: dts: imx6qdl-vicut1: add interrupt-counter nodes Oleksij Rempel
2021-05-18  8:28   ` Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 8/9] ARM: dts: imx6dl-prtvt7: The sgtl5000 uses i2s not ac97 Oleksij Rempel
2021-05-18  8:28   ` Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 9/9] ARM: dts: imx6dl-prtvt7: Remove unused 'sound-dai-cells' from ssi1 node Oleksij Rempel
2021-05-18  8:28   ` Oleksij Rempel
2021-06-08 11:49 ` [PATCH v1 0/9] ARM: dts: fixes for Protonic boards Shawn Guo
2021-06-08 11:49   ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210518082850.26048-4-o.rempel@pengutronix.de \
    --to=o.rempel@pengutronix.de \
    --cc=david@protonic.nl \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.