All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow
@ 2014-05-07 12:56 Ajay Kumar
  2014-05-07 20:34 ` Tomasz Figa
  0 siblings, 1 reply; 8+ messages in thread
From: Ajay Kumar @ 2014-05-07 12:56 UTC (permalink / raw)
  To: linux-samsung-soc
  Cc: ajaynumb, kgene.kim, tomasz.figa, joshi, prashanth.g, Ajay Kumar,
	Olof Johansson

Add PWM backlight node for exynos5250 and enable the same on 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-pinctrl.dtsi |    7 +++++++
 arch/arm/boot/dts/exynos5250-snow.dts     |    5 +++++
 arch/arm/boot/dts/exynos5250.dtsi         |   10 ++++++++++
 3 files changed, 22 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
index 9a49e68..2a4680c 100644
--- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
@@ -351,6 +351,13 @@
 			samsung,pin-drv = <0>;
 		};
 
+		backlight_pwm: backlight-pwm {
+			samsung,pins = "gpb2-0";
+			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>;
diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts
index 1ce1088..9fcd3e8 100644
--- a/arch/arm/boot/dts/exynos5250-snow.dts
+++ b/arch/arm/boot/dts/exynos5250-snow.dts
@@ -206,4 +206,9 @@
 			clock-frequency = <24000000>;
 		};
 	};
+
+	backlight {
+		status = "okay";
+	};
+
 };
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 3742331..89a9955 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -593,6 +593,16 @@
 		clock-names = "timers";
 	};
 
+	backlight: 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 = <&backlight_pwm>;
+		pinctrl-names = "default";
+		status = "disabled";
+	};
+
 	amba {
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
1.7.9.5

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

* Re: [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow
  2014-05-07 12:56 [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow Ajay Kumar
@ 2014-05-07 20:34 ` Tomasz Figa
  2014-05-07 20:47   ` Ajay kumar
  0 siblings, 1 reply; 8+ messages in thread
From: Tomasz Figa @ 2014-05-07 20:34 UTC (permalink / raw)
  To: Ajay Kumar, linux-samsung-soc
  Cc: ajaynumb, kgene.kim, joshi, prashanth.g, Olof Johansson

Hi Ajay,

On 07.05.2014 14:56, Ajay Kumar wrote:
> Add PWM backlight node for exynos5250 and enable the same on 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-pinctrl.dtsi |    7 +++++++
>   arch/arm/boot/dts/exynos5250-snow.dts     |    5 +++++
>   arch/arm/boot/dts/exynos5250.dtsi         |   10 ++++++++++
>   3 files changed, 22 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
> index 9a49e68..2a4680c 100644
> --- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
> @@ -351,6 +351,13 @@
>   			samsung,pin-drv = <0>;
>   		};
>
> +		backlight_pwm: backlight-pwm {
> +			samsung,pins = "gpb2-0";
> +			samsung,pin-function = <2>;
> +			samsung,pin-pud = <0>;
> +			samsung,pin-drv = <0>;
> +		};

This looks like a generic PWM output function, not specific to backlight 
in any way.

Please see patch [1] adding PWM output pin groups for Exynos5420 for 
reference.

[1] 
https://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg29869.html

Best regards,
Tomasz

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

* Re: [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow
  2014-05-07 20:34 ` Tomasz Figa
@ 2014-05-07 20:47   ` Ajay kumar
  2014-05-07 20:50     ` Tomasz Figa
  0 siblings, 1 reply; 8+ messages in thread
From: Ajay kumar @ 2014-05-07 20:47 UTC (permalink / raw)
  To: Tomasz Figa
  Cc: Ajay Kumar, linux-samsung-soc, Kukjin Kim, sunil joshi,
	Prashanth G, Olof Johansson

Tomasz,

On Thu, May 8, 2014 at 2:04 AM, Tomasz Figa <tomasz.figa@gmail.com> wrote:
> Hi Ajay,
>
>
> On 07.05.2014 14:56, Ajay Kumar wrote:
>>
>> Add PWM backlight node for exynos5250 and enable the same on 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-pinctrl.dtsi |    7 +++++++
>>   arch/arm/boot/dts/exynos5250-snow.dts     |    5 +++++
>>   arch/arm/boot/dts/exynos5250.dtsi         |   10 ++++++++++
>>   3 files changed, 22 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>> b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>> index 9a49e68..2a4680c 100644
>> --- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>> +++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>> @@ -351,6 +351,13 @@
>>                         samsung,pin-drv = <0>;
>>                 };
>>
>> +               backlight_pwm: backlight-pwm {
>> +                       samsung,pins = "gpb2-0";
>> +                       samsung,pin-function = <2>;
>> +                       samsung,pin-pud = <0>;
>> +                       samsung,pin-drv = <0>;
>> +               };
>
>
> This looks like a generic PWM output function, not specific to backlight in
> any way.
>
> Please see patch [1] adding PWM output pin groups for Exynos5420 for
> reference.
>
> [1]
> https://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg29869.html
Right! I just referred to the manual again, and it actually reads TOUT_0.
So, I should be probably renaming this as "pwm0_out" like in the other patch?

