Skip to contentSkip to conversation

v3.19: Nokia N900 - auto not working

DISCUSSION Pali Rohár 2 participants 2 messages Jan 31, 2015

lore
Share & tools
lore
#0 lore raw

Hello,

audio on (real) n900 device does not working with 3.19 kernel. Here is relevant dmesg output:

[    5.687438] omap_i2c 48070000.i2c: bus 1 rev3.3 at 2200 kHz
[    5.696166] tpa6130a2 2-0060: Write failed
[    5.696228] tpa6130a2 2-0060: Failed to initialize chip
[    5.696380] tpa6130a2: probe of 2-0060 failed with error -121
[    5.697937] omap_i2c 48072000.i2c: bus 2 rev3.3 at 100 kHz
[    5.700256] omap_i2c 48060000.i2c: bus 3 rev3.3 at 400 kHz
[    6.289154] rx51-audio n900-audio: Failed to add TPA6130A2 controls
[    6.295715] rx51-audio n900-audio: ASoC: failed to init TLV320AIC34: -19
[    6.302459] rx51-audio n900-audio: ASoC: failed to instantiate card -19
[    6.309173] gpiod_unexport: invalid GPIO
[    6.315612] rx51-audio n900-audio: snd_soc_register_card failed (-19)
[    6.397949] ALSA device list:
[    6.404876]   No soundcards found.

Any idea why tpa6130a2 fails to initialize?

I applied also these patches:
https://lkml.org/lkml/2015/1/29/465
http://mailman.alsa-project.org/pipermail/alsa-devel/2015-January/087228.html

Signature · 2 lines
Pali Rohár
[email protected]
#1 lore raw

Hi

Quoted 18 lines · Pali Rohár

Hello,

audio on (real) n900 device does not working with 3.19 kernel. Here is relevant dmesg output:

[    5.687438] omap_i2c 48070000.i2c: bus 1 rev3.3 at 2200 kHz
[    5.696166] tpa6130a2 2-0060: Write failed
[    5.696228] tpa6130a2 2-0060: Failed to initialize chip
[    5.696380] tpa6130a2: probe of 2-0060 failed with error -121
[    5.697937] omap_i2c 48072000.i2c: bus 2 rev3.3 at 100 kHz
[    5.700256] omap_i2c 48060000.i2c: bus 3 rev3.3 at 400 kHz
[    6.289154] rx51-audio n900-audio: Failed to add TPA6130A2 controls
[    6.295715] rx51-audio n900-audio: ASoC: failed to init TLV320AIC34: -19
[    6.302459] rx51-audio n900-audio: ASoC: failed to instantiate card -19
[    6.309173] gpiod_unexport: invalid GPIO
[    6.315612] rx51-audio n900-audio: snd_soc_register_card failed (-19)
[    6.397949] ALSA device list:
[    6.404876]   No soundcards found.
Quoted 6 lines

Any idea why tpa6130a2 fails to initialize?

I applied also these patches:
https://lkml.org/lkml/2015/1/29/465
http://mailman.alsa-project.org/pipermail/alsa-devel/2015-January/087228.html

Here probes and plays from headset fine on top of
1c999c47a9f1 Merge tag 'dm-3.19-fixes-3' of
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm

I have above patches and these two:
http://marc.info/?l=devicetree&m=142264840506833&w=2
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=8294/1

Your error code -121, -EREMOTEIO suggests that chip doesn't acknowledge its address on i2c bus when trying to communicate with it. I don't know what can cause it. Could it be some timing or probe ordering issue? I have CONFIG_I2C_OMAP=y and sound drivers including CONFIG_SND_SOC_TPA6130A2 as modules.

Signature · 5 lines
Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html