Danct12 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
<hacker420[m]> Hm
<hacker420[m]> so if I switch lk2nd to qdtbs it works
<hacker420[m]> I don
<hacker420[m]> * I don't remember doing that
<hacker420[m]> Wait
<hacker420[m]> I think I remember what it was
<hacker420[m]> kek
<hacker420[m]> I even left a note for myself
<hacker420[m]> > Needs to be built with the LK2ND_ADTBS=msm8937-motorola-cedric.dtb option when running make, otherwise the bootloader refuses to boot it.
<hacker420[m]> still can't flash lk2nd though
<hacker420[m]> bootloader errors out with failed to load kernel
<hacker420[m]> interestingly I can boot with board id if I use qdtbs
<hacker420[m]> <hacker420[m]> "interestingly I can boot with..." <- but only fastboot boot
<lanik123[m]> <barni2000[m]> "riva is very similar to rolex..." <- You won't be able to get a working USB until you find a charger driver with working otg for your phone
<lanik123[m]> Or you can try to find dummy driver which one can read otg status (like on msm8916)
<barni2000[m]> I only want to enable usbnet
<barni2000[m]> Dwc3 works without it
<lanik123[m]> barni2000[m]: Hm, then it’s enough to enable usb phy in defconfig and add phy driver into dts
<lanik123[m]> But I was able to get a working USB for my rolex only after I got charging driver working
<lanik123[m]> * I was only able to
<barni2000[m]> Good news if we will have graphics support i can work on xiaomi cameras and audio
<barni2000[m]> So here is the motivation
<barni2000[m]> For a reference i have made ucm configuration for many msm8953 xiaomis
<hacker420[m]> I wonder how much audio works right now
<hacker420[m]> given downstream says msm8952-snd-card at least for 8937
<jojo_autoboy[m]> i should check what codec my phone uses
<jojo_autoboy[m]> hmm says it comes from the pm8937
<jojo_autoboy[m]> huh the audio jack and speaker share the same pm audio output
<jojo_autoboy[m]> guess the speaker having it's own codec is a thing done in newer phones
<jojo_autoboy[m]> ofc the speaker has an amp but doesn't even seem to be i2c
<hacker420[m]> jojo_autoboy[m]: yeah I think I have the same setup
<jojo_autoboy[m]> yeah seems like all this would need for audio is the pm codec
<jojo_autoboy[m]> the amp is literally just a single enable gpio
<jojo_autoboy[m]> tho i haven't seen much luck with newer pm codecs functioning
<jojo_autoboy[m]> hopefully it really does share a driver with the 52 n stuff
<hacker420[m]> hm
<hacker420[m]> what gpio was it for you
<hacker420[m]> as in lable
<hacker420[m]> * as in label
<jojo_autoboy[m]> AUDIO_PA_EN on gpio 124
<jojo_autoboy[m]> didn't check downstream kernel yet
<jojo_autoboy[m]> just going off of schems here
<hacker420[m]> hmm
<hacker420[m]> I see this
<hacker420[m]> > VDD_SR_LPAUDIO_PLL
<barni2000[m]> <hacker420[m]> "I wonder how much audio works..." <- it should be very similar for msm8916 afaik
<jojo_autoboy[m]> hmm
<hacker420[m]> hmmm