ChanServ changed the topic of #msm8937-mainline to: Boot Linux on your MSM8917/37/40 and QM215 mobile! | GitHub: https://github.com/msm89x7-mainline | Logs: https://oftc.irclog.whitequark.org/msm8937-mainline | Bridged to #msm8937-mainline:kde.org on Matrix
<NekoCWD[m]> Camera now work on prada
<ValPackett[m]> https://social.treehouse.systems/@valpackett/113949449139144511 can has focus! (the camera apps don't use it yet tho lol)
<barni2000[m]> Awesome, I am waiting for the PRs
<barni2000[m]> <NekoCWD[m]> "https://mastodon.social/@NekoCWD..."; <- So, you have made 8937-camss ?
<barni2000[m]> <ValPackett[m]> "https://social.treehouse.systems..." <- Calibration can be dumped from dng what was made on Android afaik
<barni2000[m]> Are you in megapixels chat?
<NekoCWD[m]> <barni2000[m]> "So, you have made 8937-camss ?" <- Justset compatible to 8917-camss
<NekoCWD[m]> > <@barni2000:matrix.org> So, you have made 8937-camss ?
<NekoCWD[m]> * Just set compatible to 8917-camss
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #msm8937-mainline
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #msm8937-mainline
<barni2000[m]> Oh, ok then I wall make a 8937 config
<barni2000[m]> Frequencies are different
<NekoCWD[m]> <barni2000[m]> "Frequencies are different..." <- Front cam works fine, but rear doesn't appear on i2c bus
<NekoCWD[m]> All voltages/mclks fine, any suggestions?
<barni2000[m]> I should check your dt and downstream
<NekoCWD[m]> That's decompiled dt form prada downstream, i've enabled mclk0 as fixed reg, and set l17 l22 l23 as always-enabled
<NekoCWD[m]> Camera must appear on 0x6c adress, there are 3 devices at 0x0c, 0x50, 0x58 (must be actuator and something else, mclk0 doesn't affect any of this devices)
<NekoCWD[m]> wow oneplus 6 now got working camera, 2025 will be year of cameras i think
<barni2000[m]> Pinctrl is missing from the cci node
<barni2000[m]> I mean mclk0
<barni2000[m]> You will only see the device in i2cdetect if the regulators and clock are enabled
<barni2000[m]> Pinctrls also should be in default (active) state
<NekoCWD[m]> Didnt help
<barni2000[m]> I will check downstream 1 moment
<barni2000[m]> So l22 l6 l23
<barni2000[m]> And mclk0
<barni2000[m]> They are very sensitive for pinctrl also
<barni2000[m]> And voltage
<NekoCWD[m]> Yes
<barni2000[m]> mclk pinctrl is not enough
<barni2000[m]> You should use fixed-clock
<barni2000[m]> Maybe comp pin also important
fish4terrisa[m] has joined #msm8937-mainline
<fish4terrisa[m]> I saw msm8917 is said supported by the msm89x7-mainline/linux repo, but seems that pmos is not using it. So is it bootable and functional for msm8917 devices?(mine is Redmi Note 5a btw, and I saw msm8917 related source code and xiaomi-ugglite dts in the repo)
<barni2000[m]> <fish4terrisa[m]> "I saw msm8917 is said supported..." <- pmos using it and it ugglite is supported
<barni2000[m]> choose qcom msm89x7 at pmbootstrap init
<barni2000[m]> s/it//
<ValPackett[m]> <barni2000[m]> "Are you in megapixels chat?" <- nope, will join sure
<ValPackett[m]> <NekoCWD[m]> "That's decompiled dt form..." <- with mclk as fixed and touching the reset gpio from the command line is how i found my rear camera's i2c address
<ValPackett[m]> <NekoCWD[m]> "Justset compatible to 8917-camss" <- huh? i never had to do that, it was already set or something
<ValPackett[m]> https://github.com/msm89x7-mainline/linux/pull/13/files just okay'ing &camss that's it (only touched 8917.dtsi to add the common mclk pinctrls like i saw them on 8953)
<barni2000[m]> my vfe fix is just a hack
<ValPackett[m]> well, why does the null pointer happen there then :/
<barni2000[m]> wrong pm domain handling but i don't understand completely
<barni2000[m]> remove link is called twice sometimes
<barni2000[m]> s5k3p8sp commit also can be useful if any devices uses it
<barni2000[m]> nvm it should be fixed a little