stikonas has quit [Remote host closed the connection]
vstehle has quit [Ping timeout: 265 seconds]
j45 has left #linux-rockchip [#linux-rockchip]
maze-BUG1 has joined #linux-rockchip
maze-BUG has quit [Ping timeout: 246 seconds]
maze-BUG1 is now known as maze-BUG
kevery has quit [Read error: Connection reset by peer]
kevery1 has joined #linux-rockchip
kevery1 is now known as kevery
azend_ has joined #linux-rockchip
azend has quit [Ping timeout: 256 seconds]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 258 seconds]
camus1 is now known as kaspter
robmur01 has joined #linux-rockchip
robmur01 has quit [Ping timeout: 256 seconds]
vstehle has joined #linux-rockchip
lerc has joined #linux-rockchip
elektirnis has quit [Ping timeout: 264 seconds]
elektirnis has joined #linux-rockchip
mias has joined #linux-rockchip
nlhowell has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
warpme_ has joined #linux-rockchip
vicencb has joined #linux-rockchip
jaganteki has joined #linux-rockchip
jaganteki has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
robmur01 has joined #linux-rockchip
field^Mop has joined #linux-rockchip
lkcl_ has quit [Ping timeout: 240 seconds]
lkcl_ has joined #linux-rockchip
vstehle has quit [Ping timeout: 265 seconds]
nomis has quit [Ping timeout: 265 seconds]
nomis has joined #linux-rockchip
vstehle has joined #linux-rockchip
ldevulder__ has joined #linux-rockchip
field^Mop has quit [Ping timeout: 260 seconds]
ldevulder_ has quit [Ping timeout: 265 seconds]
ldevulder has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder__ has quit [Ping timeout: 264 seconds]
ldevulder has quit [Ping timeout: 264 seconds]
ldevulder_ is now known as ldevulder
robmur01_ has joined #linux-rockchip
eballetbo6 has joined #linux-rockchip
mani_s_ has joined #linux-rockchip
ayaka_ has joined #linux-rockchip
ckeepax2 has joined #linux-rockchip
DuClare_ has joined #linux-rockchip
hessophanes_ has joined #linux-rockchip
mraynal has quit [Ping timeout: 246 seconds]
DuClare has quit [Ping timeout: 246 seconds]
eballetbo has quit [Ping timeout: 246 seconds]
hessophanes has quit [Ping timeout: 246 seconds]
lerc has quit [Ping timeout: 246 seconds]
matthias_bgg has quit [Ping timeout: 246 seconds]
mani_s has quit [Ping timeout: 246 seconds]
rperier has quit [Ping timeout: 246 seconds]
jelly has quit [Ping timeout: 246 seconds]
eballetbo6 is now known as eballetbo
leah2 has quit [Ping timeout: 264 seconds]
ckeepax1 has quit [Ping timeout: 264 seconds]
cyrozap has quit [Ping timeout: 264 seconds]
robmur01 has quit [Ping timeout: 264 seconds]
ayaka has quit [Ping timeout: 264 seconds]
indy has quit [Ping timeout: 264 seconds]
ayaka_ is now known as ayaka
mraynal has joined #linux-rockchip
robmur01_ is now known as robmur01
matthias_bgg has joined #linux-rockchip
leah2_ has joined #linux-rockchip
indy_ has joined #linux-rockchip
jelly-home has joined #linux-rockchip
leah2_ is now known as leah2
JohnDoe_71Rus has joined #linux-rockchip
Kelsar has joined #linux-rockchip
j45 has joined #linux-rockchip
rperier has joined #linux-rockchip
<
DuClare_>
Argh chip select madness..
<
DuClare_>
Is a device suppsed to call spi_setup() if it's already been configured via dts?
<
DuClare_>
I ran into a stupid thing with spi-gpio
<
DuClare_>
I have my chip selects active_low, as usual
<
DuClare_>
Apparently spi.c thinks it's appropriate to set SPI_CS_HIGH flag because we have gpiods and gpiolib is supposed to do the inversion for us
<
DuClare_>
And there seems to be some logic that relies on such double inversion..
<
DuClare_>
All good, so my spi device is setup with cs_high
<
DuClare_>
.. then the device's driver sets mode and calls spi_setup() again
<
DuClare_>
Setting mode means we just lost the cs_high flag
<
DuClare_>
So now the double inversion logic is broken because gpiolib will invert
<
DuClare_>
But spi.c does not invert
<
DuClare_>
End result: chip select always works as if it were active_high
<
DuClare_>
There's a comment in spi.c/spi_add_device "Drivers may modify this initial i/o setup, but will normally rely on the device being set up."
mniip has quit [Remote host closed the connection]
armoon has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
stikonas_ has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas_ has quit [Remote host closed the connection]
vicencb has quit [Quit: Leaving.]
stikonas has joined #linux-rockchip
vicencb has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
stikonas has quit [Client Quit]
stikonas has joined #linux-rockchip
armoon has quit [Ping timeout: 245 seconds]
mniip has joined #linux-rockchip
robmur01 has quit [Ping timeout: 258 seconds]
stikonas has quit [Quit: Konversation terminated!]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
stikonas has quit [Client Quit]
stikonas has joined #linux-rockchip
stikonas has quit [Quit: Konversation terminated!]
stikonas has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
nlhowell has quit [Ping timeout: 256 seconds]
nlhowell has joined #linux-rockchip
robmur01 has joined #linux-rockchip
gavlee has joined #linux-rockchip
robmur01 has quit [Ping timeout: 256 seconds]
field^Mop has joined #linux-rockchip
field^Mop has quit [Ping timeout: 265 seconds]
stikonas has quit [Quit: Konversation terminated!]
stikonas has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 272 seconds]
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
robmur01 has joined #linux-rockchip
robmur01 has quit [Ping timeout: 265 seconds]
warpme_ has quit [Quit: Connection closed for inactivity]
ojn has quit [Ping timeout: 272 seconds]
narmstrong has quit [Ping timeout: 272 seconds]
qa5 has quit [Ping timeout: 252 seconds]
anarsoul|c has quit [Ping timeout: 272 seconds]
arnd has quit [Ping timeout: 260 seconds]
arnd has joined #linux-rockchip
daniels has quit [Ping timeout: 272 seconds]
ojn has joined #linux-rockchip
anarsoul|c has joined #linux-rockchip
narmstrong has joined #linux-rockchip
daniels has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
stikonas_ has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas_ has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
stikonas_ has joined #linux-rockchip
stikonas_ has quit [Client Quit]
stikonas_ has joined #linux-rockchip
stikonas_ has quit [Remote host closed the connection]
stikonas_ has joined #linux-rockchip
mias has quit [Ping timeout: 256 seconds]
stikonas has quit [Remote host closed the connection]
stikonas_ has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
adjtm has quit [Remote host closed the connection]
adjtm has joined #linux-rockchip