From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: devicetree support for efikasb
Date: Mon, 17 Dec 2012 12:50:16 +0100 [thread overview]
Message-ID: <20121217115016.GN26326@pengutronix.de> (raw)
In-Reply-To: <87licwdikj.fsf@lebrac.rtp-net.org>
On Mon, Dec 17, 2012 at 12:27:56PM +0100, Arnaud Patard wrote:
> Sascha Hauer <s.hauer@pengutronix.de> writes:
>
> > Hi all,
>
> Hi,
>
> >
> > I recently put some work into my Efika MX smartbook. Here are patches
> > to make it work with a current kernel. It turned out that most of the
> > stuff is quite straight forward. Unfortunately there is a lot missing
> > in the USB area. Without USB support the Smartbook is pretty much
> > useless, so most of the patches are for adding USB support.
> >
> > What currently works is:
> >
> > - USB
>
> Is it working or not ? Or you meant that it's working only if you merge
> the usbmisc-related for imx5* patches ?
It's working with the patches in the git branch. It requires usbmisc
patches and also ULPI support for the chipidea driver. I only bashed
the chipidea driver until it worked. The last time I looked at the
chipidea driver patches on the mailing list they were so much in flux
that it didn't make sense to me to post even more patches. I hope
this settles soon.
>
> > - Display
>
> Given that you wrote something for the mlt017, do you happen to have a
> sii9022 driver too ? :)
Only a very old one which won't work with the current code.
>
> > - Battery
>
> I've not noticed something for the ac power supply in the dts. Did I miss something?
I only added the following for the battery which is enough to detect it:
battery: battery at 0b {
compatible = "sbs,sbs-battery";
reg = <0x0b>;
sbs,battery-detect-gpios = <&gpio3 6 1>;
};
I haven't done anything with the ac power supply yet. I suppose it's
detectable via a gpio, right?
>
> > - keyboard/touchpad
>
> Did you try using the white led for 'caps lock' ?
No, I only registered it as LED, I haven't tried to wire it up the caps
lock functionality. For me capslock is the most useless feature on a
keyboard, I usually reconfigure this to a addition modifier key anyway
;)
>
> > - Sound (used to work, currently broken)
> > - Wifi
>
> How did you enable it ? Did you configure the gpios to always enable it ?
I configured the corresponding gpio as input, so it seems to get
overwritten by the wifi switch. I don't know the schematics, but I'm
able to turn Wifi off and on with the switch.
>
> > - LEDs
>
> You're not mentionning pata. Is it working or not ?
Ah, missed that. PATA is working aswell. Only PIO though.
>
> >
> > I'm not posting the patches here since I do not consider them ready, but
> > for everyone interested you can pull the following git tree. I have no
> > idea if the patches work together with the preinstalled U-Boot, I use
> > barebox on the Smartbook.
>
> I've (very quickly) tested it yesterday and it didn't even boot. I've
> yet to look at the serial port output to check if it's a problem on my
> side or a bug in the kernel.
Do you mean barebox doesn't boot or the kernel doesn't boot?
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2012-12-17 11:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-17 7:59 devicetree support for efikasb Sascha Hauer
2012-12-17 8:21 ` Peter Korsgaard
2012-12-17 11:27 ` Arnaud Patard (Rtp)
2012-12-17 11:50 ` Sascha Hauer [this message]
2012-12-17 12:04 ` Arnaud Patard (Rtp)
2012-12-18 10:30 ` Arnaud Patard (Rtp)
2012-12-19 8:56 ` Sascha Hauer
2012-12-20 16:34 ` Steev Klimaszewski
2012-12-25 2:49 ` Matt Sealey
2012-12-18 1:12 ` Matt Sealey
2012-12-17 12:37 ` Peter Korsgaard
2012-12-17 14:07 ` Arnaud Patard (Rtp)
2012-12-17 14:24 ` Peter Korsgaard
2012-12-17 14:30 ` Samuel Thibault
2012-12-17 14:40 ` Peter Korsgaard
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=20121217115016.GN26326@pengutronix.de \
--to=s.hauer@pengutronix.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.