mpc870: hctosys.c unable to open rtc device rtc0

2010-08-08 Thread Shawn Jin
A DS1339 RTC is connected to the I2C bus (i2c-cpm in mpc870). The dmesg below shows that the ds1037 driver was registered. But the hctosys.c was not able to open the rtc device rtc0. The rtc doesn't seem to be connected with I2C driver properly. i2c-core: driver [rtc-ds1307] registered i2c /dev en

Re: [PATCH v4] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-08 Thread Grant Likely
On Sun, Aug 8, 2010 at 11:58 PM, Anatolij Gustschin wrote: > The GPIO controller of MPC512x is slightly different from > 8xxx GPIO controllers. The register interface is the same > except the external interrupt control register. The MPC512x > GPIO controller differentiates between four interrupt e

[PATCH v4] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-08 Thread Anatolij Gustschin
The GPIO controller of MPC512x is slightly different from 8xxx GPIO controllers. The register interface is the same except the external interrupt control register. The MPC512x GPIO controller differentiates between four interrupt event types and therefore provides two interrupt control registers, G

Re: Relocating bootwrapper causes kernel panic

2010-08-08 Thread Shawn Jin
>> > >> I think the cause is clear now. But how to fix it? Two questions: >> > >> 2. If the DTLB miss exception handler is not the right guy to load a >> > >> proper TLB entry, how can I set one entry based on the link_address >> > >> and the address of the flat dt blob? >> > > >> > > Given how ear

Re: [PATCH 1/3 v2] sdhci: Add auto CMD12 support for eSDHC driver

2010-08-08 Thread Grant Likely
On Wed, Aug 4, 2010 at 8:14 PM, Zang Roy-R61911 wrote: >> > diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c >> > index c6d1bd8..a92566e 100644 >> > --- a/drivers/mmc/host/sdhci.c >> > +++ b/drivers/mmc/host/sdhci.c >> > @@ -817,8 +817,12 @@ static void >> sdhci_set_transfer_mode(s

Re: [PATCH v2] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-08 Thread Grant Likely
On Sun, Aug 8, 2010 at 1:40 AM, Anton Vorontsov wrote: > On Sat, Aug 07, 2010 at 06:40:22PM -0600, Grant Likely wrote: > [...] >> > static int __init mpc8xxx_add_gpiochips(void) >> > { >> >+    const struct of_device_id *id; >> >     struct device_node *np; >> > >> >-    for_each_compatible_node(n

Re: Review Request: New proposal for device tree clock binding.

2010-08-08 Thread Grant Likely
On Sun, Aug 8, 2010 at 10:50 PM, Li Yang-R58472 wrote: > It looks like the previous sending didn't hit the mailing list.  Resend. > > Hi Grant, > > I have some comment on this proposal. The email addr you're using isn't subscribed, so mailman held the message for moderation. I've approved it now

[PATCH v3] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-08 Thread Anatolij Gustschin
The GPIO controller of MPC512x is slightly different from 8xxx GPIO controllers. The register interface is the same except the external interrupt control register. The MPC512x GPIO controller differentiates between four interrupt event types and therefore provides two interrupt control registers, G

Re: [git pull] Please pull powerpc.git next branch

2010-08-08 Thread Grant Likely
On Sun, Aug 8, 2010 at 10:11 PM, Benjamin Herrenschmidt wrote: > Hi Linus ! > > Here's a few misc things for .36. The big bit is that I trimmed all the > defconfigs using make savedefconfig. [...] >  108 files changed, 270 insertions(+), 134609 deletions(-) And how is anyone else to make it into

RE: Review Request: New proposal for device tree clock binding.

2010-08-08 Thread Li Yang-R58472
It looks like the previous sending didn't hit the mailing list. Resend. Hi Grant, I have some comment on this proposal. >Subject: Review Request: New proposal for device tree clock binding. > >Hi Ben (well, hello to everyone, but I'm particularly interested in >Ben's feedback), > >Jeremy and I

Re: [git pull] Please pull powerpc.git next branch

2010-08-08 Thread Benjamin Herrenschmidt
On Mon, 2010-08-09 at 14:11 +1000, Benjamin Herrenschmidt wrote: > Hi Linus ! > > Here's a few misc things for .36. The big bit is that I trimmed all the > defconfigs using make savedefconfig. > > Then there's a revert for a change to the appletouch driver that went > in .34 but broke quite a few

[git pull] Please pull powerpc.git next branch

2010-08-08 Thread Benjamin Herrenschmidt
Hi Linus ! Here's a few misc things for .36. The big bit is that I trimmed all the defconfigs using make savedefconfig. Then there's a revert for a change to the appletouch driver that went in .34 but broke quite a few powerbooks around. Since the original problem this was trying to address is fa

Re: [PATCH] powerpc: inline ppc64_runlatch_off

2010-08-08 Thread Olof Johansson
On Fri, Aug 06, 2010 at 11:28:19PM +1000, Anton Blanchard wrote: > > Hi Olof, > > > No semicolon here. > > Nice catch! > > Anton > > I'm sick of seeing ppc64_runlatch_off in our profiles, so inline it > into the callers. To avoid a mess of circular includes I didn't add > it as an inline func

Re: [PATCH] powerpc/fsl-pci: Fix MSI support on 83xx platforms

2010-08-08 Thread Ilya Yanok
Hi Kumar, On 05.08.2010 12:02, Kumar Gala wrote: However that is not true, so we have to search through the inbound window settings on 83xx to find which one matches the IMMR address to determine its PCI address. Thanks, your patch really does help on MPC8308 board I use. Regards, Ilya.

Re: [PATCH] mmc_spi: Fix unterminated of_match_table

2010-08-08 Thread Grant Likely
On Sun, Aug 8, 2010 at 8:14 AM, Anton Vorontsov wrote: > commit 2ffe8c5f323c3b9749bf7bc2375d909d20bdbb15 ("of: refactor > of_modalias_node() and remove explicit match table"), introduced > an unterminated of_match_table, which may cause kernel to oops. > > This patch fixes the issue by adding an e

[PATCH] mmc_spi: Fix unterminated of_match_table

2010-08-08 Thread Anton Vorontsov
commit 2ffe8c5f323c3b9749bf7bc2375d909d20bdbb15 ("of: refactor of_modalias_node() and remove explicit match table"), introduced an unterminated of_match_table, which may cause kernel to oops. This patch fixes the issue by adding an empty device ID. Signed-off-by: Anton Vorontsov --- drivers/mmc

[PATCH] powerpc/85xx: Add P1021 PCI IDs and quirks

2010-08-08 Thread Anton Vorontsov
This is needed for proper PCI-E support on P1021 SoCs. Signed-off-by: Anton Vorontsov --- arch/powerpc/sysdev/fsl_pci.c |2 ++ include/linux/pci_ids.h |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c

Re: [PATCH v2] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-08 Thread Anton Vorontsov
On Sat, Aug 07, 2010 at 06:40:22PM -0600, Grant Likely wrote: [...] > > static int __init mpc8xxx_add_gpiochips(void) > > { > >+const struct of_device_id *id; > > struct device_node *np; > > > >-for_each_compatible_node(np, NULL, "fsl,mpc8349-gpio") > >-mpc8xxx_add_controlle