Closed ntonnaett closed 8 months ago
@ntonnaett I think you don't need to overwrite the ft5406_ts
node you can enable both because they are using different i2c id 0x5d
and 0x30
. There are devices with two touchscreen node enabled check msm8953-xiaomi-vince.dts
@ntonnaett I think you don't need to overwrite the
ft5406_ts
node you can enable both because they are using different i2c id0x5d
and0x30
. There are devices with two touchscreen node enabled check msm8953-xiaomi-vince.dts
Added it as a separate node, but I only saw one _ts for vince. Should I do this differently?
The error might be a connection problem with i2c.
@ntonnaett I think you don't need to overwrite the
ft5406_ts
node you can enable both because they are using different i2c id0x5d
and0x30
. There are devices with two touchscreen node enabled check msm8953-xiaomi-vince.dtsAdded it as a separate node, but I only saw one _ts for vince. Should I do this differently?
My fault, but there are i2c nodes at the sensors for same stuff accelerometer bmi120 and lsm6dsl, and it is handling multiple variants of the device, so two node should be fine. They has different i2c address.
The error might be a connection problem with i2c.
Idk
It seems I can't do this, because both use gpio pin-64...
[ 7.790776] msm8953-pinctrl 1000000.pinctrl: pin GPIO_64 already requested by 2-0038; cannot claim for 2-005d
[ 7.790786] msm8953-pinctrl 1000000.pinctrl: pin-64 (2-005d) status -22
[ 7.790791] msm8953-pinctrl 1000000.pinctrl: could not request pin 64 (GPIO_64) from group gpio64 on device 1000000.pinctrl
[ 7.790795] Goodix-TS 2-005d: Error applying setting, reverse things back
IIRC you can set a gpio flag to allow it to be shared between multiple nodes
Indeed https://elixir.bootlin.com/linux/latest/source/include/linux/interrupt.h#L71
I think IRQF_PROBE_SHARED
is more appropriate though.
Be aware that this depends on the lk2nd patch. We should merge this PR afterwards.
@ntonnaett Are you going to send the driver change to upstream?
Eventually I wanted to send this to upstream. But as this depends on the lk2nd patch, I thought I should wait until that one is merged.
Eventually I wanted to send this to upstream. But as this depends on the lk2nd patch, I thought I should wait until that one is merged.
I mean changes in goodix.c not chnages in the dts.
But as this depends on the lk2nd patch, I thought I should wait until that one is merged.
It seems to be merged now? Any updates?
Xiaomi mido also have the gt917d touchscreen , maybe should be fixed together !
Xiaomi mido also have the gt917d touchscreen , maybe should be fixed together !
are you sure?
Yep, mine mido's touchpanel can't word on kernel 6.5.3, then I took my phone apart and saw this.
Which panel do you have?
This is my mido.
I can add support for it but first we need to find out is it related to panel or there is and ebbg panel which comes with focaltech, eg.: markw could use different touch for same display panel.
My machine is original and has not been disassembled, but there is someone in our community who has the same model of screen, and his touch is available. It looks like there is a mix between the touch-IC and the screen panel.
My machine is original and has not been disassembled, but there is someone in our community who has the same model of screen, and his touch is available. It looks like there is a mix between the touch-IC and the screen panel.
than the only solution at the moment split the device tree or implement i2c probing in lk2nd, or i can add the touch screen node as disabled in dts and you need to enable manually.
okey, I'll try it. is that means *mido*.dtb
for gt917d and others will be different? Like a special *mido_gt917d*.dtb
?
okey, I'll try it. is that means
*mido*.dtb
for gt917d and others will be different? Like a special*mido_gt917d*.dtb
?
spliting dt means like this, yes.
Add gt917d node there as enabled and change the ft5406 to disabled? https://github.com/msm8953-mainline/linux/blob/7d22f7199f12f02452dc7929ed3e4c96b2d36f5a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-mido.dts#L121
Depends on https://github.com/msm8953-mainline/lk2nd/pull/57 for enabling the correct touchscreen according to the display.
Fixes #33