linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: kirkwood: Add Plat'Home OpenBlocks A6 support
Date: Mon, 12 Nov 2012 22:19:58 +0100	[thread overview]
Message-ID: <20121112211958.GU24583@lunn.ch> (raw)
In-Reply-To: <CABMQnVK5SbT5mbugruZdNursXQiWJOQD4sreEMS1v6GO7PH0mw@mail.gmail.com>

Hi Nobuhiro

> >> +     model = "Plat'Home OpenBlocksA6";
> >> +     compatible = "plathome,openblocks-a6", "marvell,kirkwood-88f6283", "marvell,kirkwood";
> >
> > Ah, interesting. A 88f6283. I'm a bit surprised this actually works!
> > This variant is not listed in kirkwood_id(). So do you see messages
> > like:
> >
> > "Device-Unknown"
> >
> > and
> >
> > "MPP setup: unknown kirkwood variant"
> 
> No, I can not see these message.
> 88f6283 is same as MV88F6282-Rev-A1. Because this has same CPU ID as
> MV88F6282-Rev-A1.

Ah. O.K.

Is it pin compatible? Please take a look at 

https://github.com/lunn/linux/blob/v3.7-rc2-pinctrl-v2/drivers/pinctrl/mvebu/pinctrl-kirkwood.c

and see if what is valid for 88f6282 is also valid for 88f6283.

If its not compatible, we need to add this variant to the table.

> What kind of value should I set here?

For the moment, keep to 88f6283. At the moment its not actually used.
However, when we add pinctrl we will need to this about this some
more, depending on if its pin compatible or not.

> >> +static unsigned int openblocks_a6_mpp_config[] __initdata = {
> >> +     MPP0_NF_IO2,
> >> +     MPP1_NF_IO3,
> >> +     MPP2_NF_IO4,
> >> +     MPP3_NF_IO5,
> >> +     MPP4_NF_IO6,
> >> +     MPP5_NF_IO7,
> >> +     MPP6_SYSRST_OUTn,
> >> +     /* MPP7_GPO, */
> >
> > Any reason not to actually have MPP7_GPO here?
> > Is it being used as a GPO line?
> 
> Yes. MPP7 is assigned to GPO in this target boatd.
> And GPO is not used.
> The following is also the same.
> If unnecessary, I will delete these lines.

If they are not used, i would not list them.
 
 Thanks for the quick response.

 Andrew

  reply	other threads:[~2012-11-12 21:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-12 11:46 [PATCH 1/2] ARM: kirkwood: Add Plat'Home OpenBlocks A6 support Nobuhiro Iwamatsu
2012-11-12 12:05 ` Andrew Lunn
2012-11-12 21:03   ` Nobuhiro Iwamatsu
2012-11-12 21:19     ` Andrew Lunn [this message]
2012-11-13  5:12       ` Nobuhiro Iwamatsu

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=20121112211958.GU24583@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).