From: ipaton0@gmail.com (Iain Paton)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: sun7i: add support for A20-OLinuXino-Lime2
Date: Mon, 29 Sep 2014 15:32:43 +0100 [thread overview]
Message-ID: <54296D8B.3080304@gmail.com> (raw)
In-Reply-To: <20140929132543.GC4081@lukather>
On 29/09/14 14:25, Maxime Ripard wrote:
> On Mon, Sep 29, 2014 at 01:56:49PM +0100, Iain Paton wrote:
>> What additional patches are we talking about? The following:
>> regulator: axp20x: Use parent device as regulator configuration device
>> i2c: mv64xxx: continue probe when clock-frequency is missing
>> or are there others I'd need to pick out of linux-next?
>
> http://lists.infradead.org/pipermail/linux-arm-kernel/2014-September/288901.html
Ok, I'll pull those on top of something not quite as bleeding edge as linux-next
> Leave it out then. If you have no way to test it, it's going to be
> very bug prone, and we can always add it later.
I moved my root disk to a SATA drive, so only a minor inconvenience.
dmesg shows the following with the regulators node as in the v2 patch,
the bottom half being mostly what I'd expect
[ 0.868607] sunxi-rtc 1c20d00.rtc: RTC enabled
[ 0.877062] Adding alias for supply acin,(null) -> acin,0-0034
[ 0.882948] Adding alias for supply vin2,(null) -> vin2,0-0034
[ 0.888775] Adding alias for supply vin3,(null) -> vin3,0-0034
[ 0.894612] Adding alias for supply ldo24in,(null) -> ldo24in,0-0034
[ 0.900956] Adding alias for supply ldo3in,(null) -> ldo3in,0-0034
[ 0.907160] Adding alias for supply ldo5in,(null) -> ldo5in,0-0034
[ 0.914029] LDO1: 1300 mV
[ 0.917428] LDO2: 1800 <--> 3300 mV at 3000 mV
[ 0.922483] LDO3: 700 <--> 3500 mV at 2275 mV
[ 0.927136] LDO4: 1250 <--> 3300 mV at 2800 mV
[ 0.932334] LDO5: 1800 <--> 3300 mV at 2800 mV
[ 0.937308] DCDC2: 1400 mV
[ 0.940552] DCDC3: 1250 mV
[ 0.943474] axp20x 0-0034: AXP20X driver loaded
> The SD card issue is more troublesome. We'll have to look into it.
dmesg shows the mmc driver loading:
[ 0.957716] sdhci: Secure Digital Host Controller Interface driver
[ 0.963963] sdhci: Copyright(c) Pierre Ossman
[ 0.968843] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[ 0.974918] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 1.012036] sunxi-mmc 1c0f000.mmc: base:0xf00ac000 irq:64
[ 1.017623] sdhci-pltfm: SDHCI platform and OF driver helper
however on an older, working, kernel I get a number on the end of
the 'Got CD GPIO' line like this:
[ 0.896271] sunxi-mmc 1c0f000.mmc: Got CD GPIO #225.
when I remove the SD card I see:
[ 20.147667] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 8, RTO !!
[ 20.157319] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 55, RTO !!
[ 20.163796] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 55, RTO !!
[ 20.170268] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 55, RTO !!
[ 20.176743] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 55, RTO !!
[ 20.183250] sunxi-mmc 1c0f000.mmc: smc 0 err, cmd 1, RTO !!
Which gives the impression that it's seeing CD inverted, however I
tried taking the cd-inverted; line out of the dts with no change.
No messages at all on card insertion.
I'll try the same kernel on an A10-lime later, if it has the same
problem it'll rule out something in this new dts.
Iain
next prev parent reply other threads:[~2014-09-29 14:32 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-28 13:18 [PATCH] ARM: sun7i: add support for A20-OLinuXino-Lime2 Iain Paton
2014-09-28 16:43 ` Maxime Ripard
2014-09-29 12:56 ` Iain Paton
2014-09-29 13:25 ` Maxime Ripard
2014-09-29 14:32 ` Iain Paton [this message]
2014-10-02 12:48 ` Maxime Ripard
2014-10-05 22:40 ` [PATCH v3 ] " Iain Paton
2014-10-06 9:20 ` Maxime Ripard
2014-10-09 10:27 ` [PATCH v4] " Iain Paton
2014-10-09 19:56 ` Maxime Ripard
2014-10-10 13:15 ` [PATCH v5] " Iain Paton
2014-10-10 13:55 ` Maxime Ripard
2014-10-10 13:15 ` [PATCH v4] " Iain Paton
2014-10-10 13:56 ` Maxime Ripard
2014-10-11 14:00 ` Andreas Färber
2014-10-06 8:56 ` [PATCH] " Javier Martinez Canillas
2014-10-06 9:11 ` Maxime Ripard
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=54296D8B.3080304@gmail.com \
--to=ipaton0@gmail.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 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.