Hi, I was trying to enable bq27000 with w1/hdq protocol as the gas gauge.
w1 slave has no problem after insmod, however, the master part got errors as below.
Could you help take a look at it and tell me what's going wrong? BTW, I was using OMAP 4460 blaze_tablet with the kernel of 3.0.
I also noticed another article in this forum, in terms of hdq for 44xx, http://e2e.ti.com/support/omap/f/849/p/241270/965514.aspx#965514
What do you think of it?
CONFIG_HDQ_MASTER_OMAP=y
CONFIG_W1_SLAVE_BQ27000=y
CONFIG_BATTERY_BQ27X00_PLATFORM=y
[ 6.980651] omap hdq init [ 6.983947] ------------[ cut here ]------------ [ 6.989166] WARNING: at arch/arm/mach-omap2/omap_l3_noc.c:135 l3_interrupt_handler+0x2e0/0x380() [ 6.998931] CUSTOM SRESP error with SOURCE:L4 PER2 [ 7.001739] Modules linked in: [ 7.007751] Backtrace: [ 7.007751] [<c0058224>] (dump_backtrace+0x0/0x110) from [<c0605d00>] (dump_stack+0x18/0x1c) [ 7.007751] r6:00000087 r5:c007cbcc r4:c782bcf8 r3:c782a000 [ 7.007751] [<c0605ce8>] (dump_stack+0x0/0x1c) from [<c00a0c68>] (warn_slowpath_common+0x5c/0x6c) [ 7.026733] [<c00a0c0c>] (warn_slowpath_common+0x0/0x6c) from [<c00a0d1c>] (warn_slowpath_fmt+0x38/0x40) [ 7.026733] r8:00000002 r7:c8844b48 r6:00080003 r5:c07fe894 r4:c8844b00 [ 7.054595] r3:00000009 [ 7.054595] [<c00a0ce4>] (warn_slowpath_fmt+0x0/0x40) from [<c007cbcc>] (l3_interrupt_handler+0x2e0/0x380) [ 7.057739] r3:c0737244 r2:c0737148 [ 7.057739] [<c007c8ec>] (l3_interrupt_handler+0x0/0x380) from [<c00e8550>] (handle_irq_event_percpu+0x58/0x188) [ 7.083892] [<c00e84f8>] (handle_irq_event_percpu+0x0/0x188) from [<c00e86c4>] (handle_irq_event+0x44/0x64) [ 7.083892] [<c00e8680>] (handle_irq_event+0x0/0x64) from [<c00eaed0>] (handle_fasteoi_irq+0xa4/0x10c) [ 7.083892] r6:0000002a r5:c07d1b8c r4:c07d1b40 r3:c004b4f0 [ 7.111663] [<c00eae2c>] (handle_fasteoi_irq+0x0/0x10c) from [<c00e8074>] (generic_handle_irq+0x40/0x48) [ 7.111663] r5:c004beb0 r4:c07e0588 [ 7.126434] [<c00e8034>] (generic_handle_irq+0x0/0x48) from [<c004d060>] (asm_do_IRQ+0x60/0xc0) [ 7.126434] [<c004d000>] (asm_do_IRQ+0x0/0xc0) from [<c00539c8>] (__irq_svc+0x48/0xe0) [ 7.136047] Exception stack(0xc782bde8 to 0xc782be30) [ 7.150451] bde0: c07ea0b0 c077e684 00000030 00000030 c7addf60 c07ea0b0 [ 7.159484] be00: c07ea0a8 c7addf68 00000000 00000000 c7addfa4 c782be8c c782be40 c782be34 [ 7.159484] be20: c05fef70 c02db1d8 60000113 ffffffff [ 7.174194] r7:00000001 r6:0000002a r5:fa240100 r4:ffffffff [ 7.174194] [<c05fee20>] (omap_hdq_probe+0x0/0x328) from [<c02e0300>] (platform_drv_probe+0x20/0x24) [ 7.188079] Invalid Device Structure [ 7.188079] Failed: change interconnect bandwidth to 0 [ 7.188140] [<c02e02e0>] (platform_drv_probe+0x0/0x24) from [<c02dec9c>] (driver_probe_device+0xa4/0x1ac) [ 7.188140] [<c02debf8>] (driver_probe_device+0x0/0x1ac) from [<c02dee38>] (__driver_attach+0x94/0x98) [ 7.188140] r8:00000000 r7:c02deda4 r6:c07ea0e4 r5:c082813c r4:c07ea0b0 [ 7.229278] r3:c02e0574 [ 7.232421] [<c02deda4>] (__driver_attach+0x0/0x98) from [<c02de3cc>] (bus_for_each_dev+0x68/0x94) [ 7.232421] r6:c782bee8 r5:00000000 r4:c082813c r3:00000000 [ 7.232421] [<c02de364>] (bus_for_each_dev+0x0/0x94) from [<c02deae8>] (driver_attach+0x24/0x28) [ 7.258758] r7:00000000 r6:c7addf00 r5:c0813028 r4:c082813c [ 7.258758] [<c02deac4>] (driver_attach+0x0/0x28) from [<c02ddc94>] (bus_add_driver+0x1fc/0x2c8) [ 7.275177] [<c02dda98>] (bus_add_driver+0x0/0x2c8) from [<c02df49c>] (driver_register+0x80/0x194) [ 7.275177] [<c02df41c>] (driver_register+0x0/0x194) from [<c02e0814>] (platform_driver_register+0x58/0x60) [ 7.295928] r8:00000000 r7:c002ee18 r6:00000000 r5:c003ed28 r4:c083dae0 [ 7.295928] r3:00000000 [ 7.295928] [<c02e07bc>] (platform_driver_register+0x0/0x60) from [<c002ee3c>] (omap_hdq_init+0x24/0x28) [ 7.306732] [<c002ee18>] (omap_hdq_init+0x0/0x28) from [<c004d628>] (do_one_initcall+0x3c/0x18c) [ 7.306732] [<c004d5ec>] (do_one_initcall+0x0/0x18c) from [<c00083e4>] (kernel_init+0xb0/0x13c) [ 7.326965] r9:00000000 r8:00000000 r7:00000013 r6:c00a557c r5:c003ed28 [ 7.326965] r4:c003e91c [ 7.326965] [<c0008334>] (kernel_init+0x0/0x13c) from [<c00a557c>] (do_exit+0x0/0x720) [ 7.356201] r5:c0008334 r4:00000000 [ 7.356201] ---[ end trace 8c8b773a840d4ae8 ]--- [ 7.356201] Master 0x0 MPU [ 7.369293] L4 PER2 OPCODE 0x00000002 [ 7.373657] omap_hdq omap_hdq.0: OMAP HDQ Hardware Rev 0.0. Driver in Interrupt mode [ 7.382293] omap_hdq: probe of omap_hdq.0 failed with error -16