All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/2] ARM: dts: snow: add backlight node
@ 2014-05-19  5:15 ` Ajay Kumar
  0 siblings, 0 replies; 8+ messages in thread
From: Ajay Kumar @ 2014-05-19  5:15 UTC (permalink / raw)
  To: linux-arm-kernel, linux-samsung-soc
  Cc: kgene.kim, tomasz.figa, ajaynumb, joshi, prashanth.g, Ajay Kumar

This series is based on Kukjin Kim's tree, for-next branch.

This series adds:
	-- pinctrl definitions for pwmX_out on exynos5250
	-- pwm-backlight DT node for exynos5250 based snow board

Changes since V1:
	-- Added the branch name against which patches are created.
	-- Rebase the patches on top of for-next branch.

Ajay Kumar (2):
  [PATCH V2 1/2] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5250
  [PATCH V2 2/2] ARM: dts: enable pwm backlight for snow

 arch/arm/boot/dts/exynos5250-pinctrl.dtsi |   28 ++++++++++++++++++++++++++++
 arch/arm/boot/dts/exynos5250-snow.dts     |   10 ++++++++++
 2 files changed, 38 insertions(+)

-- 
1.7.9.5

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

* [PATCH V2 0/2] ARM: dts: snow: add backlight node
@ 2014-05-19  5:15 ` Ajay Kumar
  0 siblings, 0 replies; 8+ messages in thread
From: Ajay Kumar @ 2014-05-19  5:15 UTC (permalink / raw)
  To: linux-arm-kernel

This series is based on Kukjin Kim's tree, for-next branch.

This series adds:
	-- pinctrl definitions for pwmX_out on exynos5250
	-- pwm-backlight DT node for exynos5250 based snow board

Changes since V1:
	-- Added the branch name against which patches are created.
	-- Rebase the patches on top of for-next branch.

Ajay Kumar (2):
  [PATCH V2 1/2] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5250
  [PATCH V2 2/2] ARM: dts: enable pwm backlight for snow

 arch/arm/boot/dts/exynos5250-pinctrl.dtsi |   28 ++++++++++++++++++++++++++++
 arch/arm/boot/dts/exynos5250-snow.dts     |   10 ++++++++++
 2 files changed, 38 insertions(+)

-- 
1.7.9.5

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

* [PATCH V2 1/2] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5250
  2014-05-19  5:15 ` Ajay Kumar
@ 2014-05-19  5:15   ` Ajay Kumar
  -1 siblings, 0 replies; 8+ messages in thread
From: Ajay Kumar @ 2014-05-19  5:15 UTC (permalink / raw)
  To: linux-arm-kernel, linux-samsung-soc
  Cc: kgene.kim, tomasz.figa, ajaynumb, joshi, prashanth.g, Ajay Kumar

Adds the PWM nodes to 5250 pinctrl dtsi file.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
---
 arch/arm/boot/dts/exynos5250-pinctrl.dtsi |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
index 9a49e68..886cfca 100644
--- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
@@ -351,6 +351,34 @@
 			samsung,pin-drv = <0>;
 		};
 