Ajay

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

* Re: [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow
  2014-05-07 20:47   ` Ajay kumar
@ 2014-05-07 20:50     ` Tomasz Figa
  2014-05-08  9:54       ` Ajay kumar
  2014-05-08 15:55       ` Andreas Färber
  0 siblings, 2 replies; 8+ messages in thread
From: Tomasz Figa @ 2014-05-07 20:50 UTC (permalink / raw)
  To: Ajay kumar
  Cc: Ajay Kumar, linux-samsung-soc, Kukjin Kim, sunil joshi,
	Prashanth G, Olof Johansson

On 07.05.2014 22:47, Ajay kumar wrote:
> Tomasz,
>
> On Thu, May 8, 2014 at 2:04 AM, Tomasz Figa <tomasz.figa@gmail.com> wrote:
>> Hi Ajay,
>>
>>
>> On 07.05.2014 14:56, Ajay Kumar wrote:
>>>
>>> Add PWM backlight node for exynos5250 and enable the same on 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-pinctrl.dtsi |    7 +++++++
>>>    arch/arm/boot/dts/exynos5250-snow.dts     |    5 +++++
>>>    arch/arm/boot/dts/exynos5250.dtsi         |   10 ++++++++++
>>>    3 files changed, 22 insertions(+)
>>>
>>> diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>> b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>> index 9a49e68..2a4680c 100644
>>> --- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>> +++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>> @@ -351,6 +351,13 @@
>>>                          samsung,pin-drv = <0>;
>>>                  };
>>>
>>> +               backlight_pwm: backlight-pwm {
>>> +                       samsung,pins = "gpb2-0";
>>> +                       samsung,pin-function = <2>;
>>> +                       samsung,pin-pud = <0>;
>>> +                       samsung,pin-drv = <0>;
>>> +               };
>>
>>
>> This looks like a generic PWM output function, not specific to backlight in
>> any way.
>>
>> Please see patch [1] adding PWM output pin groups for Exynos5420 for
>> reference.
>>
>> [1]
>> https://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg29869.html
> Right! I just referred to the manual again, and it actually reads TOUT_0.
> So, I should be probably renaming this as "pwm0_out" like in the other patch?

Yes, please. You should also add remaining ones, while at it. Basically 
same patch as [1] but for Exynos5250.

Best regards,
Tomasz

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

* Re: [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow
  2014-05-07 20:50     ` Tomasz Figa
@ 2014-05-08  9:54       ` Ajay kumar
  2014-05-08 11:52         ` Tomasz Figa
  2014-05-08 15:55       ` Andreas Färber
  1 sibling, 1 reply; 8+ messages in thread
From: Ajay kumar @ 2014-05-08  9:54 UTC (permalink / raw)
  To: Tomasz Figa
  Cc: Ajay Kumar, linux-samsung-soc, Kukjin Kim, sunil joshi,
	Prashanth G, Olof Johansson

Tomasz,

On Thu, May 8, 2014 at 2:20 AM, Tomasz Figa <tomasz.figa@gmail.com> wrote:
> On 07.05.2014 22:47, Ajay kumar wrote:
>>
>> Tomasz,
>>
>> On Thu, May 8, 2014 at 2:04 AM, Tomasz Figa <tomasz.figa@gmail.com> wrote:
>>>
>>> Hi Ajay,
>>>
>>>
>>> On 07.05.2014 14:56, Ajay Kumar wrote:
>>>>
>>>>
>>>> Add PWM backlight node for exynos5250 and enable the same on 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-pinctrl.dtsi |    7 +++++++
>>>>    arch/arm/boot/dts/exynos5250-snow.dts     |    5 +++++
>>>>    arch/arm/boot/dts/exynos5250.dtsi         |   10 ++++++++++
>>>>    3 files changed, 22 insertions(+)
>>>>
>>>> diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>> b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>> index 9a49e68..2a4680c 100644
>>>> --- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>> +++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>> @@ -351,6 +351,13 @@
>>>>                          samsung,pin-drv = <0>;
>>>>                  };
>>>>
>>>> +               backlight_pwm: backlight-pwm {
>>>> +                       samsung,pins = "gpb2-0";
>>>> +                       samsung,pin-function = <2>;
>>>> +                       samsung,pin-pud = <0>;
>>>> +                       samsung,pin-drv = <0>;
>>>> +               };
>>>
>>>
>>>
>>> This looks like a generic PWM output function, not specific to backlight
>>> in
>>> any way.
>>>
>>> Please see patch [1] adding PWM output pin groups for Exynos5420 for
>>> reference.
>>>
>>> [1]
>>>
>>> https://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg29869.html
>>
>> Right! I just referred to the manual again, and it actually reads TOUT_0.
>> So, I should be probably renaming this as "pwm0_out" like in the other
>> patch?
>
>
> Yes, please. You should also add remaining ones, while at it. Basically same
> patch as [1] but for Exynos5250.

