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)
<aceridus> i2c_hid_of is trying to bind but complains about vdd regulators and Int IRQ: https://imgur.com/a/wmXoGoN dts: https://dpaste.com/6WDW4GZRA
<jenneron[m]> yeah you need to bind an interrupt
<jenneron[m]> aceridus: ^
<jenneron[m]> also, add a node in &tlmm to configure this pin as pull-up
<jenneron[m]> aceridus: like this https://dpaste.com/2NHXUVY7E
<aceridus> I thought I did define an interrupt with "interrupt = <&tlmm 320 IRQ_TYPE_LEVEL_LOW>;" is the problem that it needs to be interrupt-extended type or that I didn't have the gpio pin defined under &tlmm? Or both?
<aceridus> pinctrl is saying invalid group "gpio320". dmesg: https://imgur.com/a/DkzbdCA dts: https://dpaste.com/853NQG4ES
<aceridus> I am only guessing here, but it looks like interrupt pin 320 might be under &apps_smmu instead?
<jenneron[m]> I'm not sure, this pin may be called differently
<jenneron[m]> but yes, you probably want interrupt-extended
<jenneron[m]> actually 320 seems to big
<jenneron[m]> maybe dsdt has some offset
<aceridus> I was wonder about that value too because I see &tlmm { gpio-ranges = <&tlmm 0 0 120> }
falk689 has quit [Remote host closed the connection]
falk689 has joined #aarch64-laptops
<jenneron[m]> yeah it can't be 320
<jenneron[m]> this is keyboard code in dsdt https://dpaste.com/37J7BJXNH
<jenneron[m]> maybe wait for travmurav, he should know better
alpernebbi has quit [Ping timeout: 481 seconds]
alpernebbi has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
aceridus has quit [Quit: Page closed]
SSJ_GZ has joined #aarch64-laptops
djakov has quit [Remote host closed the connection]
djakov has joined #aarch64-laptops
<kettenis> the acpi stuff uses some weird mapping for some of the gpio pins
<kettenis> I have some suspicion this happens for wakeup-capable pins
<jenneron[m]> interesting
<jenneron[m]> then try 32 instead of 320
<kettenis> so 320 (0x140) seems to be really pin 32
solsTiCe has joined #aarch64-laptops
Penguinpee has quit [Quit: is calling it a day]
Penguinpee has joined #aarch64-laptops
aceridus has joined #aarch64-laptops
clay53 has joined #aarch64-laptops
SSJ_GZ has quit [Ping timeout: 480 seconds]
alpernebbi has quit [Ping timeout: 480 seconds]
alpernebbi has joined #aarch64-laptops
matthias_bgg has quit [Quit: Leaving]
SSJ_GZ has joined #aarch64-laptops
alpernebbi has quit [Ping timeout: 480 seconds]
clay53 has quit [Ping timeout: 480 seconds]
alpernebbi has joined #aarch64-laptops
jhovold has quit [Ping timeout: 480 seconds]
aceridus has quit [Quit: Page closed]
clay53 has joined #aarch64-laptops
clay53 has quit [Ping timeout: 480 seconds]
clay53 has joined #aarch64-laptops
clay53 has quit []
aceridus_ has joined #aarch64-laptops
aceridus_ has left #aarch64-laptops [#aarch64-laptops]
aceridus has joined #aarch64-laptops
iivanov has quit [Quit: Leaving...]
<aceridus> jenneron[m]: kettenis: Just tried it with gpio 32: https://dpaste.com/EZATS2DUH Still no keyboard. Anything in particular I can extract from /proc or /sys to figure out why?
<kettenis> what made you add those "drive-strength" and "bias-pull-up" properties?
<kettenis> hmm, I guess acpi indeed say "PullUp", so that may indeed be right
<kettenis> but "drive-strength" doesn't make sense for an input pin I thnk
<aceridus> kettenis: I am very novice when it comes to understanding DT and how it describes hardware. I have largely been following the lead of folks in here, just doing most of the build iteration and info gathering work. I am learning quite a lot, so there is some hope I will eventually understand how to make correct DT entries on my own :)
<aceridus> kettenis: I am seeing on dmesg "geni_i2c a84000.i2c: Bus frequency not specified, default to 100kHz." Is that a potential problem? Does the keyboard behind i2c7 need a higher frequency to work correctly?
<aceridus> All of the gpio pin definitions are inside of pinmux {} type blocks, don't know what that means, maybe my definition needs to be the same way?
<kettenis> dunno; I don't do Linux
<aceridus> Still no keyboard with the 'drive-strength' property commented.
solsTiCe has quit [Ping timeout: 480 seconds]
solsTiCe has joined #aarch64-laptops
<kettenis> aceridus: does anything about hid-over-i2c show up?
solsTiCe1 has joined #aarch64-laptops
solsTiCe has quit [Ping timeout: 480 seconds]
solsTiCe1 is now known as solsTiCe
solsTiCe has quit [Quit: The Lounge - https://thelounge.chat]
SSJ_GZ has quit [Ping timeout: 480 seconds]
<jenneron[m]> aceridus: this is right, just checked, acpi i2c7 is &i2c6 node in dts