All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: imx53: Fix display pinmux for M53EVK
@ 2013-11-17  1:19 Marek Vasut
  2013-11-17  1:19 ` [PATCH 2/3] ARM: dts: imx53: Fix backlight " Marek Vasut
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Marek Vasut @ 2013-11-17  1:19 UTC (permalink / raw)
  To: linux-arm-kernel

Use the DISP1 pinmux on M53EVK for the LCD, not the LVDS.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
---
 arch/arm/boot/dts/imx53-m53evk.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/imx53-m53evk.dts b/arch/arm/boot/dts/imx53-m53evk.dts
index 7583449..4bc4a83 100644
--- a/arch/arm/boot/dts/imx53-m53evk.dts
+++ b/arch/arm/boot/dts/imx53-m53evk.dts
@@ -26,7 +26,7 @@
 			crtcs = <&ipu 1>;
 			interface-pix-fmt = "bgr666";
 			pinctrl-names = "default";
-			pinctrl-0 = <&pinctrl_ipu_disp2>;
+			pinctrl-0 = <&pinctrl_ipu_disp1>;
 
 			display-timings {
 				800x480p60 {
@@ -254,8 +254,8 @@
 			fsl,pins = <MX53_I2C3_PINGRP1>;
 		};
 
-		pinctrl_ipu_disp2: ipudisp2grp {
-			fsl,pins = <MX53_IPU_DISP2_PINGRP1>;
+		pinctrl_ipu_disp1: ipudisp1grp {
+			fsl,pins = <MX53_IPU_DISP1_PINGRP1>;
 		};
 
 		pinctrl_nand: nandgrp {
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/3] ARM: dts: imx53: Fix backlight for M53EVK
  2013-11-17  1:19 [PATCH 1/3] ARM: dts: imx53: Fix display pinmux for M53EVK Marek Vasut
@ 2013-11-17  1:19 ` Marek Vasut
  2013-11-17  1:19 ` [PATCH 3/3] ARM: imx_v6_v7_defconfig: Enable STMPE touchscreen Marek Vasut
  2013-11-18  2:45 ` [PATCH 1/3] ARM: dts: imx53: Fix display pinmux for M53EVK Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Marek Vasut @ 2013-11-17  1:19 UTC (permalink / raw)
  To: linux-arm-kernel

Remove the PWM backlight pin from the hog pins list, so it doesn't
collide with the PWM pin group. Moreover, add dummy regulator for
the backlight so that the backlight driver probes correctly.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
---
 arch/arm/boot/dts/imx53-m53evk.dts | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx53-m53evk.dts b/arch/arm/boot/dts/imx53-m53evk.dts
index 4bc4a83..658d32a 100644
--- a/arch/arm/boot/dts/imx53-m53evk.dts
+++ b/arch/arm/boot/dts/imx53-m53evk.dts
@@ -51,6 +51,7 @@
 		pwms = <&pwm1 0 3000>;
 		brightness-levels = <0 4 8 16 32 64 128 255>;
 		default-brightness-level = <6>;
+		power-supply = <&reg_backlight>;
 	};
 
 	leds {
@@ -84,6 +85,17 @@
 			regulator-max-microvolt = <3200000>;
 			regulator-always-on;
 		};
+
+
+		reg_backlight: regulator at 1 {
+			compatible = "regulator-fixed";
+			reg = <1>;
+			regulator-name = "lcd-supply";
+			regulator-min-microvolt = <3200000>;
+			regulator-max-microvolt = <3200000>;
+			regulator-always-on;
+		};
+
 	};
 
 	sound {
@@ -210,8 +222,6 @@
 				MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK	0x80000000
 				MX53_PAD_EIM_EB3__GPIO2_31		0x80000000
 				MX53_PAD_PATA_DA_0__GPIO7_6		0x80000000
-				MX53_PAD_DISP0_DAT8__PWM1_PWMO		0x5
-
 			>;
 		};
 
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 3/3] ARM: imx_v6_v7_defconfig: Enable STMPE touchscreen
  2013-11-17  1:19 [PATCH 1/3] ARM: dts: imx53: Fix display pinmux for M53EVK Marek Vasut
  2013-11-17  1:19 ` [PATCH 2/3] ARM: dts: imx53: Fix backlight " Marek Vasut
@ 2013-11-17  1:19 ` Marek Vasut
  2013-11-18  2:45 ` [PATCH 1/3] ARM: dts: imx53: Fix display pinmux for M53EVK Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Marek Vasut @ 2013-11-17  1:19 UTC (permalink / raw)
  To: linux-arm-kernel

Enable STMPE touchscreen support as this is used on M53EVK.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
---
 arch/arm/configs/imx_v6_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index f1c9bfa..f338fd6 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -131,6 +131,7 @@ CONFIG_INPUT_TOUCHSCREEN=y
 CONFIG_TOUCHSCREEN_EGALAX=y
 CONFIG_TOUCHSCREEN_MC13783=y
 CONFIG_TOUCHSCREEN_TSC2007=y
+CONFIG_TOUCHSCREEN_STMPE=y
 CONFIG_INPUT_MISC=y
 CONFIG_INPUT_MMA8450=y
 CONFIG_SERIO_SERPORT=m
@@ -158,6 +159,7 @@ CONFIG_IMX2_WDT=y
 CONFIG_MFD_DA9052_I2C=y
 CONFIG_MFD_MC13XXX_SPI=y
 CONFIG_MFD_MC13XXX_I2C=y
+CONFIG_MFD_STMPE=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
 CONFIG_REGULATOR_ANATOP=y
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/3] ARM: dts: imx53: Fix display pinmux for M53EVK
  2013-11-17  1:19 [PATCH 1/3] ARM: dts: imx53: Fix display pinmux for M53EVK Marek Vasut
  2013-11-17  1:19 ` [PATCH 2/3] ARM: dts: imx53: Fix backlight " Marek Vasut
  2013-11-17  1:19 ` [PATCH 3/3] ARM: imx_v6_v7_defconfig: Enable STMPE touchscreen Marek Vasut
@ 2013-11-18  2:45 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2013-11-18  2:45 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Nov 17, 2013 at 02:19:39AM +0100, Marek Vasut wrote:
> Use the DISP1 pinmux on M53EVK for the LCD, not the LVDS.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Shawn Guo <shawn.guo@linaro.org>

Applied all 3, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-18  2:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-17  1:19 [PATCH 1/3] ARM: dts: imx53: Fix display pinmux for M53EVK Marek Vasut
2013-11-17  1:19 ` [PATCH 2/3] ARM: dts: imx53: Fix backlight " Marek Vasut
2013-11-17  1:19 ` [PATCH 3/3] ARM: imx_v6_v7_defconfig: Enable STMPE touchscreen Marek Vasut
2013-11-18  2:45 ` [PATCH 1/3] ARM: dts: imx53: Fix display pinmux for M53EVK Shawn Guo

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.