+		pwm0_out: pwm0-out {
+			samsung,pins = "gpb2-0";
+			samsung,pin-function = <2>;
+			samsung,pin-pud = <0>;
+			samsung,pin-drv = <0>;
+		};
+
+		pwm1_out: pwm1-out {
+			samsung,pins = "gpb2-1";
+			samsung,pin-function = <2>;
+			samsung,pin-pud = <0>;
+			samsung,pin-drv = <0>;
+		};
+
+		pwm2_out: pwm2-out {
+			samsung,pins = "gpb2-2";
+			samsung,pin-function = <2>;
+			samsung,pin-pud = <0>;
+			samsung,pin-drv = <0>;
+		};
+
+		pwm3_out: pwm3-out {
+			samsung,pins = "gpb2-3";
+			samsung,pin-function = <2>;
+			samsung,pin-pud = <0>;
+			samsung,pin-drv = <0>;
+		};
+
 		i2c7_bus: i2c7-bus {
 			samsung,pins = "gpb2-2", "gpb2-3";
 			samsung,pin-function = <3>;
-- 
1.7.9.5

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

* [PATCH V2 1/2] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5250
@ 2014-05-19  5:15   ` Ajay Kumar
  0 siblings, 0 replies; 8+ messages in thread
From: Ajay Kumar @ 2014-05-19  5:15 UTC (permalink / raw)
  To: linux-arm-kernel

Adds the PWM nodes to 5250 pinctrl dtsi file.

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
---
 arch/arm/boot/dts/exynos5250-pinctrl.dtsi |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
index 9a49e68..886cfca 100644
--- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
@@ -351,6 +351,34 @@
 			samsung,pin-drv = <0>;
 		};
 
+		pwm0_out: pwm0-out {
+			samsung,pins = "gpb2-0";
+			samsung,pin-function = <2>;
+			samsung,pin-pud = <0>;
+			samsung,pin-drv = <0>;
+		};
+
+		pwm1_out: pwm1-out {
+			samsung,pins = "gpb2-1";
+			samsung,pin-function = <2>;
+			samsung,pin-pud = <0>;
+			samsung,pin-drv = <0>;
+		};
+
+		pwm2_out: pwm2-out {
+			samsung,pins = "gpb2-2";
+			samsung,pin-function = <2>;
+			samsung,pin-pud = <0>;
+			samsung,pin-drv = <0>;
+		};
+
+		pwm3_out: pwm3-out {
+			samsung,pins = "gpb2-3";
+			samsung,pin-function = <2>;
+			samsung,pin-pud = <0>;
+			samsung,pin-drv = <0>;
+		};
+
 		i2c7_bus: i2c7-bus {
 			samsung,pins = "gpb2-2", "gpb2-3";
 			samsung,pin-function = <3>;
-- 
1.7.9.5

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

* [PATCH V2 2/2] ARM: dts: enable pwm backlight for snow
  2014-05-19  5:15 ` Ajay Kumar
@ 2014-05-19  5:15   ` Ajay Kumar
  -1 siblings, 0 replies; 8+ messages in thread
From: Ajay Kumar @ 2014-05-19  5:15 UTC (permalink / raw)
  To: linux-arm-kernel, linux-samsung-soc
  Cc: kgene.kim, tomasz.figa, ajaynumb, joshi, prashanth.g, Ajay Kumar,
	Olof Johansson

Add PWM backlight node for exynos5250 based snow board.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
---
 arch/arm/boot/dts/exynos5250-snow.dts |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
index 9d1ca09..09c79db 100644
--- a/arch/arm/boot/dts/exynos5250-snow.dts
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
@@ -365,4 +365,14 @@
 		vdd_osc-supply = <&ldo10_reg>;
 		vdd_pll-supply = <&ldo8_reg>;
 	};
+
+	backlight {
+		compatible = "pwm-backlight";
+		pwms = <&pwm 0 1000000 0>;
+		brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
+		default-brightness-level = <7>;
+		pinctrl-0 = <&pwm0_out>;
+		pinctrl-names = "default";
+	};
+
 };
-- 
1.7.9.5

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

* [PATCH V2 2/2] ARM: dts: enable pwm backlight for snow
@ 2014-05-19  5:15   ` Ajay Kumar
  0 siblings, 0 replies; 8+ messages in thread
From: Ajay Kumar @ 2014-05-19  5:15 UTC (permalink / raw)
  To: linux-arm-kernel

Add PWM backlight node for exynos5250 based snow board.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
---
 arch/arm/boot/dts/exynos5250-snow.dts |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
index 9d1ca09..09c79db 100644
--- a/arch/arm/boot/dts/exynos5250-snow.dts
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
@@ -365,4 +365,14 @@
 		vdd_osc-supply = <&ldo10_reg>;
 		vdd_pll-supply = <&ldo8_reg>;
 	};
