From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv2 1/9] ARM: kirkwood: convert d2net_v2 to DT
Date: Sat, 12 Oct 2013 17:26:42 +0200 [thread overview]
Message-ID: <20131012172642.0a507069@skate> (raw)
In-Reply-To: <20130802143139.GZ9916@kw.sim.vm.gnt>
Dear Simon Guinot,
I'm resuming work on this platform on other Kirkwood boards, so it's
time to finally answer this e-mail.
On Fri, 2 Aug 2013 16:31:39 +0200, Simon Guinot wrote:
> Thanks for this patch. I have tested on by d2net_v2 board and it is
> almost good. Please, see below for my comments.
Thanks for testing!
> > + memory {
> > + device_type = "memory";
> > + /* TODO: verify memory installed on board */
> > + reg = <0x00000000 0x20000000>;
>
> The board only provides 256MB of memory (0x100000000).
Will fix.
> > + pmx_leds: pmx-leds {
> > + marvell,pins = "mpp12";
> > + marvell,function = "gpo";
>
> "gpo" is not valid for the 6281 SoC. You could use "gpio" instead.
Will fix.
> > + fail {
> > + label = "d2net_v2:red:fail";
> > + gpios = <&gpio0 12 0>;
> > + default-state = "on";
>
> "keep" is a better default-state. Else, blue and red are melted for the
> front LED.
Ok, will change.
> > + sata0_power: regulator at 1 {
> > + compatible = "regulator-fixed";
> > + reg = <1>;
> > + regulator-name = "SATA0 Power";
> > + regulator-min-microvolt = <5000000>;
> > + regulator-max-microvolt = <5000000>;
> > + enable-active-high;
> > + regulator-always-on;
> > + regulator-boot-on;
> > + gpio = <&gpio0 16 0>;
>
> I don't know the regulator API at all. But is that possible to allow a
> user to enable/disable the SATA0 power ? If yes, then it should be great
> to have the appropriate setting.
The regulator subsystem has a userspace interface in sysfs. See
Documentation/ABI/testing/sysfs-class-regulator. I don't think there's
anything special needed in the DT to get the regulator exposed in sysfs.
> > -config MACH_D2NET_V2
> > - bool "LaCie d2 Network v2 NAS Board"
> > - select KIRKWOOD_LEGACY
> > - help
> > - Say 'Y' here if you want your kernel to support the
> > - LaCie d2 Network v2 NAS.
>
> Before removing this option, we need to fix the Kconfig dependencies for
> the LED driver leds-ns2. I will send a patch to do that.
Your patch has been taken and is part of 3.12-rc, so this part is fixed.
I'll resend soon an updated version with the changes.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2013-10-12 15:26 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 15:07 [PATCHv2 0/9] ARM: kirkwood: convert a few more boards to DT Thomas Petazzoni
2013-08-01 15:07 ` [PATCHv2 1/9] ARM: kirkwood: convert d2net_v2 " Thomas Petazzoni
2013-08-02 14:31 ` Simon Guinot
2013-10-12 15:26 ` Thomas Petazzoni [this message]
2013-08-02 14:46 ` [PATCH] leds: leds-ns2: depends on ARCH_KIRKWOOD Simon Guinot
2013-08-03 18:16 ` Jason Cooper
2013-08-05 22:50 ` Bryan Wu
2013-08-13 9:58 ` [PATCHv2 1/9] ARM: kirkwood: convert d2net_v2 to DT Mark Rutland
2013-10-12 15:29 ` Thomas Petazzoni
2013-10-14 11:26 ` Mark Rutland
2013-08-01 15:07 ` [PATCHv2 2/9] ARM: kirkwood: remove support for legacy booting of Dockstar Thomas Petazzoni
2013-08-03 18:27 ` Jason Cooper
2013-08-01 15:07 ` [PATCHv2 3/9] ARM: kirkwood: remove support for legacy booting of Guruplug Thomas Petazzoni
2013-08-02 12:49 ` Jason Cooper
2013-08-02 13:08 ` Arnaud Patard (Rtp)
2013-08-01 15:07 ` [PATCHv2 4/9] ARM: kirkwood: remove support for legacy booting of Sheevaplug Thomas Petazzoni
2013-08-01 15:07 ` [PATCHv2 5/9] ARM: kirkwood: remove LaCie boards that are supported through DT Thomas Petazzoni
2013-08-01 15:07 ` [PATCHv2 6/9] ARM: kirkwood: convert the mv88f6281gtw_ge board to DT Thomas Petazzoni
2013-08-01 15:07 ` [PATCHv2 7/9] ARM: kirkwood: convert LaCie Net{2, 5}Big v2 platforms " Thomas Petazzoni
2013-08-02 21:25 ` Simon Guinot
2013-08-03 17:12 ` Jason Cooper
2013-08-02 21:34 ` [PATCH] leds: leds-netxbig: depends on ARCH_KIRKWOOD Simon Guinot
2013-08-03 14:12 ` Jason Cooper
2013-08-05 22:52 ` Bryan Wu
2013-08-06 12:17 ` Jason Cooper
2013-08-06 17:40 ` Bryan Wu
2013-08-01 15:07 ` [PATCHv2 8/9] ARM: kirkwood: remove unused common code for LaCie platforms Thomas Petazzoni
2013-08-02 21:45 ` Simon Guinot
2013-08-01 15:07 ` [PATCHv2 9/9] ARM: kirkwood: update defconfig after DT conversions Thomas Petazzoni
2013-08-03 18:56 ` [PATCHv2 0/9] ARM: kirkwood: convert a few more boards to DT Jason Cooper
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=20131012172642.0a507069@skate \
--to=thomas.petazzoni@free-electrons.com \
--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