ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
<bamse> i've rewritten the dp stuff completely...
<bamse> some of it had made it upstream and got some new stuff on the list
<bamse> in particular there's still no agreement of how the tcpm should invoke the hpd interrupt on the dp driver...but it's being looked at
<qzed> okay, I'll need to start with making things not crash first though...
<qzed> last time I had the dispcc enabled things got weird, panel flickering and going dark, machine unresponsive to ssh
<bamse> seems consistent with an SError
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
Lucanis0 has quit [Ping timeout: 480 seconds]
jhovold has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
matthias_bgg has joined #aarch64-laptops
jelly has quit [Read error: Connection reset by peer]
jelly has joined #aarch64-laptops
skybrews has joined #aarch64-laptops
aguslr has joined #aarch64-laptops
aguslr has quit [Remote host closed the connection]
skybrews has quit [Ping timeout: 480 seconds]
<qzed> bamse: SError?
iivanov__ has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
iivanov__ has quit [Ping timeout: 480 seconds]
matthias_bgg has quit [Ping timeout: 480 seconds]
Lucanis has joined #aarch64-laptops
matthias_bgg has joined #aarch64-laptops
<HdkR> https://www.engadget.com/acers-chromebook-spin-714-specs-price-availability-134551833.html?src=rss Not necessarily a laptop, but a tablet+ChromeOS+keyboard case. Another 7cG2 device.
<robclark> hmm, I think that is quackingstick?
skybrews has joined #aarch64-laptops
skybrews has quit []
<bamse> qzed: the typical outcome when you do things such as touch unclocked registers
<qzed> ah, I guess that makes sense
<qzed> bamse: I'm struggling a bit with the backlight definition
<qzed> specifically the PWM control
<qzed> when I try to add the LPG controller it fails probing with -22
<qzed> qcom-spmi-lpg c440000.spmi:pmic@5:lpg: failed to add PWM chip: ret -22
<qzed> and I'm not sure if that's actually used to drive the backlight pwm signal
<qzed> there's some xml config in acpi with
<qzed> <BacklightPmicControlType>3</BacklightPmicControlType>
<qzed> according to some older doc I found, that is neither WLED nor LPG
<bamse> qzed: did you enable CONFIG_PWM?
<qzed> huh, no... I guess that's it
<qzed> thanks
<bamse> qzed: jhovold posted a fix to depend on that, because without it we'll just fail to register the pwm_chip and bail from probe
<qzed> yeah, I just went through the xmenu config and enabled all dependencies... didn't think to look for PWM specifically
<qzed> also just checked for the XML config thing in the Flex DSDT, same control type 3
<qzed> so I guess if it works there it should work on the pro x as well
<bamse> that xml is such a wonderful creation
<qzed> uhm are the pins and pingroup names offset by one in the pinctrl-spmi-gpio driver?
<qzed> group names start with gpio1
<qzed> do I reference that pin with <&pmc8180e_gpios 0 ...> or <&pmc8180e_gpios 1 ...> now?
<qzed> bamse: so according to https://elixir.bootlin.com/linux/latest/source/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c#L1053 pin with index 0 in the kernel has number 0 but group gpio1
<qzed> so I need to reference with <&pmc8180e_gpios 0 ...> but configure with pins = "gpio1"?
<qzed> or am I missing something?
<bamse> i think we fixed that for you...
<qzed> ah
<qzed> thanks!
<qzed> ah, now I see it's also used in pmic_gpio_of_xlate
<bamse> ahh, so i got the wrong line for you after all
<bamse> yeah, but you're right...the of_xlate has the same offset
<bamse> qzed: we started off without that, and it was a complete mess :)
<qzed> I can imagine, was quite a bit confused just now
<bamse> that's just because you expected that it wouldn't be user friendly
<qzed> yeah xD
<qzed> neat, backlight control actually works!
<qzed> thanks for your help, yet again!
<bamse> nice!
<bamse> qzed: i'll take some time to get the sc8180x.dtsi on the list, and am looking forward to see some patches from you :)
<qzed> nice! I'll probably need to clean up my DT a bit before sending parts in
<bamse> no worries, i'm glad to see the progress
<bamse> and that i managed to land what i think was the last dependency
<bamse> i haven't checked though if georgi picked up the interconnect fixes, so perhaps that will show up in 5.20 instead
<bamse> but at least we should be able to run the primus & lenovo machine off mainline/linux-next shortly, with just a dt added
<bamse> and there are discussions related to usb/dp and the battery power-supply driver
<qzed> awesome!
<qzed> guess I should start sending in the refactoring changes I made to the surface specific stuff to make DT/of integration easier (also to enable Pro 8 HID support)... currently sitting in our kernel for testing
<qzed> the fun thing is that DT/OF integration for the Surface Aggregator isn't actually that much, it's more refactoring that module loading on platforms with ACPI works well
<qzed> we already use firmware nodes to describe devices that aren't described in ACPI (because MS decided to enumerate them in some other for some reason)
<qzed> *platforms without ACPI
<bamse> interesting, but that sounds promising
jhovold has quit [Ping timeout: 480 seconds]
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
matthias_bgg has quit [Ping timeout: 480 seconds]
matthias_bgg has joined #aarch64-laptops