ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
CrashTestDummy3 has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 256 seconds]
milkylainen has quit [Quit: Ping timeout (120 seconds)]
Nact has quit [Quit: Konversation terminated!]
gpiccoli has quit [Quit: Quit...]
gpiccoli has joined #armlinux
sha has quit [Read error: Connection reset by peer]
psydroid has quit [Write error: Connection reset by peer]
shoragan[m] has quit [Write error: Connection reset by peer]
mvaittin has quit [Remote host closed the connection]
psydroid has joined #armlinux
mvaittin has joined #armlinux
shoragan[m] has joined #armlinux
sha has joined #armlinux
shoragan[m] has quit [Quit: node-irc says goodbye]
psydroid has quit [Quit: node-irc says goodbye]
mvaittin has quit [Quit: node-irc says goodbye]
sha has quit [Quit: node-irc says goodbye]
hsinyi has joined #armlinux
CrashTestDummy2 has joined #armlinux
CrashTestDummy3 has quit [Ping timeout: 265 seconds]
CrashTestDummy3 has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 265 seconds]
<Xogium>
a bit OT here but, how do I list what i2c devices I have ?
<Xogium>
I have tried i2cdetect -l but it doesn't print anything
<Xogium>
I'm on stm32mp157c
<Xogium>
I know there is i2c hardware, the pmic being one
elastic_dog has quit [Ping timeout: 256 seconds]
elastic_dog has joined #armlinux
milkylainen has joined #armlinux
<mkl>
Xogium: i2c cannot properly autoprobe like PCI, so it relies on the device tree or ACPI declaring them. The kernel's view of the i2c devices is available in /sys/bus/i2c/devices
<Xogium>
hmm
<Xogium>
so i2cdetect would work for platform with no use of dt ?
<Xogium>
but alright then, hmm. I'm trying to setup sound card on this board and I am having quite a bit of trouble
<Xogium>
vendor dt set i2c address to 0x1a
<Xogium>
should I do the same ?
<Xogium>
I just wanted to probe at it, see if there was really something over there
<Xogium>
this is a wm8960 chip, connected to the stm32mp157c via DAI and i2s format
<Xogium>
but I don't know if I did it wrong or not given I'm more or less porting this to mainline
<Xogium>
to be specific I have not a clue if my dt works ok and it is the driver in kernel that would need some patching
<Xogium>
so I'm kind of trying things blindly
audgirka has joined #armlinux
matthias_bgg has joined #armlinux
<mkl>
i2cdetect _tries_ to detect if there are any chips....it usually works
<mkl>
but the kernel will load probe the drivers based on the DT description
<mkl>
so if the vendor DT declares the chip at 0x1a (and it's working) you should do the same
<Xogium>
hmm right so
<Xogium>
this isn't why it doesn't work then
<Xogium>
there's a bunch of errors when it tries to initialize audio-graph-card
<Xogium>
I will try to pastebin them
<Xogium>
could take me a bit since I'm kinda multitasking atm :p
<mkl>
i have no clue about sound devices on linux :)
<Xogium>
also what are the chances that I screwed up the pins name and etc since it is vendor vs mainline ?
<Xogium>
could the vendor have somehow patched it so the i2c address became 0x1a ?
CrashTestDummy2 has joined #armlinux
<geertu>
Xogium: "i2cdetect -l" lists the bussses, not the devices on the busses
<geertu>
Try "i2cdetect -y 0" (or 1, 2, depending on the bus you want to probe)
CrashTestDummy3 has quit [Ping timeout: 252 seconds]
<Xogium>
hrm makes sense. Thanks :)
<Xogium>
well I just don't know what to think anymore
sszy has joined #armlinux
psydroid has joined #armlinux
hsinyi has quit [Remote host closed the connection]
hsinyi has joined #armlinux
mvaittin has joined #armlinux
shoragan[m] has joined #armlinux
sha has joined #armlinux
hsinyi has quit [Ping timeout: 268 seconds]
shoragan[m] has quit [Quit: Client limit exceeded: 20000]
psydroid has quit [Quit: Client limit exceeded: 20000]
mvaittin has quit [Quit: Client limit exceeded: 20000]
sha has quit [Quit: Client limit exceeded: 20000]
hsinyi has joined #armlinux
psydroid has joined #armlinux
wwilly_ has quit [Remote host closed the connection]
mvaittin has joined #armlinux
shoragan[m] has joined #armlinux
sha has joined #armlinux
audgirka has quit [Ping timeout: 240 seconds]
psydroid has quit [Quit: Client limit exceeded: 20000]
Crassus has joined #armlinux
mvaittin has quit [Quit: Client limit exceeded: 20000]
sha has quit [Quit: Client limit exceeded: 20000]
eduardas has joined #armlinux
shoragan[m] has quit [Write error: Connection reset by peer]
psydroid has joined #armlinux
mvaittin has joined #armlinux
shoragan[m] has joined #armlinux
sha has joined #armlinux
mvaittin has quit [Remote host closed the connection]
shoragan[m] has quit [Read error: Connection reset by peer]
psydroid has quit [Read error: Connection reset by peer]
sha has quit [Remote host closed the connection]
CrashTestDummy3 has joined #armlinux
bps has joined #armlinux
bps has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 258 seconds]
Pali has joined #armlinux
psydroid has joined #armlinux
mvaittin has joined #armlinux
shoragan[m] has joined #armlinux
sha has joined #armlinux
wwilly has joined #armlinux
sszy has quit [Ping timeout: 240 seconds]
audgirka has joined #armlinux
bps has quit [Read error: Connection reset by peer]
bps has joined #armlinux
bps has joined #armlinux
bps has quit [Changing host]
wwilly_ has joined #armlinux
bps2 has joined #armlinux
wwilly has quit [Ping timeout: 272 seconds]
bps has quit [Ping timeout: 258 seconds]
hsinyi has quit [Ping timeout: 258 seconds]
bps3 has joined #armlinux
bps2 has quit [Ping timeout: 265 seconds]
wwilly_ has quit [Ping timeout: 252 seconds]
bps2 has joined #armlinux
bps3 has quit [Read error: Connection reset by peer]
bps3 has joined #armlinux
bps2 has quit [Ping timeout: 240 seconds]
bps2 has joined #armlinux
bps3 has quit [Ping timeout: 272 seconds]
bps3 has joined #armlinux
bps2 has quit [Ping timeout: 265 seconds]
tlwoerner has quit [Remote host closed the connection]
tlwoerner has joined #armlinux
bps2 has joined #armlinux
bps3 has quit [Read error: Connection reset by peer]
alpernebbi has joined #armlinux
bps3 has joined #armlinux
bps2 has quit [Ping timeout: 252 seconds]
<broonie>
Xogium: 0x1a or 0x1b will be most likely right for a Wolfson device.
<broonie>
So it's possible the vendor was just cut'n'pasting from some other board and didn't test properly when doing DT conversion.
<broonie>
Wait no, mkl has it the wrong way round there - or at least we have a surprising number of boards upstream which think wm8960 works at 0x1a.
<broonie>
But anyway, if the driver is getting as far as trying to init the audio-graph-card the I2C device successfully probed and should have done some I/O.
audgirka has quit [Quit: Leaving]
matthias_bgg has quit [Quit: Leaving]
nsaenz has quit [Remote host closed the connection]
luispm has quit [Remote host closed the connection]
eduardas has quit [Quit: Konversation terminated!]
Nact has joined #armlinux
bps3 has quit [Ping timeout: 268 seconds]
headless has joined #armlinux
Crassus has quit [Ping timeout: 268 seconds]
bps3 has joined #armlinux
bps3 has quit [Remote host closed the connection]
headless has quit [Quit: Konversation terminated!]
headless has joined #armlinux
bps has joined #armlinux
bps has joined #armlinux
alpernebbi has quit [Quit: alpernebbi]
headless has quit [Quit: Konversation terminated!]
arnd has quit [Read error: Connection reset by peer]
broonie has quit [Read error: Connection reset by peer]