chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-rockchip
kaspter has quit [Ping timeout: 268 seconds]
kaspter has joined #linux-rockchip
alpernebbi has joined #linux-rockchip
field^Mop has joined #linux-rockchip
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
chewitt_ has joined #linux-rockchip
chewitt has quit [Ping timeout: 268 seconds]
field^Mop has quit [Ping timeout: 265 seconds]
adjtm_ has quit [Quit: Leaving]
warpme_ has joined #linux-rockchip
chewitt_ is now known as chewitt
jelly is now known as alot
alot is now known as jelly
shailangsa has quit [Ping timeout: 265 seconds]
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #linux-rockchip
einthecorgi2 has joined #linux-rockchip
<einthecorgi2>
Ive been having a couple issues with GPIO, specifically when used to acquire a threaded IRQ. I am looking at this patch set -> https://patchwork.kernel.org/project/linux-rockchip/list/?series=454377. But it seems the gpio drivers for rk3399 are not existant. However there are drivers for rockchip-pinctrl. Has it been this way for a while? The GPIO work fine from user space.
<robmur01>
The GPIO driver has historically been part of the pinctrl driver - those patches are just splitting it out.
<einthecorgi2>
ah okay, so then this could potentially explain my interrupt issues (before patch applied).
camus has joined #linux-rockchip
vstehle has quit [Quit: WeeChat 3.0]
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
vstehle has joined #linux-rockchip
<einthecorgi2>
I am in 5.11 now and a couple chunks from the patches get rejected, time to do it manually.
shailangsa has joined #linux-rockchip
adjtm has joined #linux-rockchip
mriesch has quit [Quit: mriesch]
<mmind00>
einthecorgi2: for rk3399 and before that series should not bring any functional changes
<mmind00>
einthecorgi2: and from past experience irqs (including threaded irqs) worked fine ... so you may want to provide a bit more context for your issue ;-)
mriesch has joined #linux-rockchip
<einthecorgi2>
Yeeha ive never had problems with threaded IRQs in the past. I think it is related to the irq parent in the device tree being improperly defined. As for some more context I am setting up a chain of MCP251x devices that have a single GPIO interrupt. Right now the driver fails to acquire the irq. The interesting part is that it says the irq is just 0.
<robmur01>
Yeah, no sign of IRQF_SHARED there, so having multiple things on the same interrupt line will be the fundamental issue.
<robmur01>
the driver may need some modifications to properly support IRQ sharing (in general; I've not looked at that one in particular)
<robmur01>
just blindly whacking the flag in might sometimes work, but other times might break subtle assumptions about stuff like mutual exclusion and lead to hard-to-debug misbehaviour
<robmur01>
...although the IRQ also being invalid in the first place does smack of a DT problem
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
tucanae47 has quit [Read error: Connection reset by peer]
dianders has quit [Ping timeout: 258 seconds]
tucanae47 has joined #linux-rockchip
unrelentingtech has quit [Ping timeout: 258 seconds]
dianders has joined #linux-rockchip
unrelentingtech has joined #linux-rockchip
alpernebbi has quit [Quit: alpernebbi]
kaspter has quit [Ping timeout: 252 seconds]
kaspter has joined #linux-rockchip
<einthecorgi2>
Okay interrupts are sorted. Now i am working with the rkisp in mainline. I had some previous problems which got sorted out and now I am trying to build the video pipline.
<einthecorgi2>
I believe I am setting up the video correctly but land with this `rkisp1 ff920000.isp1: start pipeline failed -67`
<einthecorgi2>
whats a good way to dig deeper into the isp errors? I am going through the driver now.