Sent "[PATCH 1/2] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5250"


Ajay

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

* Re: [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow
  2014-05-08  9:54       ` Ajay kumar
@ 2014-05-08 11:52         ` Tomasz Figa
  0 siblings, 0 replies; 8+ messages in thread
From: Tomasz Figa @ 2014-05-08 11:52 UTC (permalink / raw)
  To: Ajay kumar, Tomasz Figa
  Cc: Ajay Kumar, linux-samsung-soc, Kukjin Kim, sunil joshi,
	Prashanth G, Olof Johansson

On 08.05.2014 11:54, Ajay kumar wrote:
> Tomasz,
> 
> On Thu, May 8, 2014 at 2:20 AM, Tomasz Figa <tomasz.figa@gmail.com> wrote:
>> On 07.05.2014 22:47, Ajay kumar wrote:
>>>
>>> Tomasz,
>>>
>>> On Thu, May 8, 2014 at 2:04 AM, Tomasz Figa <tomasz.figa@gmail.com> wrote:
>>>>
>>>> Hi Ajay,
>>>>
>>>>
>>>> On 07.05.2014 14:56, Ajay Kumar wrote:
>>>>>
>>>>>
>>>>> Add PWM backlight node for exynos5250 and enable the same on 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-pinctrl.dtsi |    7 +++++++
>>>>>    arch/arm/boot/dts/exynos5250-snow.dts     |    5 +++++
>>>>>    arch/arm/boot/dts/exynos5250.dtsi         |   10 ++++++++++
>>>>>    3 files changed, 22 insertions(+)
>>>>>
>>>>> diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>>> b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>>> index 9a49e68..2a4680c 100644
>>>>> --- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>>> +++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>>> @@ -351,6 +351,13 @@
>>>>>                          samsung,pin-drv = <0>;
>>>>>                  };
>>>>>
>>>>> +               backlight_pwm: backlight-pwm {
>>>>> +                       samsung,pins = "gpb2-0";
>>>>> +                       samsung,pin-function = <2>;
>>>>> +                       samsung,pin-pud = <0>;
>>>>> +                       samsung,pin-drv = <0>;
>>>>> +               };
>>>>
>>>>
>>>>
>>>> This looks like a generic PWM output function, not specific to backlight
>>>> in
>>>> any way.
>>>>
>>>> Please see patch [1] adding PWM output pin groups for Exynos5420 for
>>>> reference.
>>>>
>>>> [1]
>>>>
>>>> https://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg29869.html
>>>
>>> Right! I just referred to the manual again, and it actually reads TOUT_0.
>>> So, I should be probably renaming this as "pwm0_out" like in the other
>>> patch?
>>
>>
>> Yes, please. You should also add remaining ones, while at it. Basically same
>> patch as [1] but for Exynos5250.
> 
> Sent "[PATCH 1/2] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5250"

Thanks.

Best regards,
Tomasz

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

* Re: [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow
  2014-05-07 20:50     ` Tomasz Figa
  2014-05-08  9:54       ` Ajay kumar
@ 2014-05-08 15:55       ` Andreas Färber
  2014-05-08 16:08         ` Tomasz Figa
  1 sibling, 1 reply; 8+ messages in thread
From: Andreas Färber @ 2014-05-08 15:55 UTC (permalink / raw)
  To: Tomasz Figa, Ajay kumar
  Cc: Ajay Kumar, linux-samsung-soc, Kukjin Kim, sunil joshi,
	Prashanth G, Olof Johansson

Hi,

Am 07.05.2014 22:50, schrieb Tomasz Figa:
> On 07.05.2014 22:47, Ajay kumar wrote:
>> On Thu, May 8, 2014 at 2:04 AM, Tomasz Figa <tomasz.figa@gmail.com>
>> wrote:
>>> On 07.05.2014 14:56, Ajay Kumar wrote:
>>>>
>>>> Add PWM backlight node for exynos5250 and enable the same on 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-pinctrl.dtsi |    7 +++++++
>>>>    arch/arm/boot/dts/exynos5250-snow.dts     |    5 +++++
>>>>    arch/arm/boot/dts/exynos5250.dtsi         |   10 ++++++++++
>>>>    3 files changed, 22 insertions(+)
>>>>
>>>> diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>> b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>> index 9a49e68..2a4680c 100644
>>>> --- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>> +++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>> @@ -351,6 +351,13 @@
>>>>                          samsung,pin-drv = <0>;
>>>>                  };
>>>>
>>>> +               backlight_pwm: backlight-pwm {
>>>> +                       samsung,pins = "gpb2-0";
>>>> +                       samsung,pin-function = <2>;
>>>> +                       samsung,pin-pud = <0>;
>>>> +                       samsung,pin-drv = <0>;
>>>> +               };
>>>
>>>
>>> This looks like a generic PWM output function, not specific to
>>> backlight in
>>> any way.
>>>
>>> Please see patch [1] adding PWM output pin groups for Exynos5420 for
>>> reference.
>>>
>>> [1]
>>> https://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg29869.html
>>>
>> Right! I just referred to the manual again, and it actually reads TOUT_0.
>> So, I should be probably renaming this as "pwm0_out" like in the other
>> patch?
> 
> Yes, please. You should also add remaining ones, while at it. Basically
> same patch as [1] but for Exynos5250.

Don't we also need patches to exynos_defconfig? linux.git only has
CONFIG_S3C24XX_PWM=y but for snow I've seen github.com/linux-exynos add:
CONFIG_PWM=y
CONFIG_PWM_SAMSUNG=y
CONFIG_BACKLIGHT_PWM=y

Regards,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

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

* Re: [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow
  2014-05-08 15:55       ` Andreas Färber
@ 2014-05-08 16:08         ` Tomasz Figa
  0 siblings, 0 replies; 8+ messages in thread
From: Tomasz Figa @ 2014-05-08 16:08 UTC (permalink / raw)
  To: Andreas Färber, Tomasz Figa, Ajay kumar
  Cc: Ajay Kumar, linux-samsung-soc, Kukjin Kim, sunil joshi,
	Prashanth G, Olof Johansson

On 08.05.2014 17:55, Andreas Färber wrote:
> Hi,
> 
> Am 07.05.2014 22:50, schrieb Tomasz Figa:
>> On 07.05.2014 22:47, Ajay kumar wrote:
>>> On Thu, May 8, 2014 at 2:04 AM, Tomasz Figa <tomasz.figa@gmail.com>
>>> wrote:
>>>> On 07.05.2014 14:56, Ajay Kumar wrote:
>>>>>
>>>>> Add PWM backlight node for exynos5250 and enable the same on 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-pinctrl.dtsi |    7 +++++++
>>>>>    arch/arm/boot/dts/exynos5250-snow.dts     |    5 +++++
>>>>>    arch/arm/boot/dts/exynos5250.dtsi         |   10 ++++++++++
>>>>>    3 files changed, 22 insertions(+)
>>>>>
>>>>> diff --git a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>>> b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>>> index 9a49e68..2a4680c 100644
>>>>> --- a/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>>> +++ b/arch/arm/boot/dts/exynos5250-pinctrl.dtsi
>>>>> @@ -351,6 +351,13 @@
>>>>>                          samsung,pin-drv = <0>;
>>>>>                  };
>>>>>
>>>>> +               backlight_pwm: backlight-pwm {
>>>>> +                       samsung,pins = "gpb2-0";
>>>>> +                       samsung,pin-function = <2>;
>>>>> +                       samsung,pin-pud = <0>;
>>>>> +                       samsung,pin-drv = <0>;
>>>>> +               };
>>>>
>>>>
>>>> This looks like a generic PWM output function, not specific to
>>>> backlight in
>>>> any way.
>>>>
>>>> Please see patch [1] adding PWM output pin groups for Exynos5420 for
>>>> reference.
>>>>
>>>> [1]
>>>> https://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg29869.html
>>>>
>>> Right! I just referred to the manual again, and it actually reads TOUT_0.
>>> So, I should be probably renaming this as "pwm0_out" like in the other
>>> patch?
>>
>> Yes, please. You should also add remaining ones, while at it. Basically
>> same patch as [1] but for Exynos5250.
> 
> Don't we also need patches to exynos_defconfig? linux.git only has
> CONFIG_S3C24XX_PWM=y but for snow I've seen github.com/linux-exynos add:
> CONFIG_PWM=y
> CONFIG_PWM_SAMSUNG=y
> CONFIG_BACKLIGHT_PWM=y

Right. The current exynos_defconfig lacks many other options as well.
But this should be fixed by separate patch. Feel free to send a patch to
enable what you need on your hardware.

Best regards,
Tomasz

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

end of thread, other threads:[~2014-05-08 16:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-07 12:56 [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow Ajay Kumar
2014-05-07 20:34 ` Tomasz Figa
2014-05-07 20:47   ` Ajay kumar
2014-05-07 20:50     ` Tomasz Figa
2014-05-08  9:54       ` Ajay kumar
2014-05-08 11:52         ` Tomasz Figa
2014-05-08 15:55       ` Andreas Färber
2014-05-08 16:08         ` Tomasz Figa

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.