Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1282444

[PATCH v2] ARM: mxs: dt: cfa10057: fix backlight PWM

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH v2] ARM: mxs: dt: cfa10057: fix backlight PWM
Date 2015-12-02 22:40 +0100
Message-ID <qBni3-4hS-29@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The backlight PWM is actually pwm4.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
Changes in v2:
 - remove default-brightness-level change

 arch/arm/boot/dts/imx28-cfa10057.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx28-cfa10057.dts b/arch/arm/boot/dts/imx28-cfa10057.dts
index 5df0b24eaf59..7a80bd686c40 100644
--- a/arch/arm/boot/dts/imx28-cfa10057.dts
+++ b/arch/arm/boot/dts/imx28-cfa10057.dts
@@ -115,7 +115,7 @@
 
 			pwm: pwm@80064000 {
 				pinctrl-names = "default";
-				pinctrl-0 = <&pwm3_pins_b>;
+				pinctrl-0 = <&pwm4_pins_a>;
 				status = "okay";
 			};
 
@@ -170,7 +170,7 @@
 
 	backlight {
 		compatible = "pwm-backlight";
-		pwms = <&pwm 3 5000000>;
+		pwms = <&pwm 4 5000000>;
 		brightness-levels = <0 4 8 16 32 64 128 255>;
 		default-brightness-level = <7>;
 	};
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] ARM: mxs: dt: cfa10057: fix backlight PWM Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-12-02 22:40 +0100
  Re: [PATCH v2] ARM: mxs: dt: cfa10057: fix backlight PWM Shawn Guo <shawnguo@kernel.org> - 2015-12-11 15:20 +0100
  Re: [PATCH v2] ARM: mxs: dt: cfa10057: fix backlight PWM Shawn Guo <shawnguo@kernel.org> - 2015-12-11 15:20 +0100

csiph-web