+
+	backlight {
+		compatible = "pwm-backlight";
+		pwms = <&pwm 0 1000000 0>;
+		brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
+		default-brightness-level = <7>;
+		pinctrl-0 = <&pwm0_out>;
+		pinctrl-names = "default";
+	};
+
 };
-- 
1.7.9.5

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

* Re: [PATCH V2 0/2] ARM: dts: snow: add backlight node
  2014-05-19  5:15 ` Ajay Kumar
@ 2014-05-19 15:56   ` Kukjin Kim
  -1 siblings, 0 replies; 8+ messages in thread
From: Kukjin Kim @ 2014-05-19 15:56 UTC (permalink / raw)
  To: Ajay Kumar
  Cc: linux-arm-kernel, linux-samsung-soc, kgene.kim, tomasz.figa,
	ajaynumb, joshi, prashanth.g

On 05/19/14 14:15, Ajay Kumar wrote:
> This series is based on Kukjin Kim's tree, for-next branch.
>
> This series adds:
> 	-- pinctrl definitions for pwmX_out on exynos5250
> 	-- pwm-backlight DT node for exynos5250 based snow board
>
> Changes since V1:
> 	-- Added the branch name against which patches are created.
> 	-- Rebase the patches on top of for-next branch.
>
> Ajay Kumar (2):
>    [PATCH V2 1/2] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5250
>    [PATCH V2 2/2] ARM: dts: enable pwm backlight for snow
>
>   arch/arm/boot/dts/exynos5250-pinctrl.dtsi |   28 ++++++++++++++++++++++++++++
>   arch/arm/boot/dts/exynos5250-snow.dts     |   10 ++++++++++
>   2 files changed, 38 insertions(+)
>
As I requested before, it looks good to me, applied.

Thanks,
Kukjin

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

* [PATCH V2 0/2] ARM: dts: snow: add backlight node
@ 2014-05-19 15:56   ` Kukjin Kim
  0 siblings, 0 replies; 8+ messages in thread
From: Kukjin Kim @ 2014-05-19 15:56 UTC (permalink / raw)
  To: linux-arm-kernel

On 05/19/14 14:15, Ajay Kumar wrote:
> This series is based on Kukjin Kim's tree, for-next branch.
>
> This series adds:
> 	-- pinctrl definitions for pwmX_out on exynos5250
> 	-- pwm-backlight DT node for exynos5250 based snow board
>
> Changes since V1:
> 	-- Added the branch name against which patches are created.
> 	-- Rebase the patches on top of for-next branch.
>
> Ajay Kumar (2):
>    [PATCH V2 1/2] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5250
>    [PATCH V2 2/2] ARM: dts: enable pwm backlight for snow
>
>   arch/arm/boot/dts/exynos5250-pinctrl.dtsi |   28 ++++++++++++++++++++++++++++
>   arch/arm/boot/dts/exynos5250-snow.dts     |   10 ++++++++++
>   2 files changed, 38 insertions(+)
>
As I requested before, it looks good to me, applied.

Thanks,
Kukjin

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

end of thread, other threads:[~2014-05-19 15:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-19  5:15 [PATCH V2 0/2] ARM: dts: snow: add backlight node Ajay Kumar
2014-05-19  5:15 ` Ajay Kumar
2014-05-19  5:15 ` [PATCH V2 1/2] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5250 Ajay Kumar
2014-05-19  5:15   ` Ajay Kumar
2014-05-19  5:15 ` [PATCH V2 2/2] ARM: dts: enable pwm backlight for snow Ajay Kumar
2014-05-19  5:15   ` Ajay Kumar
2014-05-19 15:56 ` [PATCH V2 0/2] ARM: dts: snow: add backlight node Kukjin Kim
2014-05-19 15:56   ` Kukjin Kim

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.