From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [ARM] head.S change broke platform device registration?
Date: Fri, 30 Nov 2012 13:45:22 +0000 [thread overview]
Message-ID: <50B8B872.2000008@arm.com> (raw)
In-Reply-To: <CAHod+GeZQx6-pUHPocbyMJCLawMUhrZuZf=mrgWax=L7eNJGhg@mail.gmail.com>
On 30/11/12 12:20, Marko Kati? wrote:
>> This is incredibly puzzling. I could understand your board not booting
>> at all because of this patch, but an i2c device missing?
>>
>> Can you see the i2c controller at all? I'll try to dig my PXA270 board
>> and see if I can reproduce your issue.
>>
>> M.
>> --
>> Jazz is not dead. It just smells funny...
>>
>
> There are three i2c devices on my board:
>
> static struct i2c_board_info spitz_i2c_devs[] = {
> {
> .type = "wm8750",
> .addr = 0x1b,
> }, {
> .type = "max7310",
> .addr = 0x18,
> .platform_data = &akita_pca953x_pdata,
> },
> };
>
> These two are on bus 0.
>
> static struct i2c_board_info spitz_pi2c_devs[] = {
> {
> .type = "isl6271a",
> .addr = 0x0c,
> .platform_data = &isl6271a_info,
> },
> };
>
> This one is on bus 1.
>
> With commit 424e5994e63326a42012f003f1174f3c363c7b62 applied
> Only the max7310 is missing, the other two register and work fine.
>
> Now, if i try to register _only_ the max7310 chip, it shows up but it doesn't
> work. In that case i get this:
>
> gpiochip_add: gpios 204..211 (max7310) failed to register
> pca953x: probe of 0-0018 failed with error -16
Right. So what you need to do is find out why GPIOs 204 to 211 are
unavailable. Something must get clobbered one way or another.
M.
--
Jazz is not dead. It just smells funny...
next prev parent reply other threads:[~2012-11-30 13:45 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-30 1:38 [ARM] head.S change broke platform device registration? Marko Katić
2012-11-30 10:28 ` Marc Zyngier
2012-11-30 12:20 ` Marko Katić
2012-11-30 13:45 ` Marc Zyngier [this message]
2012-11-30 14:34 ` Russell King - ARM Linux
2012-12-04 21:48 ` Marko Katić
2012-12-04 22:18 ` Russell King - ARM Linux
2012-12-05 22:18 ` Marko Katić
2012-12-05 23:58 ` Russell King - ARM Linux
2012-12-07 12:28 ` Russell King - ARM Linux
2012-12-07 13:49 ` Dave Martin
2012-12-10 17:23 ` Marko Katić
2012-12-10 17:31 ` Dave Martin
2012-12-10 17:21 ` Marko Katić
2012-12-11 0:25 ` Russell King - ARM Linux
2012-12-12 15:55 ` Richard Purdie
2012-12-12 17:22 ` Marko Katić
2012-12-12 17:59 ` Russell King - ARM Linux
2012-12-12 22:29 ` Richard Purdie
2012-11-30 12:17 ` Dave Martin
2012-11-30 12:28 ` Marko Katić
2012-11-30 12:40 ` Russell King - ARM Linux
2012-11-30 13:07 ` Marko Katić
2012-11-30 13:11 ` Marko Katić
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=50B8B872.2000008@arm.com \
--to=marc.zyngier@arm.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;
as well as URLs for NNTP newsgroup(s).