From: Jungseok Lee <jays.lee@samsung.com>
To: 'Sachin Kamat' <sachin.kamat@linaro.org>
Cc: 'Kukjin Kim' <kgene.kim@samsung.com>,
'linux-samsung-soc' <linux-samsung-soc@vger.kernel.org>
Subject: RE: [PATCH V2] ARM: EXYNOS: implement pm_power_off for EXYNOS5440
Date: Mon, 30 Sep 2013 14:20:48 +0900 [thread overview]
Message-ID: <003401cebd9c$d29c75a0$77d560e0$%lee@samsung.com> (raw)
In-Reply-To: <CAK9yfHywzpbuYag4RM_00Z5UdQ0qY3y0iDzyY1Yt8KYh83Z3pA@mail.gmail.com>
On Monday, September 30, 2013 12:04 PM, Sachin Kamat wrote:
> On 30 September 2013 07:02, Jungseok Lee <jays.lee@samsung.com> wrote:
>
> > + /* turn off all power domains */
> > + addr = of_iomap(np, 0) + 0x14;
> > + __raw_writel(0x1, addr);
>
> Actually my comment was more about mentioning what these above values
> especially 0x14 represented? Either using a macro (preferred way) or
> atleast a comment.
How about changing a variable name "addr" to "power_down_reg"?
0x14 is only available for exynos5440, not exynos5. Currently, there are no
macros for specific SoCs in exynos5, such as exynos5250 or exynos5420. That is
why I hesitate to add a macro for 0x14.
Best Regards
Jungseok Lee
>
> --
> With warm regards,
> Sachin
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-09-30 5:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-30 1:32 [PATCH V2] ARM: EXYNOS: implement pm_power_off for EXYNOS5440 Jungseok Lee
2013-09-30 3:03 ` Sachin Kamat
2013-09-30 5:20 ` Jungseok Lee [this message]
2013-09-30 7:25 ` Kukjin Kim
2013-09-30 8:26 ` Sachin Kamat
2013-09-30 8:41 ` 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='003401cebd9c$d29c75a0$77d560e0$%lee@samsung.com' \
--to=jays.lee@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=sachin.kamat@linaro.org \
/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