From: Tomasz Figa <tomasz.figa@gmail.com>
To: Ajay kumar <ajaynumb@gmail.com>
Cc: Ajay Kumar <ajaykumar.rs@samsung.com>,
"linux-samsung-soc@vger.kernel.org"
<linux-samsung-soc@vger.kernel.org>,
Kukjin Kim <kgene.kim@samsung.com>,
sunil joshi <joshi@samsung.com>,
Prashanth G <prashanth.g@samsung.com>,
Olof Johansson <olof@lixom.net>
Subject: Re: [PATCH] ARM: dts: enable pwm backlight on exynos5250-snow
Date: Wed, 07 May 2014 22:50:10 +0200 [thread overview]
Message-ID: <536A9C82.6090704@gmail.com> (raw)
In-Reply-To: <CAEC9eQPeGSw0xEdmq2GkVVhC7cTGSEvkM_CHRxTw__aFrvzvbw@mail.gmail.com>
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
next prev parent reply other threads:[~2014-05-07 20:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=536A9C82.6090704@gmail.com \
--to=tomasz.figa@gmail.com \
--cc=ajaykumar.rs@samsung.com \
--cc=ajaynumb@gmail.com \
--cc=joshi@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=olof@lixom.net \
--cc=prashanth.g@samsung.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox