From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 2/2 v2] ARM: shmobile: Lager:add SPI FLASH support on QSPI
Date: Fri, 18 Oct 2013 11:54:16 +0000 [thread overview]
Message-ID: <52612168.9070106@cogentembedded.com> (raw)
In-Reply-To: <1382074384-24975-3-git-send-email-cm-hiep@jinso.co.jp>
Hello.
On 18-10-2013 9:33, Cao Minh Hiep wrote:
> From: Hiep Cao Minh <cm-hiep@jinso.co.jp>
> This patch enables Spansion S25FL512SAGMFIG11 chip on QSPI,
> Add support for the QSPI interface on Lager.
> Signed-off-by: Hiep Cao Minh <cm-hiep@jinso.co.jp>
> ---
> arch/arm/mach-shmobile/board-lager.c | 69 ++++++++++++++++++++++++++++++++++
> 1 file changed, 69 insertions(+)
> diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c
> index 78a31b6..5d69cde 100644
> --- a/arch/arm/mach-shmobile/board-lager.c
> +++ b/arch/arm/mach-shmobile/board-lager.c
[...]
> @@ -165,6 +170,67 @@ static const struct resource ether_resources[] __initconst = {
[...]
> +void __init r8a7790_add_qspi_device(struct rspi_plat_data *pdata)
You apparently forgot to change the name prefix to 'lager_'. Also, there's
no dire need in this function, you can register the QSPI device right in
lager_add_standard_devices().
> +{
> + platform_device_register_resndata(
You're breaking the line to early, I think.
> + &platform_bus, "qspi", 0,
> + qspi_resources, ARRAY_SIZE(qspi_resources),
> + pdata, sizeof(*pdata));
> +}
> +
> static const struct pinctrl_map lager_pinctrl_map[] = {
> /* DU (CN10: ARGB0, CN13: LVDS) */
> PIN_MAP_MUX_GROUP_DEFAULT("rcar-du-r8a7790", "pfc-r8a7790",
WBR, Sergei
next prev parent reply other threads:[~2013-10-18 11:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-18 5:33 [PATCH 2/2 v2] ARM: shmobile: Lager:add SPI FLASH support on QSPI Cao Minh Hiep
2013-10-18 11:54 ` Sergei Shtylyov [this message]
2013-10-21 1:29 ` カオ ミン ヒェップ
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=52612168.9070106@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=linux-sh@vger.kernel.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