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
<Danct12[m]> nothing new
<barni2000[m]> is this property required anyway?
<Danct12[m]> probably
<Danct12[m]> well.. yes
<barni2000[m]> ig i cannot add charging for rolex because this means dt split :(
<Danct12[m]> meh just do detection in lk2nd
<barni2000[m]> so battery, cameras, touch, display means infinite variant
<barni2000[m]> i don't think it can be detected in lk2nd atm
<barni2000[m]> lets go without charging and fg 1st and later i will find out something
<Danct12[m]> actually i looked at the code for cw2015
<Danct12[m]> seems like it'll fallback to using the content inside the flash
<barni2000[m]> Danct12[m]: so it can work without the profile
<Danct12[m]> seems like
<Danct12[m]> but if weird battery calibration thing going on then you will need that
<barni2000[m]> tbh this could be a "firmware" for the driver not a property
<barni2000[m]> compatible+reg enough for fg to work :D
<barni2000[m]> adding simple battery with design-micro-amp-hours works much better
funderscore has quit [Read error: Connection reset by peer]
funderscore has joined #msm8937-mainline
<NekoCWD[m]> How to boot generic build via fastboot? Is it possible?
<barni2000[m]> no
<barni2000[m]> there is no boot.img for generic build
<NekoCWD[m]> [Redmi 4(prada) bootloader log](https://pastebin.com/NL7tMZ2U)
<NekoCWD[m]> Redmi 4(prada) tx pin
<NekoCWD[m]> <barni2000[m]> "there is no boot.img for generic..." <- How do you test this?
<NekoCWD[m]> Without fastboot boot
<barni2000[m]> do you started to port it?
<NekoCWD[m]> Just copied land dts
<barni2000[m]> you should enable uart in dt
<barni2000[m]> usb should work
<barni2000[m]> so you can update the kernel
<barni2000[m]> or `cat Image.gz device.dtb > boot`
<barni2000[m]> s/boot/something/
<barni2000[m]> fastboot boot something but use lk2nd fastboot interface because of cpufreq
<NekoCWD[m]> Thanks!
<M0xCAFEBABE[m]> <NekoCWD[m]> "Just copied land dts" <- land&prada are very different... they're designed by different ODM
<M0xCAFEBABE[m]> <NekoCWD[m]> "Redmi 4(prada) tx pin" <- how did you found it btw? do you have schematics?
<NekoCWD[m]> M0xCAFEBABE[m]: Logic analyzer
<barni2000[m]> tbh these devices are very similar
<barni2000[m]> does not matter who made them
<NekoCWD[m]> Hope that atmel ts will work fine with mainline driver 🙏
<NekoCWD[m]> On my huawei tablet ts doesn't work 😿
<barni2000[m]> mostly ts driver needs proper pinctrl
<barni2000[m]> and there are differences between downstream and mainline pinctrl
<NekoCWD[m]> barni2000[m]: The original touchscreen works, but the replacement screen fails to initialize.
<NekoCWD[m]> Huawei tskit driver too complicated for me
<barni2000[m]> yes other issue is aftermarket displays are using fake chips
<NekoCWD[m]> Yea, there are no mark on chip. But it works with downstream driver
<barni2000[m]> strange 2nd device where i set power-supplies cause issue
<barni2000[m]> i have the same issues with bq charger and fg
<NekoCWD[m]> Yey! Prada works
<barni2000[m]> now you need to fix the regulators and remove the unused nodes
<barni2000[m]> i wonder why power-supplies property is not working it should be set for avoid duplicated battery class
<NekoCWD[m]> Xiaomi prada also use 'wcn3660b' instead of 'wcn3620'. I got lucky with that
<barni2000[m]> so prada have 5Ghz wifi
<M0xCAFEBABE[m]> yep
<M0xCAFEBABE[m]> the only msm8937 that supports 5GHz afaik..
<M0xCAFEBABE[m]> not even sdm439 supports it
<M0xCAFEBABE[m]> * only msm8937 device that supports
<NekoCWD[m]> Huawei-agassi on msm8917 also use this chip
<M0xCAFEBABE[m]> * not even any sdm439 device supports it
<barni2000[m]> so we are now know 1 msm8917 and 3 msm8937 device with 5Ghz wifi
<barni2000[m]> motos also have 5GHz wifi
<NekoCWD[m]> but signal quality on huawei kinda awful
<NekoCWD[m]> Yey! Atmel touchscreen works fine
<barni2000[m]> it is even killing the wifi remoteproc
<barni2000[m]> you should send pr for huawei and prada
<NekoCWD[m]> Yea, i will. I need to figure out why ts doesn't work on huawei
<NekoCWD[m]> barni2000
<barni2000[m]> you don't need if you don't want bootloader is setting it
<NekoCWD[m]> How can i disable panel then?
<barni2000[m]> i did not checked yet but ig prada is using pmi9850 so labibb should be set
<barni2000[m]> NekoCWD[m]: dcs commands will do
<barni2000[m]> generated driver can disable the panel
<barni2000[m]> backlight is related to wled or other solutions
<NekoCWD[m]> On huawei it disables, but there are strange flickering after some time in disabled state
<barni2000[m]> it caused by the custom dsi path ig
<barni2000[m]> s/path/pacth/
<NekoCWD[m]> barni2000[m]: And what can i do?
<barni2000[m]> fix DSI bridge properly :D
<barni2000[m]> you have the flag what is not needed
<barni2000[m]> 1 moment
<M0xCAFEBABE[m]> nice
<M0xCAFEBABE[m]> though uhh... barni was asking me about prada kernel bringup stuff too
<M0xCAFEBABE[m]> so... did you two do duplicated stuff?
<NekoCWD[m]> M0xCAFEBABE[m]: Maybe
<barni2000[m]> no i am working on rolex atm
<M0xCAFEBABE[m]> * stuff too, earlier than you
<barni2000[m]> and pine
<NekoCWD[m]> Nice
<NekoCWD[m]> What with charger on it?
<M0xCAFEBABE[m]> * stuff too, earlier than you talked about it
<NekoCWD[m]> `qpnp-smbcharger` compatible
<barni2000[m]> pmi8950_charger
<barni2000[m]> i have not picked the charger/fg commits from msm8953-mainline
<NekoCWD[m]> If I pick them to my branch, will it be difficult to merge it?
<M0xCAFEBABE[m]> * ~~though uhh..., * stuff too, earlier than you talked about it~~ ok sry no, it's my memory messed up
<M0xCAFEBABE[m]> * <del>though uhh..., * stuff too, earlier than you talked about it</del> ok sry no, it's my memory messed up
<M0xCAFEBABE[m]> <NekoCWD[m]> "[My dev branch](https://github...." <- btw here's it if you want a good reference of downstream prada dts
<barni2000[m]> i am planning to cherry-pick them but i wanted to make the branch clean first
<NekoCWD[m]> btw, i can just pick my commits on top of your branch when it will be ready to merge
<barni2000[m]> dtbo devices are so annoying fastboot boot is unuasble because of it wrong boot cause reboot to edl, at least it is working now
<barni2000[m]> there will be some issues with extcon at usb afaik so it should be investigated
<barni2000[m]> idk yet, i was not investigated
<NekoCWD[m]> i've picked only 2 commits for charger and fg
<barni2000[m]> there 8 commits or more
<barni2000[m]> from this 1a0c89e to this 78c3d60
<barni2000[m]> my issue is i will need to do the same rebase at 3 repo everytime 8953, 8956, 89x7
<barni2000[m]> fg has many issue, charger also should be revised a bit
<barni2000[m]> lets wait rolex and montana i will make an upgrade with the current fixes and after we can cherry-pick the charger and fg commit
<barni2000[m]> s/commit/commits/
<NekoCWD[m]> What about soud? Does it work?
<M0xCAFEBABE[m]> (off-topic) NekoCWD u would probably be interested on this xd
<M0xCAFEBABE[m]> s/xd/:3/
<NekoCWD[m]> M0xCAFEBABE[m]: > <@me_cafebabe:matrix.org> (off-topic) NekoCWD u would probably be interested on this :3
<NekoCWD[m]> Hehe, will pick. Thanks 🐱❤️
<M0xCAFEBABE[m]> here's my poorly written lk2nd font generator...
<barni2000[m]> <NekoCWD[m]> "What about soud? Does it work?" <- ig no i did not tried it yet
<barni2000[m]> patches are there so it can