01:19
Daanct12 has joined #linux-msm
03:37
marvin24_ has joined #linux-msm
03:40
marvin24 has quit [Ping timeout: 480 seconds]
05:42
jhovold has joined #linux-msm
06:37
Daanct12 has quit [Quit: WeeChat 4.2.2]
07:12
ungeskriptet is now known as Guest4474
07:12
ungeskriptet has joined #linux-msm
07:16
Guest4474 has quit [Ping timeout: 480 seconds]
07:37
mripard_ has joined #linux-msm
07:42
mripard has quit [Ping timeout: 480 seconds]
08:00
mripard has joined #linux-msm
08:03
mripard_ has quit [Ping timeout: 480 seconds]
09:56
<
bryanodonoghue >
calebccff how are you stuck
09:56
<
bryanodonoghue >
op6 is sdm845 right ?
09:56
<
bryanodonoghue >
I have an rb3 with the camera mezzanine I could conceivably put onto cdba
09:57
<
bryanodonoghue >
we need to get a) camnoc b) cphy working in camss
09:57
<
bryanodonoghue >
cphy I had a little look and I believe is 99% init sequence
09:57
<
bryanodonoghue >
but also some if/else in the driver
09:57
<
bryanodonoghue >
so if its a cphy you're trying to bring up and you've only done the init seq
09:58
<
bryanodonoghue >
I'd say the gap is in the PHY driver itself lacking the 2-3 if/else we require
11:23
<
bryanodonoghue >
op6 must have 2 more sensors ?
11:24
<
calebccff >
bryanodonoghue: i also took register dumps from downstream and confirmed that the CSIPHY registers match
11:25
<
bryanodonoghue >
why not try for the dphy first ?
11:26
<
bryanodonoghue >
csiphy_settle_cnt_calc() will need to be updated for cphy
11:26
<
bryanodonoghue >
I don't believe we can retrieve bits on the wire with the algorithm in that function in cphy mode
11:27
<
calebccff >
i hardcoded the settle count based on downstream values
11:27
<
bryanodonoghue >
setttle time is different
11:27
<
calebccff >
d-phy first is probably the right move
11:28
<
bryanodonoghue >
off the top of my head I don't recall the details but for whatever reason this stands out in my mind
11:28
<
bryanodonoghue >
recommend
13:54
pespin has joined #linux-msm
14:27
mripard has quit [Remote host closed the connection]
15:06
<
marc|gonzalez >
thanks robher
15:06
<
marc|gonzalez >
thanks vikash
15:11
enok has quit [Remote host closed the connection]
15:11
enok has joined #linux-msm
17:33
telent has joined #linux-msm
18:03
robertfoss has quit [Ping timeout: 480 seconds]
18:35
<
aka_[m] >
lumag: regarding these patches:
18:35
<
aka_[m] >
CTLs on 8953/8996 based on flats appear to not have BITs describing them in INTR2_EN/STATUS/CLEAR
18:35
<
aka_[m] >
which is probably described in errors thrown by dpu core
18:53
robertfoss has joined #linux-msm
19:43
<
Marijn[m] >
I don't exactly remember if we're supposed to check a different interrupt on "older" HW (this was for MSM8998 fwiw)
19:47
<
aka_[m] >
Marijn: sde code just goes yolo
19:48
<
Marijn[m] >
Hence the || 1 😝
21:07
jhovold has quit [Ping timeout: 480 seconds]
21:20
<
calebccff >
I'm trying to use gpio-keys with interrupts-extended and it doesn't seem to work
21:21
<
calebccff >
the "irq_of_parse_and_map()" call returns 0
21:21
<
calebccff >
instead of the IRQ number
21:22
<
calebccff >
I'm trying to model a camera kill switch, so that when enabled it sends KEY_CAMERA_ACCESS_DISABLE, and when disabled it sends KEY_CAMERA_ACCESS_ENABLE:
https://p.calebs.dev/909f6a@raw
21:23
<
calebccff >
but i just get "Found button without gpio or irq" in dmesg
21:31
<
z3ntu >
calebccff: Last time I checked the core irq code just tries either interrupts + interrupt-parent or interrupts-extended so they should be pretty much the same?
21:31
<
z3ntu >
maybe two keys can't use the same tlmm pin as irq?
21:34
<
calebccff >
z3ntu: i tried disabling the second one but no change, the only way it works is if I add interrupt-parent = <&tlmm>;
21:34
<
calebccff >
also gpio-keys sets IRQF_SHARED so that should be fine
21:36
<
z3ntu >
but there's also nothing bad about using interrupt-parent+interrupts instead of interrupts-extended
21:36
<
calebccff >
z3ntu: well I think the DT folks have a strong preference for interrupts-extended
21:45
<
konradybcio >
I think interrupt-parent makes sense for interrupt providers that are downstream of e.g. gic
21:46
<
konradybcio >
Similar to wakeup-parent
21:50
<
calebccff >
z3ntu: konradybcio: seems to be because I had IRQ_TYPE_EDGE_FALLING, works with rising, im guessing I need compatible pincfg?
21:50
<
calebccff >
i guess there's some weird niche behaviour difference between -extended and using interrupt-parent
21:52
<
calebccff >
hmm so the second entry is failing with "irq: type mismatch, failed to map hwirq-68 for pinctrl@f100000!"
21:52
<
calebccff >
is it really not possible to have devices register handles for falling and rising separately?
21:55
<
calebccff >
I'll just try with GPIO active low/high instead of interrupts
21:56
<
calebccff >
oh right -_- error -EBUSY: failed to get gpio
21:56
<
calebccff >
ARGH why can't this just work
22:10
<
konradybcio >
So do you want to watch the rising edge with one handler and falling with another?
22:23
<
calebccff >
konradybcio: yeah for "CAMERA_ACCESS_ENABLE/DISABLE" heh
22:23
<
calebccff >
i guess what i don't want is to have to try and add new stuff to input-event-codes.h
22:23
<
calebccff >
but im not seeing a good way arond that
22:23
<
calebccff >
these are switches, so using EV_KEY is probably wrong
22:24
<
calebccff >
there's SW_CAMERA_LENS_COVER which I assume achieves the same purpose but it was named based on what it is not what it does so
22:24
<
calebccff >
no SW_MIC_MUTE :(
22:24
<
konradybcio >
There must be one for mic too, there's a supported thinkpad ec mic key
23:01
<
calebccff >
konradybcio: yeah it's EV_KEY_MICUTE
23:01
<
calebccff >
MICMUTE*
23:13
<
konradybcio >
Xiaomi Mi Cute